amrit_shirodkar
9th September 2008, 07:12
Hello everyone,

I have Parts multi- occurrence session on which I maintain a total fields line. So, if I have 2 parts with part 1 having amount 12.00 and part 2 15.00 then the total field line displays 27.

I apply the standard Baan filter on some condition on this session and I get only part 2 on the multi-occurrence. But on the total fields I get 27.00, the sum of both the parts. On the total fields I want 15.00 only.

Can anyone please tell me how to achieve this ? I want this urgently.

Thanks in advance.

mark_h
15th September 2008, 15:56
I am not sure if this is possible, but would be interested if someone has any idea on how to accomplish this.

NPRao
15th September 2008, 21:30
I have Parts multi- occurrence session on which I maintain a total fields line.
Did you program the summing logic yourself?
Are you using - display.total.fields() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_form_and_form_field_operations_display_total_fields) the tools function should do it automatically.

If you want to do it yourself, you have to get every record on the screen using actual.occ/filled.occ and then sum based on your logic.
Can anyone please tell me how to achieve this ? I want this urgently.
Please do not enforce your customer deadlines on the forum where volunteers contribute from their busy work schedules.