This event is called with the Duplicate precalculation function:
Variable |
Read |
Write |
Description |
---|---|---|---|
e_DocEntry |
x |
old Precalculation ID |
|
e_Version |
x |
x |
current I-version value |
When Precalculation is duplicated, the I-version field is saved with the existing value + 1.
Customers not working with version-managed items can appliy the following BeasScript:
function PrecalculationCopyVersion
setvar=e_Version=%numadd(<e_Version,#0>,1)
end function