Report 16539 - Sales Book VAT

Stivan_dsouza21Stivan_dsouza21 Member Posts: 218
Report 16539 - Sales Book VAT

Not able to group as per Document No.

1) Set up the DataItem Property for Detailed Tax Entry 0f GroupTotalFields as Tax Type,Document No.
2) written the below code on Detailed Tax Entry group Footer

Detailed Tax Entry, GroupFooter (6) - OnPreSection()
IF PrintToExcel THEN BEGIN
IF CurrReport.TOTALSCAUSEDBY = FIELDNO("Detailed Tax Entry"."Document No.") THEN
MakeDataExcelForGrpFooter
ELSE IF CurrReport.TOTALSCAUSEDBY = FIELDNO("Detailed Tax Entry"."Tax Type") THEN
MakeDataExcelFooter;

END;

Its getting Grouped as per Tax Type and Printing the Footer but not able to print as per Document No.

Can Somebody help me.... :-)
Thanks & Regards,
Stivan D'souza

Comments

Sign In or Register to comment.