Skip to main content

MGCLatticePurchaseReturnShipRequestContract

Data contract for purchase return order shipment requests containing PurchaseOrderId, the return shipment (product receipt) number PackingSlipId, and PostingDate.

Methods​

new​

Initializes a new instance of the MGCLatticePurchaseReturnShipRequestContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticePurchaseReturnShipRequestContract class.

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

parmPurchaseOrderId​

Gets or sets the purchase order identifier for the return operation.

  • Visibility: public
  • Returns: PurchId The PurchaseOrderId value.
NameTypeOptionalDescription
_purchaseOrderIdPurchIdYesThe PurchaseOrderId value.

parmPostingDate​

Gets or sets the posting date for the journal entry.

  • Visibility: public
  • Returns: TransDate The PostingDate value.
NameTypeOptionalDescription
_postingDateTransDateYesThe PostingDate value.

parmPackingSlipId​

Gets or sets the return shipment (product receipt) number; required.

  • Visibility: public
  • Returns: PackingSlipId The PackingSlipId value.
NameTypeOptionalDescription
_packingSlipIdPackingSlipIdYesThe PackingSlipId 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.

parmPurchaseOrderIdExternalKey​

Gets or sets the external system's key of the purchase return (a purchase order key), in place of PurchaseOrderId.

  • Visibility: public
  • Returns: MGCLatticeExternalKey The PurchaseOrderIdExternalKey value.
NameTypeOptionalDescription
_purchaseOrderIdExternalKeyMGCLatticeExternalKeyYesThe PurchaseOrderIdExternalKey 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 the error code PreviewUnsupported and nothing is created or posted.

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