MGCLatticeFreeTextInvoiceLineContract
Data contract representing a free text invoice line with main account, amount, quantity, unit price, and tax group details.
Methods
new
Initializes a new instance of the MGCLatticeFreeTextInvoiceLineContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeFreeTextInvoiceLineContract class.
- Visibility:
public - Returns:
MGCLatticeFreeTextInvoiceLineContractA new MGCLatticeFreeTextInvoiceLineContract instance.
No parameters.
parmDescription
Gets or sets the descriptive text for the journal or transaction.
- Visibility:
public - Returns:
DescriptionThe Description value.
| Name | Type | Optional | Description |
|---|---|---|---|
_description | Description | Yes | The Description value. |
parmMainAccountId
Gets or sets the main ledger account identifier.
- Visibility:
public - Returns:
strThe MainAccountId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_mainAccountId | str | Yes | The MainAccountId value. |
parmAmountCur
Gets or sets the line amount in the invoice currency. When 0 it is Quantity x UnitPrice; when both AmountCur and UnitPrice are sent, AmountCur must equal Quantity x UnitPrice. One of the two is required.
- Visibility:
public - Returns:
AmountCurThe AmountCur value.
| Name | Type | Optional | Description |
|---|---|---|---|
_amountCur | AmountCur | Yes | The AmountCur value. |
parmQuantity
Gets or sets the quantity of the invoice line; 0 means 1.
- Visibility:
public - Returns:
QtyThe Quantity value.
| Name | Type | Optional | Description |
|---|---|---|---|
_quantity | Qty | Yes | The Quantity value. |
parmUnitPrice
Gets or sets the unit price of the invoice line. When 0 it is AmountCur / Quantity.
- Visibility:
public - Returns:
InvoiceUnitPriceThe UnitPrice value.
| Name | Type | Optional | Description |
|---|---|---|---|
_unitPrice | InvoiceUnitPrice | Yes | The UnitPrice value. |
parmSalesTaxGroup
Gets or sets the sales tax group for tax calculation.
- Visibility:
public - Returns:
TaxGroupThe SalesTaxGroup value.
| Name | Type | Optional | Description |
|---|---|---|---|
_salesTaxGroup | TaxGroup | Yes | The SalesTaxGroup value. |
parmItemSalesTaxGroup
Gets or sets the item sales tax group for tax calculation.
- Visibility:
public - Returns:
TaxItemGroupThe ItemSalesTaxGroup value.
| Name | Type | Optional | Description |
|---|---|---|---|
_itemSalesTaxGroup | TaxItemGroup | Yes | The ItemSalesTaxGroup value. |