Entry Point: CTBDEL - Deletion of accounting entry
Versions: | Microsiga Protheus 8.11, Microsiga Protheus 10 |
Compatible Countries: | All |
Operating Systems: | All |
Compatible with the Databases: | All |
Languages: | Spanish, English |
Description:
The entry point CTBDEL will be executed by the routine CTBA101 during the deletion operation of an accounting entry.
Events
- When deleting the entry in the transaction’s base currency
- When deleting the entry in currency "01"
- When deleting the historical complement lines.
Source Program
CTBA101.PRW
Syntax
CTBDEL - Deletion of accounting entry ( )
Return
( )
Examples
USER FUNCTION CTBDEL()LOCAL nOpc := PARAMIXB[1]LOCAL cProg := PARAMIXB[2]LOCAL cFunName := PARAMIXB[3]LOCAL cMensagem := ""LOCAL cEOL := CHR(10)+CHR(13)cMensagem := "ENTRY POINTS: CTBDEL"+cEOLcMensagem += "nOpc --> "+STR(nOpc)+cEOLcMensagem += "cProg --> "+cProg+cEOLcMensagem += "cFunName --> "+cFunName+cEOLAPMSGALERT(cMensagem)RETURN
Variables
Name | Type | Scope | Editable | description | |||||||||||
PARAMIXB[1] | Numeric | Global | No | ||||||||||||
PARAMIXB[2] | Character | Global | No | ||||||||||||
PARAMIXB[3] | Character | Global | No |