Dear Experts,
we are using the customised sales invoices, but i am unable to show the GST rate percentage in my invoice, please help me to resolve it.
My code is below, i have attached the screenshot.
//GST Begin
i := 1;
GSTComponent.RESET;
GSTComponent.SETRANGE("GST Jurisdiction Type","GST Jurisdiction Type");
IF GSTComponent.FINDSET THEN
REPEAT
i+=1;
txtChType[i] := GSTComponent.Code;
DetailedGSTLedgerEntry.RESET;
DetailedGSTLedgerEntry.SETCURRENTKEY("Transaction Type","Document Type","Document No.","Document Line No.");
DetailedGSTLedgerEntry.SETRANGE("Transaction Type",DetailedGSTLedgerEntry."Transaction Type"::Sales);
DetailedGSTLedgerEntry.SETRANGE("Document No.","Document No.");
DetailedGSTLedgerEntry.SETRANGE("Document Line No.","Line No.");
DetailedGSTLedgerEntry.SETRANGE("GST Component Code",txtChType[i]);
IF DetailedGSTLedgerEntry.FINDSET THEN BEGIN
REPEAT
txtChValue[i] += DetailedGSTLedgerEntry."GST Amount";
UNTIL DetailedGSTLedgerEntry.NEXT = 0;
i += 1;
END;
UNTIL GSTComponent.NEXT = 0;
//GST End
*This post is locked for comments