PdcAllocation

From External Bemet Wiki
Jump to: navigation, search

Methods[edit]

pdcAllocation.Save
pdcAllocation.WriteOff

Properties[edit]

pdcAllocation.MaterialID
pdcAllocation.MaterialNo
pdcAllocation.ReservationID
pdcAllocation.AllocationID
pdcAllocation.Quantity
pdcAllocation.LMV_ID
pdcAllocation.PR_ID
pdcAllocation.UseExistingAlloc

Description[edit]

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[edit]

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[edit]

Available since May 2017 (from version 5.4)