Páginas filhas
  • ATF012SAL E.P. Handling Asset Type, Balance Type and Depreciation Type Acquisition by Transfer

CONTENTS

01. OVERVIEW

Entry Point ATF012SAL was developed to handle Asset Type, Balance Type, and Depreciation Type.


02. PARAMETERS

Parameter

Type

Description

Mandatory

PARAMBIX[1]

Array

Vector with asset data from tab Apportionment Totals

[n][1] = Asset Type
[n][2] = Balance Type
[n][3] = Depreciation Method

Yes

03. RETURN

Return

Type

Description

Mandatory

aNewConfig

Array

Array with 'n' lines and with positions 1, 2 and 3

Yes

  • Adjustable Asset Types: "01|02|03|04|05|06|07|11"
  • Adjustable Balance Type: "1"
  • Adjustable Depreciation Methods: "1|7|8"


04. EXAMPLE

#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)