-
a GST Software that do not require you to have much GST Knowledge!
Support Center > Knowledge base> Article: Debtor Statement not to show 0.00 transaction

Debtor Statement not to show 0.00 transaction

Article ID: 52355 Email Print
Question
Some times users will save 0.00 in sales invoice. When preview Debtor Statement these doc is shown. How to set those amount = 0.00 transactions not to show in Debtor Statement report?

Answer

1. in debtor statement report designer - go to calc tab - SubReport1:StmDetail - Detail - Before Print

2. keyin the coding as below :

if (StmDetail['FDEBIT']= 0 ) and (StmDetail['FCREDIT']= 0)

then

begin

dbtext1.visible := false;

dbtext2.visible := false;

dbtext3.visible := false;

dbtext6.visible := false;

dbtext7.visible := false;

dbtext8.visible := false;

end

else

Begin

dbtext1.visible := true;

dbtext2.visible := true;

dbtext3.visible := true;

dbtext6.visible := true;

dbtext7.visible := true;

dbtext8.visible := true;

end;

 


related articles

Article Details
Views: 1699 Created on: Aug 06, 2014
Date updated: Aug 06, 2014
Posted in: Delphi

Poor Outstanding