MGCLatticeInventOwnershipJournalPostRequestContract
Data contract for posting a consignment inventory ownership change journal (postOwnershipChangeJournal): vendor-owned stock that becomes the legal entity's own.
Methods
construct
Creates a new instance of the MGCLatticeInventOwnershipJournalPostRequestContract class.
- Visibility:
public - Returns:
MGCLatticeInventOwnershipJournalPostRequestContractA new MGCLatticeInventOwnershipJournalPostRequestContract 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. |
parmJournalNameId
Gets or sets the ownership change journal name. Optional: when empty, the ownership change journal name of the inventory parameters is used.
- Visibility:
public - Returns:
InventJournalNameIdThe JournalNameId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_journalNameId | InventJournalNameId | Yes | The JournalNameId value. |
parmDescription
Gets or sets the journal description. Optional: when empty, the journal name's description is used.
- Visibility:
public - Returns:
DescriptionThe Description value.
| Name | Type | Optional | Description |
|---|---|---|---|
_description | Description | Yes | The Description value. |
parmPostingDate
Gets or sets the date of the ownership change; the purchase orders the posting creates are received on it. Optional: today.
- Visibility:
public - Returns:
TransDateThe PostingDate value.
| Name | Type | Optional | Description |
|---|---|---|---|
_postingDate | TransDate | Yes | The PostingDate value. |
parmLines
Gets or sets the vendor-owned quantities whose ownership changes. Never null: an empty list until lines are added.
- Visibility:
public - Returns:
ListThe lines.
| Name | Type | Optional | Description |
|---|---|---|---|
_lines | List | Yes | The MGCLatticeInventOwnershipJournalLineContract lines. |
parmExternalSystem
Gets or sets the external system whose keys the lines' external key members hold.
- Visibility:
public - Returns:
MGCLatticeExternalSystemIdThe ExternalSystem value.
| Name | Type | Optional | Description |
|---|---|---|---|
_externalSystem | MGCLatticeExternalSystemId | Yes | The ExternalSystem 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 PreviewUnsupported before anything runs.
- Visibility:
public - Returns:
booleanThe current preview flag.
| Name | Type | Optional | Description |
|---|---|---|---|
_previewMode | boolean | Yes | The preview flag to set. |