PdcTerminal.Process
Declaration
Process as Boolean
Description
Changes the stock for the supplied material number.
Notes
This function processes the lines of the terminaltable for book off or stock changes. The terminaltable can be filled with a script or with a handterminal. The field TR_MODE contains the kind of stock change. 1: Material on an existing calculation 2: Stock (and location) change of a material (relatively) 3: Stock (and location) change of a material (absolutely) 4: Location change of a material 5: Book time on a calculation 6: Book materials on a new calculation
Code example
This code processes the terminaltable.
dim objTerminal
set objTerminal = pdc.Terminal
if IsValid(objTerminal) then
if not objTerminal.Process then
msgbox "Error while processing the Terminal, check TR_LOG for more information."
end if
end if
set objTerminal = nothing
Availability
Available since version 4.2 onwards.