PdcAllocations

From External Bemet Wiki
Jump to: navigation, search

Methods[edit]

pdcAllocations.New
pdcAllocations.Open
pdcAllocations.ProcessMaterial

Properties[edit]

Description[edit]

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.

Notes[edit]

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.

Code example[edit]

dim objAlloc 
set objAlloc = pdc.Logistics.Allocations.New


Availability[edit]

Available since May 2017 (from version 5.4)