MGCLatticeAsyncOperationRequestContract
Data contract wrapping a service operation request for asynchronous/queued execution via the D365 batch framework.
Methods
new
Initializes a new instance of the MGCLatticeAsyncOperationRequestContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeAsyncOperationRequestContract class.
- Visibility:
public - Returns:
MGCLatticeAsyncOperationRequestContractA new MGCLatticeAsyncOperationRequestContract 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 submission's request identifier (required). It is the idempotency key of the submission: a repeated submission with the same RequestId returns the first submission's tracking id. The posting itself is deduplicated by the RequestId inside the payload.
- Visibility:
public - Returns:
GuidThe RequestId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_requestId | Guid | Yes | The RequestId value. |
parmLegalEntityId
Gets or sets the legal entity (company) recorded on the tracking row; the session company when empty.
- Visibility:
public - Returns:
DataAreaIdThe LegalEntityId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_legalEntityId | DataAreaId | Yes | The LegalEntityId value. |
parmUserContext
Gets or sets the caller's informational user context (optional). The operation runs with the rights of the authenticated submitter, never of this value.
- Visibility:
public - Returns:
UserIdThe UserContext value.
| Name | Type | Optional | Description |
|---|---|---|---|
_userContext | UserId | Yes | The UserContext value. |
parmServiceName
Gets or sets the target service class name (e.g., 'MGCLatticeFixedAssetService').
- Visibility:
public - Returns:
strThe ServiceName value.
| Name | Type | Optional | Description |
|---|---|---|---|
_serviceName | str | Yes | The ServiceName value. |
parmOperationName
Gets or sets the target operation method name (e.g., 'runDepreciationProposal').
- Visibility:
public - Returns:
strThe OperationName value.
| Name | Type | Optional | Description |
|---|---|---|---|
_operationName | str | Yes | The OperationName value. |
parmRequestPayload
Gets or sets the JSON-serialized original request contract for deferred execution.
- Visibility:
public - Returns:
strThe RequestPayload value.
| Name | Type | Optional | Description |
|---|---|---|---|
_requestPayload | str | Yes | The RequestPayload value. |