Hi,
My requirement is to calculate other fields based on 1 field in peoplecode action in ae program.if i run the program i'm unable to get calculated values.
Below is my code in peoplecode action.
Local number &SAL, &HR, &TA, &TOT;
&SAL = EXO_AEPC_AET.BANK_SAL;
If &SAL > 10000 Then
&HR = 1000 * 0.3;
&TA = 1000 * 0.5;
&TOT = &HR + &TA+&SAL;
Else
&HR = 100;
&TA = 200;
&TOT = 300;
End-If;
EXO_AEPC_AET.BANK_HRA = &HR;
EXO_AEPC_AET.BANK_TA = &TA;
EXO_AEPC_AET.BANK_TOT = &TOT;
| Title | Under | Posted on |
|---|---|---|
| MD5 - SHA checksum of a file. | PeopleSoft Technical | 02/07/2012 - 5:29am |
| nVision Tabular Report through PIA with prompts | PeopleSoft Technical | 02/02/2012 - 10:07pm |
| Can we create an AE to mass update Position - Jobcode data? | PeopleSoft Technical | 01/18/2012 - 3:11am |
| Pay Components on job data can be defaulted and setup based on the rules? | PeopleSoft Functional | 01/05/2012 - 4:58am |
your code looks fine. What are you doing with the values after this action? Are you saving them into a table? writing them to a file? How do you know you are not getting any values?
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog
Exactly,
Unless and untill you update the respective coloumns, values wont be get inserted like it used to insert when we use simple peoplecode.
Post new comment