Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 1162

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 1162

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 726

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 727

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 728

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 729
Calculate the sum for a grid field with out using row count but using Component Variables. | CompShack.com

You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Calculate the sum for a grid field with out using row count but using Component Variables.

5 replies [Last post]
ashok_star2004's picture
User offline. Last seen 1 year 24 weeks ago. Offline
Joined: 02/13/2009
Posts: 45

Hi All!!Can any one tell me how can we write a people code to Calculate the sum for a grid field with out using row count but using Component Variables.

Guest's picture
Guest (not verified)
Re: Calculate the sum for a grid field with out using row ...

Component number &Amount;

&Amount = &Amount + SOA_REIMB_DETL.AMOUNT;
Record.Field.Value = &Amount;

Write the code at rowinit of record of the field.

Lepa's picture
User offline. Last seen 2 years 49 weeks ago. Offline
Joined: 06/23/2008
Posts: 591
Re: Calculate the sum for a grid field with out using row ...

You can also look at the code behind the voucher component. The page adds the distribution lines amount that are on a grid and compare that to the voucher line amount. It might be a good example!

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

Ashok's picture
Ashok (not verified)
Re: Thank u very much!!

Thank u very much!!

Guest's picture
Guest
Re: Calculate the sum for a grid field with out using row ...

i want calculator code in peoplesoft ,please let me know is availble in calculator code .

Guest's picture
Guest
Re: Calculate the sum for a grid field with out using row ...

its not working