Skip to main content

MGCLatticeFixedAssetService.transferAsset

Transfers a fixed asset to new financial dimensions with the standard asset transfer (AssetTransfer, the Transfer asset action of the fixed asset page) and posts what it creates, and moves the asset to a new location. The transfer moves each book's balance from its current default dimensions to the new ones (a general ledger voucher and an asset transfer transaction per book), records the transfer history and gives the book the new default dimensions; the location is the asset's location field.

  • HTTP method: POST
  • Route: /api/services/MGCLatticeFixedAssetsServiceGroup/MGCLatticeFixedAssetService/transferAsset
  • Service class: MGCLatticeFixedAssetService

Parameters​

NameTypeOptionalDescription
_requestMGCLatticeFixedAssetTransferRequestContractNoThe request containing AssetId (or AssetIdExternalKey), AssetBookId (optional), Dimensions, LocationId, TransferDate, Comment and the standard header fields.

Returns​

MGCLatticeOrderOperationResponseContract

An MGCLatticeOrderOperationResponseContract: DocumentId is the fixed asset, PostedDocumentId the voucher of the first transferred book (empty for a location-only transfer); the message lists the books and vouchers.

Security​

  • Requires privilege MGCLatticeFixedAssetsServiceMaintain