Páginas filhas
  • DT Automatic Routine ATFA012 - Fixed Assets Update

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

CONTENTS

Índice
excludeCONTENTS

01. OVERVIEW

Execution examples via automatic routine in the Assets Register (ATFA012) routine, showing examples of use and related tables.

02. EXAMPLE

See below some examples of use.


Aviso
titleNote

If table SN3 has more than one line, you must fill in the field N3_SEQ.

You can use this execauto to add data to tables SN1 and SN3. You cannot add data to table SN2 through automatic routine.

Informações
When you add the data, the program uses the depreciation rates entered in the asset group register, provided the Group Code is entered in the cGroup variable, and the corresponding rate fields are not filled in the items array of the ExecAuto of the Assets Register (ATFA012) routine.
Nota
titleQuestions of F12

If you want to use any question from the routine's F12 within the automatic routine, you need to fill in the aParam in the fourth parameter of execauto.

Example:

Local aParam := {}

aAdd( aParam, {"MV_PAR01", 2} ) //Display Entry CTB = No
aAdd( aParam, {"MV_PAR02", 1} ) //Repeat Reg. No. = Yes
aAdd( aParam, {"MV_PAR03", 2} ) //Copy Values = All
aAdd( aParam, {"MV_PAR04", 1} ) //Display Details Panel ? = Yes
aAdd( aParam, {"MV_PAR05", 2} ) //Book Online ? = No
aAdd( aParam, {"MV_PAR06", 2} ) //Group Entries ? = No

... //Rest of execauto segment

MSExecAuto({|w,x,y,z| Atfa012(w,x,y,z)},aCab,Nil,4,aParam)


If aParam is not filled in, only what is saved in the profiler of selected user related to this routine is used.



Addition:

Bloco de código
languagecpp
themeRDark
titleInclusion
collapsetrue


Multiple Additions:

Bloco de código
languagecpp
themeRDark
titleMultiple Inclusions
collapsetrue


Editing:

Bloco de código
languagecpp
themeRDark
titleEditing
collapsetrue


Deletion:

Bloco de código
languagecpp
themeRDark
titleDeletion
collapsetrue



05. TABLES

  • SN3 - Balances and Values
  • SN1 - Fixed Assets
  • SN4 - Fixed Asset Transactions
  • SN5 - Balance Files
  • SN8 - Inventory
  • CT1 - Chart of Accounts
  • CTT - Cost Center
  • CTD - Accounting Item
  • CTH - Value Classes