This event is triggered for every line that is added to the document. With this event, the user can cancel the process.
You can cancel the process with return -1
Variable |
Read |
Write |
Description |
---|---|---|---|
e_DocEntry |
x |
from Purchase order (DocEntry) |
|
e_LineNumber |
x |
|
from Purchase order Line Number |
e_ObjType |
x |
|
from Object Type (18=Purchase order, 22=Invoice, 540000006=Purchase Quotation) |
e_CardCode |
x |
|
Vendor |
e_ItemCode |
x |
|
|
e_WhsCode |
x |
|
|
e_BinCode |
x |
|
Bin Code (Note: Not available in single line Purchase order) |
e_DistNumber |
x |
|
Batch Number / Serial number. Note: this event is executed for every serial / batch number |
e_Quantity |
x |
|