PdcApplication.WithdrawFromProduction: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
== Declaration == | == Declaration == | ||
WithdrawFromProduction(CalcNumbers as IStrings,Children as Boolean) as Boolean | |||
== Description == | == Description == | ||
Withdraw calculations from production | |||
== Notes == | == Notes == | ||
This method enables you to remove productionorders from the production phase. | |||
== Code example == | == Code example == | ||
This code example removes the stated calculations from production. | |||
<source lang="vb"> | |||
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 | |||
</source> | </source> | ||
== Availability == | == Availability == | ||
Available since May 2009 (From version 3.9). |
Revision as of 11:25, 21 May 2012
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).