QCPlanDetermination

Gets the necessary QC plan. These variables are at disposal (read only)

 

Variable

Read

Write

Description

e_WoDocEntry

x

 

Work order number

e_WoLineNumber

x

 

Work order Position

e_WoLineNumber2

x

 

Bill of Material position

e_ItemCode

x

 


e_WhsCode

x

 


e_ItemVersion

x

 


e_Quantity

x

 


e_CardCode

x

 


e_Type

x

 

Type of Base document

W=IncomingGoods

F=Work order Routing position

E=Work order Assembly

C=Batch check

R=Retoure

M=Manual booking

T=Transfer

X=AP Invoice

Y=Negative purchase returns

Z=Negative Purchase Credit Memo

O=Credit Memos

P=Negative Delivery

Q=Negative Invoices

S=Work order Issue Cancellation

A=Split Batch

D=Batch transfer

e_QCPlan

x

x

QC Plan. Changeable.

 

 

beasscript-logo-small

// Related to special item and Qunatity we define a own rule
function QCPlanDetermination
if <e_ItemCode> = "myitem" and <e_Quantity,#0.000000> n> 1000 then
setvar=e_qsqcorder=myqcplan
end if
return success
end function