CSH Query - Product Type/Detail on Invoice
Am I correct in my understanding that the 'Detail on Invoice' flag that one can set for a Product Type is not in fact used by the standard system?
I have checked the invoiceitems.jrxml and its not used there, and if I unset it for one type, then the items are not combined for this type. (I thought that the OPV code might combine the items when it generates the data collection for the sub-report.)
Note that I don't need this facility, I just want to correct the CSH text. [I can see how to use it - eg by using a product type group whose footer displays the total of the items in the group, and suppressing the printing of detail lines when 'Detail on Invoice' is false - however, I am not volunteering to adjust the standard invoiceitems.jrxml to use this facility.]
Regards, Tim G
Re: CSH Query - Product Type/Detail on Invoice
Hi Tim,
The standard supplied template doesn't use this flag or the sort order field as yet. I have some templates that do so can provide if you need a guide on how to use them ?
Cheers Tony
Re: CSH Query - Product Type/Detail on Invoice
Tony - thanks for the offer. However, as I indicated I just wanted to verify the situation so I can adjust the CSH text. I now have the invoice running the way Hong Kong wants it (sorted & grouped by patient/date/product type and with any items with product type='No Charge' suppressed in the invoice [they use this type for S8 drugs used in operations - Hong Kong requires that the usage be reported even through you did not sell the drug]).
Regards, Tim G