Page tree
Skip to end of metadata
Go to start of metadata

This function is used to return a TInvoice that has all the calculated prices based on discount rules defined in the dkSystem

Example of rules that do apply are

  • special offers
  • TItem discount
  • TCustomer discount
  • Contract prices
  • Quanity based pricing
  • Others....

Parameters

Used to call the function

  1. inv - TInvoice

Returns

Returns the following