Páginas filhas
  • AF010LOK - Validate the getdados row

Description

The entry point AF010LOK validates the getdados row when adding the Fixed Asset - ATFA010.

Examples

#include "PROTHEUS.CH"

#include "rwmake.ch"


User Function AF010LOK()

Local aColsX := {}

Local lRet := .T.

aColsx := aCols

//Checks if the depreciation account entered is

// the same account entered as accrued depreciation

// account.

If aColsX[1][6] == aColsX[1][10]

Alert("Invalid Accounts")

lRet := .F.

EndIf

Return lRet

Language

Portuguese(Brazil)

Versions

Microsiga_Protheus10_e_Microsiga_Protheus11

Operating Systems Supported

All

Compatible with the following Databases

All

Parameters

aColsX: Array containing data from GetDados

Return

lRet(Logical): Validation return

Call events of the Entry Point

lRet := ExecBlock("AF010LOK" ,.F.,.F.,aCols[N])

Source Program

ATFA010a.PRW - Fixed Asset

  • Sem rótulos