MGCLatticeVendorInvoiceJournalLineContract
Data contract representing a vendor invoice journal line with VendAccount, InvoiceId, amounts, dates, and offset main account.
Methods
new
Initializes a new instance of the MGCLatticeVendorInvoiceJournalLineContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeVendorInvoiceJournalLineContract class.
- Visibility:
public - Returns:
MGCLatticeVendorInvoiceJournalLineContractA new MGCLatticeVendorInvoiceJournalLineContract instance.
No parameters.
parmApproverPersonnelNumber
Gets or sets the personnel number of the worker who approves the line ("Approved by"). An invoice register journal cannot post a line without one; when omitted the service falls back to the worker mapped to the calling user.
- Visibility:
public - Returns:
HcmPersonnelNumberIdThe approver's personnel number.
| Name | Type | Optional | Description |
|---|---|---|---|
_approverPersonnelNumber | HcmPersonnelNumberId | Yes | The approver's personnel number. |
parmVendAccount
Gets or sets the vendor account number.
- Visibility:
public - Returns:
VendAccountThe VendAccount value.
| Name | Type | Optional | Description |
|---|---|---|---|
_vendAccount | VendAccount | Yes | The VendAccount value. |
parmInvoiceId
Gets or sets the vendor invoice number.
- Visibility:
public - Returns:
InvoiceIdThe InvoiceId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_invoiceId | InvoiceId | Yes | The InvoiceId value. |
parmAmountCurDebit
Gets or sets the debit amount in the transaction currency.
- Visibility:
public - Returns:
realThe AmountCurDebit value.
| Name | Type | Optional | Description |
|---|---|---|---|
_amountCurDebit | real | Yes | The AmountCurDebit value. |
parmAmountCurCredit
Gets or sets the credit amount in the transaction currency.
- Visibility:
public - Returns:
realThe AmountCurCredit value.
| Name | Type | Optional | Description |
|---|---|---|---|
_amountCurCredit | real | Yes | The AmountCurCredit value. |
parmCurrencyCode
Gets or sets the currency code for the transaction.
- Visibility:
public - Returns:
CurrencyCodeThe CurrencyCode value.
| Name | Type | Optional | Description |
|---|---|---|---|
_currencyCode | CurrencyCode | Yes | The CurrencyCode value. |
parmDescription
Gets or sets the descriptive text for the journal or transaction.
- Visibility:
public - Returns:
strThe Description value.
| Name | Type | Optional | Description |
|---|---|---|---|
_description | str | Yes | The Description value. |
parmTransDate
Gets or sets the transaction date for the journal line.
- Visibility:
public - Returns:
TransDateThe TransDate value.
| Name | Type | Optional | Description |
|---|---|---|---|
_transDate | TransDate | Yes | The TransDate value. |
parmInvoiceDate
Gets or sets the invoice date.
- Visibility:
public - Returns:
TransDateThe InvoiceDate value.
| Name | Type | Optional | Description |
|---|---|---|---|
_invoiceDate | TransDate | Yes | The InvoiceDate value. |
parmDueDate
Gets or sets the payment due date.
- Visibility:
public - Returns:
TransDateThe DueDate value.
| Name | Type | Optional | Description |
|---|---|---|---|
_dueDate | TransDate | Yes | The DueDate value. |
parmOffsetMainAccountId
Gets or sets the offset main account. On an invoice journal or invoice register line it is the line's offset; empty takes the default (an invoice register uses the posting profile's pending-invoice account). On an approval line it is the expense account the registered invoice is approved to (required).
- Visibility:
public - Returns:
MainAccountNumThe OffsetMainAccountId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_offsetMainAccountId | MainAccountNum | Yes | The OffsetMainAccountId value. |
parmVendAccountExternalKey
Gets or sets the external system's key of the vendor, in place of VendAccount; it uses the request's ExternalSystem.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe VendAccountExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_vendAccountExternalKey | MGCLatticeExternalKey | Yes | The VendAccountExternalKey value. |