Title | Under | Posted on |
---|---|---|
Component interface Error: no rows exist for the specified keys | PeopleSoft Technical | 03/15/2019 - 3:54am |
ADD 24 months starting from current month.(peoplesoft) | PeopleSoft Functional | 07/29/2018 - 8:44pm |
TRC values dropdown | PeopleSoft Technical | 04/04/2018 - 12:54am |
how to find missing sequence in GRID and print the mising sequence number while saving through peoplecode | PeopleSoft Technical | 09/11/2017 - 4:49am |
You can use GetNextNumber() function.
Syntax : GetNextNumber(record.fieldname,max_range);
e.g. : GetNextNumber(Emp_detail.emp_id,99999);
But it's better to get the maxium value of that particular field and increment it by +1. You can write code in page activate.
Regards
Ashish Rawat
It would be better to set up auto numbering for that particular field.
SEtup>Common definition>Codes and Auto Numbering.
Now call the delivered function and assign the auto generated number to your field.
Regards,
Rahul