INIMSK: Initialization of the header mask for the generated entry.

The INIMSK entry point that is used to force the non active generation of entries in Simulation in order that there is no update of the balance.

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.

Context

The INIMSK entry point is called at the start of the generation of an analytical document and just after the initialization of the document header mask [M :HAE0].

Available variables and masks

Entry screens for the distribution setups CPTDSPANA[DIA]

Document entry screens GACCENT0[HAE0], GACCENT1[HAE1], GACCENT2[HAE2], VENTILE[VTL]

The simulated postings are referenced by [M:HAE1]REFSIM='RE'+[F:DAD]DIA

 

Open tables

Provisional posting table GACCTMP[HAE],GACCTMPD[DAE],GACCTMPA[DAA]

 


Miscellaneous remarks

The batch server and the account entry validation batch task must be activated.

INILIG: Initialization of the entry line mask.

The INILIG entry point is used to load custom fields that have been added into the accounting document lines table.

Context and operating method

Transaction

There is no transaction in progress.

Log file

There is an open log file.

Context

The accounting document lines are stored in the GACCENT2 [HAE2] screen. The INILIG entry point is called just before the increase in the base variable in the [M :HAE2]NBLIG grid that contains the entry line index that is going to be created.

Available variables and masks

Entry screens for the distribution setups CPTDSPANA[DIA]

Document generation screens GACCENT0[HAE0], GACCENT1[HAE1], GACCENT2[HAE2], VENTILE[VTL].

The simulated postings are referenced by [M:HAE1]REFSIM='RE'+[F:DAD]DIA

 

Open tables

Provisional posting table GACCTMP[HAE],GACCTMPD[DAE],GACCTMPA[DAA]

 


Miscellaneous remarks

The batch server and the account entry validation batch task must be activated.

TRTSIM: Final phase after generation of the entries.

The TRTSIM entry point is used 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.

Context

The TRTSIM entry point is called at the end of the processing when all the entries in the structure have been generated.

Available variables and masks

Entry screens for the distribution setups CPTDSPANA[DIA]

Document entry screens GACCENT0[HAE0], GACCENT1[HAE1], GACCENT2[HAE2], VENTILE[VTL]

The simulated postings are referenced by [M:HAE1]REFSIM='RE'+[F:DAD]DIA

Open tables

Provisional posting table GACCTMP[HAE],GACCTMPD[DAE],GACCTMPA[DAA]

 


Miscellaneous remarks

The batch server and the account entry validation batch task must be activated.

MODCOEF: personalization of the distribution coefficients' values

Entry point MODCOEF is used 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

Entry point MODCOEF is called immediately after the calculation of the distribution coefficients.

Available variables and masks

Entry screens for the distribution setups CPTDSPANA[DIA]

Document entry screens GACCENT0[HAE0], GACCENT1[HAE1], GACCENT2[HAE2], VENTILE[VTL]

The following local variables are available and initialized:

  • variable [F:DAD]TYP is 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 COEF grid so as to ensure the optimum operation of the distribution process.

Open tables

Provisional posting table GACCTMP[HAE],GACCTMPD[DAE],GACCTMPA[DAA]

Miscellaneous remarks

The batch server and the account entry validation batch task must be activated.