Entry Point ATF012SAL was developed to handle Asset Type, Balance Type, and Depreciation Type.
Parameter | Type | Description | Mandatory |
PARAMBIX[1] | Array | Vector with asset data from tab Apportionment Totals [n][1] = Asset Type | Yes |
Return | Type | Description | Mandatory |
aNewConfig | Array | Array with 'n' lines and with positions 1, 2 and 3 | Yes |
#include "rwmake.ch"
#include "protheus.ch"
User Function ATF012SAL()
Local aConfig := aClone(ParamIxb[1])
Local aNewConf := {}
aAdd(aNewConf, {"01|02|03|04|05|06|07|11" ,"1|","1|7|8" })
aAdd(aNewConf, {"09|08" ,"1|","1|" })
Return aClone(aNewConf)