MGCLatticeFixedAssetDisposalRequestContract
Data contract for fixed asset disposal requests containing AssetId, AssetBookId, JournalNameId, IsSale flag, SaleAmount, and DisposalDate.
Methods
new
Initializes a new instance of the MGCLatticeFixedAssetDisposalRequestContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeFixedAssetDisposalRequestContract class.
- Visibility:
public - Returns:
MGCLatticeFixedAssetDisposalRequestContractA new MGCLatticeFixedAssetDisposalRequestContract 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. |
parmOffsetMainAccountId
Gets or sets the counter-account for the sale proceeds of a sale disposal (IsSale). Without an offset the disposal voucher cannot balance, so a sale disposal could never post.
- Visibility:
public - Returns:
strThe offset main account id.
| Name | Type | Optional | Description |
|---|---|---|---|
_offsetMainAccountId | str | Yes | The offset main account id. |
parmJournalNameId
Gets or sets the journal name identifier that determines the journal type and default settings.
- Visibility:
public - Returns:
LedgerJournalNameIdThe JournalNameId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_journalNameId | LedgerJournalNameId | Yes | The JournalNameId value. |
parmAssetId
Gets or sets the fixed asset identifier.
- Visibility:
public - Returns:
strThe AssetId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_assetId | str | Yes | The AssetId value. |
parmAssetBookId
Gets or sets the fixed asset depreciation book identifier.
- Visibility:
public - Returns:
strThe AssetBookId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_assetBookId | str | Yes | The AssetBookId value. |
parmIsSale
Gets or sets whether the disposal is a sale (true) or scrap (false).
- Visibility:
public - Returns:
booleanTrue if the disposal is a sale; otherwise, false.
| Name | Type | Optional | Description |
|---|---|---|---|
_isSale | boolean | Yes | True if the disposal is a sale; otherwise, false. |
parmSaleAmount
Gets or sets the sale proceeds amount for the asset disposal.
- Visibility:
public - Returns:
realThe SaleAmount value.
| Name | Type | Optional | Description |
|---|---|---|---|
_saleAmount | real | Yes | The SaleAmount value. |
parmCurrencyCode
Gets or sets the currency code for the transaction.
- Visibility:
public - Returns:
CurrencyCodeThe CurrencyCode value.
| Name | Type | Optional | Description |
|---|---|---|---|
_currencyCode | CurrencyCode | Yes | The CurrencyCode value. |
parmDisposalDate
Gets or sets the asset disposal effective date.
- Visibility:
public - Returns:
TransDateThe DisposalDate value.
| Name | Type | Optional | Description |
|---|---|---|---|
_disposalDate | TransDate | Yes | The DisposalDate 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. |
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. |
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 created or posted.
- Visibility:
public - Returns:
booleanThe current preview flag.
| Name | Type | Optional | Description |
|---|---|---|---|
_previewMode | boolean | Yes | The preview flag to set. |