MGCLatticeSalesReturnReceiveRequestContract
Data contract for sales return order receive requests containing SalesOrderId and PostingDate.
Methods
new
Initializes a new instance of the MGCLatticeSalesReturnReceiveRequestContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeSalesReturnReceiveRequestContract class.
- Visibility:
public - Returns:
MGCLatticeSalesReturnReceiveRequestContractA new MGCLatticeSalesReturnReceiveRequestContract instance.
No parameters.
parmCorrelationId
Gets or sets the correlation identifier for tracing the request across systems.
- Visibility:
public - Returns:
GuidThe CorrelationId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_correlationId | Guid | Yes | The CorrelationId value. |
parmRequestId
Gets or sets the unique request identifier for idempotency.
- Visibility:
public - Returns:
GuidThe RequestId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_requestId | Guid | Yes | The RequestId value. |
parmLegalEntityId
Gets or sets the legal entity (company) in which to execute the operation.
- Visibility:
public - Returns:
DataAreaIdThe LegalEntityId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_legalEntityId | DataAreaId | Yes | The LegalEntityId value. |
parmUserContext
Gets or sets the user context under which the operation executes.
- Visibility:
public - Returns:
UserIdThe UserContext value.
| Name | Type | Optional | Description |
|---|---|---|---|
_userContext | UserId | Yes | The UserContext value. |
parmSalesOrderId
Gets or sets the return order number (a sales order of type Returned order).
- Visibility:
public - Returns:
SalesIdThe SalesOrderId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_salesOrderId | SalesId | Yes | The SalesOrderId value. |
parmPostingDate
Gets or sets the posting date for the journal entry.
- Visibility:
public - Returns:
TransDateThe PostingDate value.
| Name | Type | Optional | Description |
|---|---|---|---|
_postingDate | TransDate | Yes | The PostingDate value. |
parmDispositionCode
Gets or sets the disposition code applied when the return lines are registered (the return order's Registration step, which the receive performs for every line still awaiting arrival). Its disposition action decides what the receipt does: Credit = receive into inventory and credit; CreditOnly = credit without a receipt; Scrap / Replace... as in the standard flow. Lines that already carry a disposition code keep it; lines without one need this value (USMF: 11 = Credit).
- Visibility:
public - Returns:
ReturnDispositionCodeIdThe DispositionCode value.
| Name | Type | Optional | Description |
|---|---|---|---|
_dispositionCode | ReturnDispositionCodeId | Yes | The DispositionCode value. |
parmExternalSystem
Gets or sets the external system whose keys the request's external key members hold.
- Visibility:
public - Returns:
MGCLatticeExternalSystemIdThe ExternalSystem value.
| Name | Type | Optional | Description |
|---|---|---|---|
_externalSystem | MGCLatticeExternalSystemId | Yes | The ExternalSystem value. |
parmSalesOrderIdExternalKey
Gets or sets the external system's key of the return order, in place of SalesOrderId.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe SalesOrderIdExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_salesOrderIdExternalKey | MGCLatticeExternalKey | Yes | The SalesOrderIdExternalKey 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:
booleanThe current preview flag.
| Name | Type | Optional | Description |
|---|---|---|---|
_previewMode | boolean | Yes | The preview flag to set. |