MGCLatticeCreatePurchaseReturnRequestContract
Data contract for creating a purchase return order (PurchaseType::ReturnItem): the vendor, the vendor's RMA number (F&O does not save a return order without one), an optional return reason, and the return lines.
Methods
new
Initializes a new instance of the MGCLatticeCreatePurchaseReturnRequestContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeCreatePurchaseReturnRequestContract class.
- Visibility:
public - Returns:
MGCLatticeCreatePurchaseReturnRequestContractA new MGCLatticeCreatePurchaseReturnRequestContract instance.
No parameters.
parmCorrelationId
Gets or sets the correlation identifier for tracing the request across systems.
- Visibility:
public - Returns:
Guid
| Name | Type | Optional | Description |
|---|---|---|---|
_correlationId | Guid | Yes |
parmRequestId
Gets or sets the unique request identifier for idempotency.
- Visibility:
public - Returns:
Guid
| Name | Type | Optional | Description |
|---|---|---|---|
_requestId | Guid | Yes |
parmLegalEntityId
Gets or sets the legal entity (company) in which to create the return order.
- Visibility:
public - Returns:
DataAreaId
| Name | Type | Optional | Description |
|---|---|---|---|
_legalEntityId | DataAreaId | Yes |
parmUserContext
Gets or sets the user context under which the operation executes.
- Visibility:
public - Returns:
UserId
| Name | Type | Optional | Description |
|---|---|---|---|
_userContext | UserId | Yes |
parmVendAccount
Gets or sets the vendor account the goods are returned to.
- Visibility:
public - Returns:
VendAccount
| Name | Type | Optional | Description |
|---|---|---|---|
_vendAccount | VendAccount | Yes |
parmReturnItemNum
Gets or sets the vendor's RMA (return merchandise authorization) number; required.
- Visibility:
public - Returns:
PurchReturnItemNum
| Name | Type | Optional | Description |
|---|---|---|---|
_returnItemNum | PurchReturnItemNum | Yes |
parmReturnReasonCodeId
Gets or sets the optional return reason code of the return order.
- Visibility:
public - Returns:
ReturnReasonCodeId
| Name | Type | Optional | Description |
|---|---|---|---|
_returnReasonCodeId | ReturnReasonCodeId | Yes |
parmLines
Gets or sets the return lines (each an MGCLatticeReturnLineContract).
- Visibility:
public - Returns:
List
| Name | Type | Optional | Description |
|---|---|---|---|
_lines | List | Yes |
parmExternalSystem
Gets or sets the external system whose keys the request's and its lines' external key members hold.
- Visibility:
public - Returns:
MGCLatticeExternalSystemIdThe ExternalSystem value.
| Name | Type | Optional | Description |
|---|---|---|---|
_externalSystem | MGCLatticeExternalSystemId | Yes | The ExternalSystem value. |
parmVendAccountExternalKey
Gets or sets the external system's key of the vendor, in place of VendAccount.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe VendAccountExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_vendAccountExternalKey | MGCLatticeExternalKey | Yes | The VendAccountExternalKey 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. |