Allocation object, can be used to write off an allocation. 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.
If this object was created using the pdcAllocations.New function, an allocation can be created in PdC by setting the properties and calling the Save function.
MaterialID is mandatory and has to be filled in when creating a new allocation.
If UseExistingAlloc is set to True, when saving a new allocation, it will subtract the already allocated amount for this MaterialID, off the Quantity property.
Available since May 2017 (from version 5.4)