01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGACTB)

Function:

CTBXSEM

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

The entry point CTBPRXDOC is used to control the numbering of the accounting document in the Managerial Accounting module (SIGACTB). It allows for the customization and definition of specific rules for the generation or validation of the accounting document number.

03. OTHER INFORMATION


Manipulação de PE no sistema
cDoc := ExecBlock("CTBPRXDOC",.F.,.F.,{dDataLanc,cLote,cSubLote})
Exemplo de PE
#include "Protheus.ch"
User Function CTBPRXDOC

	Local dDataLanc := PARAMIXB[1]
	Local cLote := PARAMIXB[2]
	Local cSubLote := PARAMIXB[3]

	Local cDocRet := "000010"
	
	MsgAlert("ENTRY POINT CALL: CTBPRXDOC")

Return  cDocRet 


Importante !!

  • It should be noted that the use of the Entry Point (PE) and its impacts on the system are the customer's responsibility.
  • The examples used in this documentation are for demonstration purposes only; each customer must determine the behavior they wish to implement according to the scope of the entry point.

04. RELATED SUBJECTS

  • N/A