MGCLatticeFixedAssetReversalRequestContract
Data contract for reverseAssetTransaction: the fixed asset and book, the voucher of the transaction to reverse (and its date when the voucher has several), the reversal date and the financial reason.
Methods
new
Initializes a new instance of the MGCLatticeFixedAssetReversalRequestContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeFixedAssetReversalRequestContract class.
- Visibility:
public - Returns:
MGCLatticeFixedAssetReversalRequestContractA new MGCLatticeFixedAssetReversalRequestContract 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. |
parmPreviewMode
Gets or sets whether the request runs in preview mode. This operation does not implement a preview: a request with PreviewMode set to true is refused with PreviewUnsupported before anything is reversed.
- Visibility:
public - Returns:
booleanThe current preview flag.
| Name | Type | Optional | Description |
|---|---|---|---|
_previewMode | boolean | Yes | The preview flag to set. |
parmExternalSystem
Gets or sets the external system whose key AssetIdExternalKey holds.
- Visibility:
public - Returns:
MGCLatticeExternalSystemIdThe ExternalSystem value.
| Name | Type | Optional | Description |
|---|---|---|---|
_externalSystem | MGCLatticeExternalSystemId | Yes | The ExternalSystem value. |
parmAssetId
Gets or sets the fixed asset of the transaction to reverse.
- Visibility:
public - Returns:
AssetIdThe AssetId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_assetId | AssetId | Yes | The AssetId value. |
parmAssetIdExternalKey
Gets or sets the external system's key of the fixed asset, in place of AssetId.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe AssetIdExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_assetIdExternalKey | MGCLatticeExternalKey | Yes | The AssetIdExternalKey value. |
parmAssetBookId
Gets or sets the book of the transaction to reverse.
- Visibility:
public - Returns:
AssetBookIdThe AssetBookId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_assetBookId | AssetBookId | Yes | The AssetBookId value. |
parmVoucher
Gets or sets the voucher of the fixed asset transaction to reverse.
- Visibility:
public - Returns:
VoucherThe Voucher value.
| Name | Type | Optional | Description |
|---|---|---|---|
_voucher | Voucher | Yes | The Voucher value. |
parmTransactionDate
Gets or sets the date of the transaction to reverse; needed only when the voucher has transactions of the book on several dates.
- Visibility:
public - Returns:
TransDateThe TransactionDate value.
| Name | Type | Optional | Description |
|---|---|---|---|
_transactionDate | TransDate | Yes | The TransactionDate value. |
parmReversalDate
Gets or sets the date the reversal posts on; empty uses today. It cannot be before the transaction's date.
- Visibility:
public - Returns:
TransDateThe ReversalDate value.
| Name | Type | Optional | Description |
|---|---|---|---|
_reversalDate | TransDate | Yes | The ReversalDate value. |
parmReasonCode
Gets or sets the financial reason code written on the reversal.
- Visibility:
public - Returns:
ReasonCodeThe ReasonCode value.
| Name | Type | Optional | Description |
|---|---|---|---|
_reasonCode | ReasonCode | Yes | The ReasonCode value. |
parmReasonComment
Gets or sets the reason comment written on the reversal.
- Visibility:
public - Returns:
ReasonCommentThe ReasonComment value.
| Name | Type | Optional | Description |
|---|---|---|---|
_reasonComment | ReasonComment | Yes | The ReasonComment value. |