In class InventUpd_Reservation's updateReserveMore method (which has
undergone significant sys-level changes in the new version), there is a
boolean value called mustIncludeInventSumDelta. If this gets set to true,
and I don't know the reason for this, it includes a join statement to the
inventSum query that returns the quantity on hand available for reservation.
Without this join, the inventDim record for warehouse reservations is
included in the inventSum query. When it is joined with InventSumDelta, the
reservations made against the warehouse are not found.
What is the purpose behind InventSumDelta? Can I ignore it safely in this
case? What criteria determines if the flag "mustIncludeInventSumDelta" is
set to true?
--
Best Regards,
Justin
This avoids locking InventSum until the very last moment.
So, in answer to your question: You should use InventSumDelta whenever the
on-hand may be changed in the same transaction as the calling code.
--
Best Regards,
Justin