Fixed Assets using non-existant context variable

Description

1 The columns:
A_Asset_Addition.IsApproved
A_Depreciation_Entry.IsApproved

are configured with default value: @#IsCanApproveOwnDoc@

The login context variable @#IsCanApproveOwnDoc@ does not exist.

2 In code MAssetAddition.setIsApproved (called on beforeSave) there is also a reference to the same variable.

3 Column A_Depreciation_Entry.C_Currency_ID has wrong default @$C_CURRENCY_ID@

Environment

None

Activity

Show:
Martin Schönbeck
May 9, 2020, 2:31 PM

triaged by

@#IsCanApproveOwnDoc@ is not in context again but set as default as described above. Tested by following the getProperty-Method when called with #IsCanApproveOwnDoc.

A_Depreciation_Entry.C_Currency_ID is also set to @$C_CURRENCY_ID@, but all windows using this table are set inactive in menu in the default configuration

Assignee

Unassigned

Reporter

Carlos Ruiz

Labels

Tested By

None

Components

Affects versions

Priority

Major
Configure