PdcAllocation
Contents |
Methods
pdcAllocation.Save
pdcAllocation.WriteOff
Properties
pdcAllocation.MaterialID
pdcAllocation.MaterialNo
pdcAllocation.ReservationID
pdcAllocation.AllocationID
pdcAllocation.Quantity
pdcAllocation.LMV_ID
pdcAllocation.PR_ID
pdcAllocation.UseExistingAlloc
Description
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.
Notes
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.
Availability
Available since May 2017 (from version 5.4)