The PROTYP entry point is used to determine the type of prorata to be applied in all the functions on the dates used during the depreciation calculation for a "specific" depreciation mode.
This entry point is called in order to determine the type of prorata used for the calculation of a "specific" depreciation mode.
The value of the prorata type to be used for the "specific" mode must be defined in the RTYPPRO field. The values for prorata types can be found in the local menu no. 3105 (this local menu cannot be modified).
The global variable G_SKPSTD must be initialized to 1. This makes it possible to skip the processing for "standard" depreciation modes.
The GOK variable can take the value 1 or 0 (1 by default). The GOK variable must be set to 0 if an error is detected and the calculation processing must be stopped. In this case, the 9120 error appears in the log file.
The STRDPCDAT entry point is used to determine the adjusted depreciation start date for a "specific" depreciation mode.
This entry point is called in order to determine the adjusted depreciation start date for a "specific" mode. It can be: a specific day, start of the month, start of the following month, start of the following semester, start of a two-week period, etc.
In the case of a "specific" mode, the effective depreciation start date must be defined in the RDTDBAMTREG field.
The global variable G_SKPSTD must be initialized to 1. This makes it possible to skip the processing for "standard" depreciation modes.
The GOK variable can take the value 1 or 0 (1 by default). The GOK variable must be set to 0 if an error is detected and the calculation processing must be stopped. In this case, the 9130 error appears in the log file.
The ISSDAT entry point is used to determine the adjusted issue date for a "specific" depreciation mode.
This entry point is called in order to determine the adjusted issue date for a "specific" mode. It can be: a specific day, end of the month, etc.
In the case of a "specific" mode, the effective issue date must be defined in the RDATSORREG field.
The G_SKPSTD global variable must be initialized to 1. This makes it possible to skip the processing for "standard" depreciation modes.
The GOK variable can take the value 1 or 0 (1 by default). The GOK variable must be set to 0 if an error is detected and the calculation processing must be stopped. In this case, the 9140 error appears in the log file.
The entry point ENDDPCDATis used to determine the adjusted depreciation end date for a "specific" depreciation mode.
This entry point is called in order to determine the adjusted depreciation end date for a "specific" mode. It can be: a specific day, end of the month, end of the following month, end of the following semester, end of a two-week period, etc.
In the case of a "specific" mode, the effective depreciation end date must be defined in the RDTFNAMT field.
The global variable G_SKPSTD must be initialized to 1. This makes it possible to skip the processing for "standard" depreciation modes.
The GOK variable can take the value 1 or 0 (1 by default). The GOK variable must be set to 0 if an error is detected and the calculation processing must be stopped. In this case, the 9150 error appears in the log file.