gtCustomerPrintDefaults
This function allows customer print defaults to be updated into Greentree Desktop. The Customer Code specified in the function call must already exist in the company. The function call updates into Greentree using the Maintenance > Accounts Receivable > AR Customers Print Defaults menu:
|
All the function detail will be updated, anything left empty will be updated as empty in Greentree Desktop. |
Company
The company code that the customer belongs to.
Code
The Customer's identifying code.
PackingSlipForm
The packing slip form to be printed for the customer.
HotPrintInvForm
The invoice form to be printed for the customer when hotprinted from AR Invoice Entry, Sales Order Entry, or Packing Slip Maintenance.
InvoiceDelivMethod
The delivery method of invoices for the customer when printing invoices. Options are: Print, Email or Fax.
InvRecipient
The fax number or email address that invoices for the customer are to be sent to if the Email or Fax delivery method is selected. If the Print method is selected this should be left blank.
StatDelivMethod
The delivery method of statements for the customer when printing invoices. Options are: Print, Email or Fax.
StatRecipient
The fax number or email address that statements for the customer are to be sent to if the Email or Fax delivery method is selected. If the Print method is selected this should be left blank.
UsePackingSlips
Options are: True or False. Set to True to use sales order packing slips for the customer.
PrintDiscount
Options are: True or False. Set to True if you want discount percentages/values to print on the customer's invoices.
PrintOverdueMsgs
Options are: True or False. Set to True if you want overdue messages to be printed on statements for the customer.
PrintNotes
Options are: True or False. Set to True if you want notes to be printed on invoices for the customer.
PrintZeroOrder
Options are: True or False. This option applies only to the AR invoice with B/O qty - L invoice print form. Where this form is specified, set this option to True to ensure that fully backordered sales order lines which relate to an invoiced line are also printed on any hot-printed invoice for the customer.
Returns
- Not Updated - When no error
- Updated - After Greentree update
- Error message - If error encountered
Errors Returned
- Must have a Company identifier
- Invalid Company identifier
- Must have a Customer code
- Unable to set hotprint invoice form to xxx. Form does not exist
- Delivery method xxx does not exist