Skip to main content

MGCLatticeTradeAgreementJournalPostingRequestContract

Data contract for posting a trade agreement journal (sales or purchase prices and discounts) that already exists in the legal entity: the journal and the standard header fields.

Methods​

new​

Initializes a new instance of the MGCLatticeTradeAgreementJournalPostingRequestContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticeTradeAgreementJournalPostingRequestContract class.

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

parmJournalNum​

Gets or sets the trade agreement journal to post (the journal number). Required.

  • Visibility: public
  • Returns: PriceDiscJournalNum The JournalNum value.
NameTypeOptionalDescription
_journalNumPriceDiscJournalNumYesThe JournalNum value.

parmPreviewMode​

Gets or sets whether the request runs in preview mode. The operation has 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.