Allocations Object. Can be used to create or open Allocations. ProcessMaterial can be used to adjust/create a reservation, create an allocation and write off this allocation. This way there is no need to call individual functions; this function takes care of all of that.
ProcessMaterial uses a private function named ChangeReservation. This function can’t be called using the interface and will not be made public. Keep in mind that an allocation can only be written off through scripting if the material has the correct write-off-settings. Check the notes in pdcAllocation.WriteOff for more information.
dim objAlloc set objAlloc = pdc.Logistics.Allocations.New
Available since May 2017 (from version 5.4)