MGCLatticeFixedAssetTransactionLineContract
Data contract for one fixed asset journal line of postAssetTransaction: the asset and book, the transaction type, the amount as a debit or a credit in the accounting currency, and the optional date, offset account, financial dimensions, consumption quantity, reason and description.
Methods
new
Initializes a new instance of the MGCLatticeFixedAssetTransactionLineContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeFixedAssetTransactionLineContract class.
- Visibility:
public - Returns:
MGCLatticeFixedAssetTransactionLineContractA new MGCLatticeFixedAssetTransactionLineContract instance.
No parameters.
parmAssetId
Gets or sets the fixed asset.
- 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. Uses the request's ExternalSystem.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe AssetIdExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_assetIdExternalKey | MGCLatticeExternalKey | Yes | The AssetIdExternalKey value. |
parmAssetBookId
Gets or sets the book of the fixed asset the transaction posts to.
- Visibility:
public - Returns:
AssetBookIdThe AssetBookId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_assetBookId | AssetBookId | Yes | The AssetBookId value. |
parmTransactionType
Gets or sets the fixed asset transaction type by name: AcquisitionAdj, Depreciation, DepreciationAdj, Revaluation, WriteUpAdj, WriteDownAdj, ExtraordinaryDepreciation or BonusDepreciation.
- Visibility:
public - Returns:
strThe TransactionType value.
| Name | Type | Optional | Description |
|---|---|---|---|
_transactionType | str | Yes | The TransactionType value. |
parmDebitAmount
Gets or sets the debit amount in the accounting currency: it increases the book's value. Send either a debit or a credit amount.
- Visibility:
public - Returns:
AmountCurDebitThe DebitAmount value.
| Name | Type | Optional | Description |
|---|---|---|---|
_debitAmount | AmountCurDebit | Yes | The DebitAmount value. |
parmCreditAmount
Gets or sets the credit amount in the accounting currency: it decreases the book's value (a depreciation or a write-down is a credit). Send either a debit or a credit amount.
- Visibility:
public - Returns:
AmountCurCreditThe CreditAmount value.
| Name | Type | Optional | Description |
|---|---|---|---|
_creditAmount | AmountCurCredit | Yes | The CreditAmount value. |
parmTransactionDate
Gets or sets the transaction date of the line; empty uses the request's PostingDate, or today.
- Visibility:
public - Returns:
TransDateThe TransactionDate value.
| Name | Type | Optional | Description |
|---|---|---|---|
_transactionDate | TransDate | Yes | The TransactionDate value. |
parmOffsetMainAccountId
Gets or sets the offset main account; empty uses the offset account of the fixed asset posting profile for the transaction type and book, as the fixed asset journal does.
- Visibility:
public - Returns:
MainAccountNumThe OffsetMainAccountId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_offsetMainAccountId | MainAccountNum | Yes | The OffsetMainAccountId value. |
parmDimensions
Gets or sets the financial dimension values of the line. They replace the same dimensions of the book's default dimensions, which the line takes as the fixed asset journal does; the other dimensions keep the book's values.
- Visibility:
public - Returns:
ListThe financial dimension values list.
| Name | Type | Optional | Description |
|---|---|---|---|
_dimensions | List | Yes | The financial dimension values list. |
parmConsumptionQuantity
Gets or sets the consumption quantity of a depreciation line of a book that depreciates by consumption.
- Visibility:
public - Returns:
AssetConsumptionQtyThe ConsumptionQuantity value.
| Name | Type | Optional | Description |
|---|---|---|---|
_consumptionQuantity | AssetConsumptionQty | Yes | The ConsumptionQuantity value. |
parmReasonCode
Gets or sets the financial reason code of the line; required when the fixed asset parameters demand a reason for the transaction type.
- Visibility:
public - Returns:
ReasonCodeThe ReasonCode value.
| Name | Type | Optional | Description |
|---|---|---|---|
_reasonCode | ReasonCode | Yes | The ReasonCode value. |
parmReasonComment
Gets or sets the reason comment of the line.
- Visibility:
public - Returns:
ReasonCommentThe ReasonComment value.
| Name | Type | Optional | Description |
|---|---|---|---|
_reasonComment | ReasonComment | Yes | The ReasonComment value. |
parmDescription
Gets or sets the line description; empty uses the standard fixed asset transaction text.
- Visibility:
public - Returns:
LedgerJournalTransTxtThe Description value.
| Name | Type | Optional | Description |
|---|---|---|---|
_description | LedgerJournalTransTxt | Yes | The Description value. |