Skip to main content

MGCLatticeFreeTextInvoicePostRequestContract

Data contract for free text invoice posting requests containing InvoiceAccount, CurrencyCode, PostingDate, DueDate, and invoice lines.

Methods​

new​

Initializes a new instance of the MGCLatticeFreeTextInvoicePostRequestContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticeFreeTextInvoicePostRequestContract class.

  • Visibility: public
  • Returns: MGCLatticeFreeTextInvoicePostRequestContract A new MGCLatticeFreeTextInvoicePostRequestContract instance.

No parameters.

parmCorrelationId​

Gets or sets the correlation identifier for tracing the request across systems.

  • Visibility: public
  • Returns: Guid The CorrelationId value.
NameTypeOptionalDescription
_correlationIdGuidYesThe CorrelationId value.

parmRequestId​

Gets or sets the unique request identifier for idempotency.

  • Visibility: public
  • Returns: Guid The RequestId value.
NameTypeOptionalDescription
_requestIdGuidYesThe RequestId value.

parmLegalEntityId​

Gets or sets the legal entity (company) in which to execute the operation.

  • Visibility: public
  • Returns: DataAreaId The LegalEntityId value.
NameTypeOptionalDescription
_legalEntityIdDataAreaIdYesThe LegalEntityId value.

parmUserContext​

Gets or sets the user context under which the operation executes.

  • Visibility: public
  • Returns: UserId The UserContext value.
NameTypeOptionalDescription
_userContextUserIdYesThe UserContext value.

parmInvoiceAccount​

Gets or sets the customer account number for the invoice.

  • Visibility: public
  • Returns: CustAccount The InvoiceAccount value.
NameTypeOptionalDescription
_invoiceAccountCustAccountYesThe InvoiceAccount value.

parmCurrencyCode​

Gets or sets the currency code for the transaction.

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

parmPostingDate​

Gets or sets the posting date for the journal entry.

  • Visibility: public
  • Returns: TransDate The PostingDate value.
NameTypeOptionalDescription
_postingDateTransDateYesThe PostingDate value.

parmDueDate​

Gets or sets the payment due date.

  • Visibility: public
  • Returns: TransDate The DueDate value.
NameTypeOptionalDescription
_dueDateTransDateYesThe DueDate value.

parmLines​

Gets or sets the collection of line-level details for the operation.

  • Visibility: public
  • Returns: List The collection of line items.
NameTypeOptionalDescription
_linesListYesThe collection of line items.

parmExternalSystem​

Gets or sets the external system whose keys the request's external key members hold.

  • Visibility: public
  • Returns: MGCLatticeExternalSystemId The ExternalSystem value.
NameTypeOptionalDescription
_externalSystemMGCLatticeExternalSystemIdYesThe ExternalSystem value.

parmInvoiceAccountExternalKey​

Gets or sets the external system's key of the customer to invoice, in place of InvoiceAccount.

  • Visibility: public
  • Returns: MGCLatticeExternalKey The InvoiceAccountExternalKey value.
NameTypeOptionalDescription
_invoiceAccountExternalKeyMGCLatticeExternalKeyYesThe InvoiceAccountExternalKey value.

parmPreviewMode​

Gets or sets whether the request runs in preview mode. This operation does not implement a preview: a request with PreviewMode set to true is refused with PreviewUnsupported before anything is created or posted.

  • Visibility: public
  • Returns: boolean The current preview flag.
NameTypeOptionalDescription
_previewModebooleanYesThe preview flag to set.