Skip to main content

MGCLatticeFixedAssetService.runDepreciationProposal

Runs the standard fixed asset depreciation proposal (AssetProposalDepreciation, the journal's Proposals > Depreciation proposal) into a new fixed asset journal: one line per asset book with depreciation due through the depreciation date, optionally only for one book. The journal is not posted.

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

Parameters​

NameTypeOptionalDescription
_requestMGCLatticeFixedAssetDepreciationRequestContractNoThe request containing JournalNameId (a fixed asset journal name), DepreciationDate, AssetBookId, and standard header fields.

Returns​

MGCLatticeOrderOperationResponseContract

An MGCLatticeOrderOperationResponseContract: the DocumentId is the proposal journal and the message gives the number of proposed lines, or says that nothing was due.

Security​

  • Requires privilege MGCLatticeFixedAssetsServiceMaintain