Páginas filhas
  • ALTDATAL - Changes dDataLanc variable -- 109627

Entry-Points: ALTDATAL - Changes dDataLanc variable


Scope:

Microsiga Protheus 10 , Microsiga Protheus 11

Versions:

Microsiga Protheus 10 , Microsiga Protheus 11

Compatible Countries:

All

Operating Systems:

All

Compatible with the Databases:

All

Languages:

Portuguese (Brazil) , Portuguese (Portugal) , Spanish , English


Description:

Entry Point that allows changing the content of the variable dDataLanc. Returns a date to be assigned as the posting date.

Event

It is executed within the function for including accounting entries.

Source Program

CTBA105.PRW

Syntax

ALTDATAL - Changes dDataLanc ( [ dData ], [ cRotina ] ) --> dDataLanc Variable

Parameters:



Name



Type



Description



Default



Mandatory



Reference



dData



Date



Date for the generation of accounting entries.












cRotina



Array of Record



Routine name.












Return
dDataLanc (data)

Nova data para geração dos lançamentos contábeis.

Examples
If lAltDataL .and. !lOrdTpSld	dDataLanc	:= 	ExecBlock("ALTDATAL",.F.,.F.,{dData,cRotina})EndIf