PdcApplication.WithdrawFromProduction
Declaration
WithdrawFromProduction(CalcNumbers as IStrings,Children as Boolean) as Boolean
Description
Withdraw calculations from production
Notes
This method enables you to remove productionorders from the production phase.
Code example
This code example removes the stated calculations from production.
dim strlstCalcList
set strlstCalcList = pdc.GetEmptyStringList
strlstCalcList.Add "0801-000087"
strlstCalcList.Add "0803-000056"
strlstCalcList.Add "0809-003865"
if pdc.WithDrawFromProduction(strlstCalcList, True) then
msgbox "Calculations succesfully withdrawn from production"
else
msgbox "Error withdrawing calculations from production! The error is: " & pdc.LastError
end If
Availability
Available since May 2009 (From version 3.9).