Skip to main content

MGCLatticeVendorInvoiceJournalPostRequestContract

Data contract for vendor invoice journal posting requests containing JournalNameId, Description, PostingDate, and invoice lines.

Methods​

new​

Initializes a new instance of the MGCLatticeVendorInvoiceJournalPostRequestContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticeVendorInvoiceJournalPostRequestContract class.

  • Visibility: public
  • Returns: MGCLatticeVendorInvoiceJournalPostRequestContract A new MGCLatticeVendorInvoiceJournalPostRequestContract 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.

parmJournalNameId​

Gets or sets the journal name identifier that determines the journal type and default settings.

  • Visibility: public
  • Returns: LedgerJournalNameId The JournalNameId value.
NameTypeOptionalDescription
_journalNameIdLedgerJournalNameIdYesThe JournalNameId value.

parmDescription​

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

  • Visibility: public
  • Returns: Description The Description value.
NameTypeOptionalDescription
_descriptionDescriptionYesThe Description value.

parmPostingDate​

Gets or sets the posting date for the journal entry.

  • Visibility: public
  • Returns: TransDate The PostingDate value.
NameTypeOptionalDescription
_postingDateTransDateYesThe PostingDate 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 lines' external key members hold.

  • Visibility: public
  • Returns: MGCLatticeExternalSystemId The ExternalSystem value.
NameTypeOptionalDescription
_externalSystemMGCLatticeExternalSystemIdYesThe ExternalSystem 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.