Skip to main content

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: MGCLatticeVendorInvoiceJournalLineContract A 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: HcmPersonnelNumberId The approver's personnel number.
NameTypeOptionalDescription
_approverPersonnelNumberHcmPersonnelNumberIdYesThe approver's personnel number.

parmVendAccount​

Gets or sets the vendor account number.

  • Visibility: public
  • Returns: VendAccount The VendAccount value.
NameTypeOptionalDescription
_vendAccountVendAccountYesThe VendAccount value.

parmInvoiceId​

Gets or sets the vendor invoice number.

  • Visibility: public
  • Returns: InvoiceId The InvoiceId value.
NameTypeOptionalDescription
_invoiceIdInvoiceIdYesThe InvoiceId value.

parmAmountCurDebit​

Gets or sets the debit amount in the transaction currency.

  • Visibility: public
  • Returns: real The AmountCurDebit value.
NameTypeOptionalDescription
_amountCurDebitrealYesThe AmountCurDebit value.

parmAmountCurCredit​

Gets or sets the credit amount in the transaction currency.

  • Visibility: public
  • Returns: real The AmountCurCredit value.
NameTypeOptionalDescription
_amountCurCreditrealYesThe AmountCurCredit value.

parmCurrencyCode​

Gets or sets the currency code for the transaction.

  • Visibility: public
  • Returns: CurrencyCode The CurrencyCode value.
NameTypeOptionalDescription
_currencyCodeCurrencyCodeYesThe CurrencyCode value.

parmDescription​

Gets or sets the descriptive text for the journal or transaction.

  • Visibility: public
  • Returns: str The Description value.
NameTypeOptionalDescription
_descriptionstrYesThe Description value.

parmTransDate​

Gets or sets the transaction date for the journal line.

  • Visibility: public
  • Returns: TransDate The TransDate value.
NameTypeOptionalDescription
_transDateTransDateYesThe TransDate value.

parmInvoiceDate​

Gets or sets the invoice date.

  • Visibility: public
  • Returns: TransDate The InvoiceDate value.
NameTypeOptionalDescription
_invoiceDateTransDateYesThe InvoiceDate value.

parmDueDate​

Gets or sets the payment due date.

  • Visibility: public
  • Returns: TransDate The DueDate value.
NameTypeOptionalDescription
_dueDateTransDateYesThe 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: MainAccountNum The OffsetMainAccountId value.
NameTypeOptionalDescription
_offsetMainAccountIdMainAccountNumYesThe 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: MGCLatticeExternalKey The VendAccountExternalKey value.
NameTypeOptionalDescription
_vendAccountExternalKeyMGCLatticeExternalKeyYesThe VendAccountExternalKey value.