ReceiptInvoiceCode Property

Code of the netFORUM Invoice business object used to process this transaction. In the database this may map to an invoice code, an order code, or neither (depending how the transaction was processed).

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
[NetForumFieldAttribute("inv_code")]
public string InvoiceCode { get; }

Property Value

String

Implements

IReceiptInvoiceCode

Remarks

NetFORUM uses a derived version of the "Invoice" business object to process purchases, but that instance is not guaranteed to be saved in the database at the end of the transaction. Examples: If netFORUM is configured to generate orders rather than invoices for shippable products, then an order with *only* shippable products will generate an Order record, but no Invoice record (initially) and thus, this field will map to an order code. If a transaction only involves making a payment against other, pre-existing open Invoices, then this particular instance of Invoice will never be saved to the database, since all of the "purchased" items are already associated with other invoices and thus, this field will not map to any database record at all.

See Also