Avectra.netForum.Components.AC.InvoiceDetail
Features
An Invoice Detail belongs to an Invoice. It can also belong to the InvoiceDetails collection (implemented by FacadeDetails) of an Invoice Facade Object.
Data Objects
- Invoice Detail - ivd, the main invoice detail
 - Invoice Detail Term - trm, the associated term row in ac_invoice_detail_term.
 - Invoice - inv
 - Price - prc
 - Product - prd
 - Sold to Customer - cs2 co_customer, based on ivd_cst_key, if empty then use inv_cst_billing_key.
 - Ship to Customer - cst co_customer, based on ivd_cst_ship_key.
 - Shipping Address - cxa, based on ivd_cxa_key
 - Additional Invoice Detail - ivd, added into the AdditionalInvoiceDetails collection of the InvoiceDetail. This collection is a InvoiceDetails class. Based on ivd_ivd_key.
 - Package Component - pkg
 - Bundle Component - bup
 - Product Type - ptp, based on ivd_prc_prd_ptp_key
 - Discount Product X Product - dxp
 - Billing Address - cx2, based on co_customer_x_address
 
Properties
See FacadeDetails for Event Handlers.
Collections
- AdditionalInvoiceDetails (InvoiceDetails) - contains an Invoice Detail based on ivd_ivd_key.
 
- InvoiceDetailAdditionals (InvoiceDetailAdditionals which is a FacadeDetails collection) - a collection that contains tax and shipping invoice details. It is populated by the
 - DiscountProducts - a FacadeDetails collection.