CPTBAL processing: CPTBAL
MAJ: Posting lines access
Use this entry point to update the annex tables and/or to enter the specific fields in the BALANCE table during the update of the general balance.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
According to the context, a log file may or may not be open.
Detailed description of the context(s)
The entry point is called for each balance update. The [F:BAL] class is on line such as it is to be written (or rewritten) in the table. The [F :HAE] and [F :DAE] classes from which the update originates are also on line. It should be noted that there are several calls for a single journal line (entry and ledger currency, update of fiscal year n and carry forward n+1). The following local variables are used to identify the call context:
- BALTYP Ledger type update
- BALCUR Currency
- BALSOC Company
- BALFCY Site
- BALACC Account
- BALBPR Business partner
- BALEXE Fiscal year
- BALREP 0=standard update, 1=carry forward n+1
CALBALDEM: Posting lines access
Use this entry point to update the annex tables and/or to enter the specific fields in the BALDEM table during the update of the double entry balance.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
According to the context, a log file may or may not be open.
Detailed description of the context(s)
This entry point is called for each balance update.The [F:BAM] class such as it is to be written (o rewritten) in the table.The [F :HAE] and [F :DAE] classes from which the update originates are also on line.It should be noted that there are several calls for a same journal line.The following local variables are used to identify the call context:
- BALTYP Ledger type update
- BALSOC Company
- BALFCY Site
- BALEXE Fiscal year
- BALDEBACC Debited account
- BALDEBBPR Debited BP
- BALCDTACC Credited account
- BALCDTBPR Credited BP
- BALIDTDEBCCE Debited dimension type
- BALIDTCDTCCE Credited dimension type
- BALCUR Currency
- BALDEBSECx Debited dimension
- BALCDTSECx Credited dimension
ANAFRW: Initialization of the dimension types with a fixed value for the carry-f
This entry point is used to force each analytical dimension type to a fixed value in the real-time carry-forward update program.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
According to the context, a log file may or may not be open.
Detailed description of the context(s)…
The entry point is called right after the standard loading of the local variables BALSEC1...BALSEC9 containing, for each dimension type of the updated ledger type, the code of the dimensions for the real-time carry-forward.
Reloading these variables into the specific processing will make it possible to force each analytical dimension type to any other dimension.
The [F:BLA], [F:HAE] and [F:DAE] and [F:DAA] classes are on line. The following local variables are used to identify the call context:
- BALTYP Ledger type update
- BALCUR Currency - - BALSOC Company
- BALFCY Site
- BALACC Account
- BALBPR Business partners
- BALEXE Fiscal year
- BALREP 0=standard update, 1= carry forward balance n+1
BEFWRIBLA: Posting lines access
Use this entry point to update the annex tables and/or to enter the specific fields in the BALANA table during the update of the analytical balance.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
According to the context, a log file may or may not be open.
Detailed description of the context(s)
The entry point is called every time the analytical balance is updated. The [F:BLA] class is on line, because it will be written (or re-writen) in the table. The [F:HAE], [F :DAE] and [F :DAA] classes from which the update originates are also on line. It should be noted that there are several calls for a single journal line (entry and ledger currency, update of fiscal year n and carry forward n+1). The following local variables are used to identify the call context:
- BALTYP Ledger type update
- BALCUR Currency
- BALSOC Company
- BALFCY Site
- BALACC Account
- BALBPR Business partner
- BALSECx Dimensions where x=1 to 9
- BALEXE Fiscal year
- BALREP 0=standard update, 1=carry forward n+1