Process CPTDSPANA
TRTSIM: Final phase after generation of the entries
Use this entry point to force the Provisional Actual or the Active Simulation of the entries generated in Non Active Simulation.
This avoids the interaction between entries generated for the lines of the same distribution structure that use the same analytical dimensions.
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is an open log file.
Code context
This entry point is called at the end of the processing when all the entries in the structure have been generated.
Available variables and masks
- CPTDSPANA[DIA]: Entry screens for the distribution setups
- GACCENT0[HAE0], GACCENT1[HAE1], GACCENT2[HAE2], VENTILE[VTL]: Document entry screens
- [M:HAE1]REFSIM='RE'+[F:DAD]DIA: References the simulated postings
Open tables
- GACCTMP[HAE], GACCTMPD[DAE], GACCTMPA[DAA]: Provisional posting table
Miscellaneous remarks
The batch server and the account entry validation batch task must be activated.
MODCOEF: personalization of the distribution coefficients values
Use this entry point to personalize the distribution coefficients values.
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is an open log file.
Context
This entry point is called immediately after the calculation of the distribution coefficients.
Available variables and masks
- CPTDSPANA[DIA]: Entry screens for the distribution setups
- GACCENT0[HAE0], GACCENT1[HAE1], GACCENT2[HAE2], VENTILE[VTL]: Document entry screens
The following local variables are available and initialized:
- [F:DAD]TYP: Variable used to know the type of distribution in progress
- NBSECR: Number of receiving dimensions
- COEF (from 0 to NBSECR-1): Distribution coefficients grid
- SECTIONR (from 0 to NBSECR-1): Receiving dimensions grid
- SUM: Coefficients total. It must be equal to the sum of the values displayed in the COEF grid, to ensure the optimum operation of the distribution process.
Open tables
- GACCTMP[HAE], GACCTMPD[DAE], GACCTMPA[DAA]: Provisional posting table
Miscellaneous remarks
The batch server and the account entry validation batch task must be activated.