Calculating of Sequential Numbers on Releve 1 BIP Forms

When R77420/XJDE0003BI is submitted for the first time in the year, the first and the last sequential numbers are fetched from the processing options and stored in F77110 based on year and form ID. Current sequential number is then calculated and stored in F77100 based on the number of forms printed. For subsequent submissions of R77420/XJDE0003BI, current sequential number is read from F77110 and calculated based on number of forms printed and gets updated to F77110 again. Provided a form exit "RL Sequence Number" on year-end workbench which will display the Sequential Number setup form where user can view the lower box first, last and current sequential numbers of Releve 1 forms. Current Sequential numbers increment when users print Releve 1 year-end forms even for testing purpose. Users can select the required record in such situations and take the row exit "Reset Current" to reset the current sequential number to zero. But once actual yearend forms are printed at least once, do not reset the current sequential number. By doing so will cause duplicate lower box sequential numbers.

Record reservation is implemented on table F77100. When R77420/XJDE0003BI is submitted from multiple year-end IDs simultaneously, F77110 will be locked by the first instance of R7740/XJDE0003BI. For the rest of R77420/XJDE0003BI instances, a message will be printed on the output indicating users to submit the report again. Once the printing of Releve1 forms is complete, F77110 will be unlocked by the first instance of R77420/XJDE0003BI.