Work is not ready to upgrade to the new version yet, so for now we are still using 2015.3.
For Cash Sales, I count the number of items using
Code: Select all
{Count(DataBand1, Rpt_SalesRegisterDetails.AmountDue == 0 ? 1 : 0)}
For Charge Sales, I count the "non-cash" items
Code: Select all
{Count(DataBand1, Rpt_SalesRegisterDetails.AmountDue != 0 ? 1 : 0)}
Currently, all of our transactions are Cash Sales, so there should be 0 showing for Charge Sales.
Did I write the code correctly?

- getgreenshot_org.jpg (14.16 KiB) Viewed 1909 times