Skip to main content

MGCLatticeInventJournalPostRequestContract

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

Methods​

new​

Initializes a new instance of the MGCLatticeInventJournalPostRequestContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticeInventJournalPostRequestContract class.

  • Visibility: public
  • Returns: MGCLatticeInventJournalPostRequestContract A new MGCLatticeInventJournalPostRequestContract 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: InventJournalNameId The JournalNameId value.
NameTypeOptionalDescription
_journalNameIdInventJournalNameIdYesThe 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 request's external key members hold.

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

parmPreviewMode​

Gets or sets whether the request runs as a preview. This operation has no preview: a request with PreviewMode set is refused with PreviewUnsupported before anything runs.

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