>> Fastbase Business Software Ltd

Fastbase Accounting System - Online Manual

Credit Note - Print Details from Original invoice

Document 103347/1

Entered Fri, 30 May 2003 15:11 by Peter Campbell
Updated Fri, 30 May 2003 15:14
Previous


When printing a credit note you can find the original invoice then print any fields on the credit note, eg: the original customer order number or operator etc.

variable original_invoice
sql::find original_invoice "COMPANY_ID = '$login::company_id'
and MODULE = 'AR'
and TYPE = 'ARSLS'
and REF = '$header(ORIGINAL_REF)'" tran


See the stationery layout help menu option for details about the fields in the tran() array, refer to the same fields but use the original_invoice() array.

eg: original_invoice(ORDER_NO) = the customers order number.


Online documentation: enter keywords to search for: