Why do you need this change?
Our customer wants Sales Lines that are to be delivered within 30 days to be reserved on inventory first, purchase lines second. But for Sales Lines that have delivery dates further in the future, they want to reserve on purchase lines first, inventory second.
At the moment the source data is not available in this event, so it's not possible to base the sequence of values in the ValueArray on the Sales Line delivery dates.
Describe the request
Adding the global variable CalcReservEntry to the event parameter list would make it possible to decide how to order the ValueArray variable based on data from the source (in our case Sales Line).