Skip to main content

MGCLatticePurchReqActionRequestContract

Data contract for purchase requisition action requests containing PurchReqId and optional Comment.

Methods​

new​

Initializes a new instance of the MGCLatticePurchReqActionRequestContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticePurchReqActionRequestContract class.

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

parmPurchReqId​

Gets or sets the purchase requisition identifier.

  • Visibility: public
  • Returns: PurchReqId The PurchReqId value.
NameTypeOptionalDescription
_purchReqIdPurchReqIdYesThe PurchReqId value.

parmComment​

Gets or sets the comment or note associated with the request.

  • Visibility: public
  • Returns: str The Comment value.
NameTypeOptionalDescription
_commentstrYesThe Comment value.

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.

parmPurchReqIdExternalKey​

Gets or sets the external system's key of the purchase requisition, in place of PurchReqId.

  • Visibility: public
  • Returns: MGCLatticeExternalKey The PurchReqIdExternalKey value.
NameTypeOptionalDescription
_purchReqIdExternalKeyMGCLatticeExternalKeyYesThe PurchReqIdExternalKey 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.