Magidoc

FixedAssetDisposal
Object

What a disposal settled, read off the journal it posted.

The asset stores only the date, the reason and the journal id: proceeds and the gain or loss are lines on that journal and are recoverable nowhere else, so a register that showed a disposed row had no way to say what the asset fetched or what the disposal cost. Derived rather than stored, because disposeFixedAsset writes the journal and the journal is the ledger's own answer -- a copy on the asset would be the one that goes stale.

Fields

#

date

Non-null

reason

journalId

The journal the disposal posted through. Null only on an asset disposed before one was stored.

carryingValue

Non-null

Cost less accumulated depreciation at disposal -- what the entry relieved off the books.

proceeds

Non-null

What the asset fetched. Zero on an abandonment, which is a disposal with no proceeds line.

gainLoss

Non-null

Signed: a gain is positive, a loss negative. Zero when proceeds met the carrying value.

Usages

#

References

#