Skip to main content

MGCLatticeJournalPostingRequestContract

Data contract for posting an inventory, project or production journal that already exists in the legal entity: the journal and the standard header fields.

Methods​

new​

Initializes a new instance of the MGCLatticeJournalPostingRequestContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticeJournalPostingRequestContract class.

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

parmJournalId​

Gets or sets the journal to post: an inventory journal for postInventoryJournal, a project hour or fee journal for postProjectJournal, a production journal for postProductionJournal. Required.

  • Visibility: public
  • Returns: JournalId The JournalId value.
NameTypeOptionalDescription
_journalIdJournalIdYesThe JournalId value.

parmPreviewMode​

Gets or sets whether the request runs in preview mode. The operations have no preview: a request with PreviewMode set to true is refused with PreviewUnsupported before anything is read or posted.

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