Manual Goods Receipt, Issue and transfer window is the same window
mw_manuell_buchen
Property
|
Description
|
s_parm1
|
ItemCode
|
s_parm2
|
F=For Work order
B=Allocation
U=current not supported
|
s_parm3
|
einbuchen = receipt
ausbuchen = issue
umbuchen = transfer
|
s_parm4
|
close = close window after transaction
|
e_batchnum
|
Batch Number
|
e_quantity
|
Quantity
|
e_reference
|
Reference
|
e_info
|
Default info
|
e_whscodedfl
|
Default warehouse
|
e_whscode_to
|
transfer: target warehouse
|
e_cardcode
|
Business partner (transfer document)
|
e_intrserial
|
internal serial number
|
e_liefercharge_id
|
Supliers batch number
|
e_indate
|
incoming date in format yyyy/mm/dd
|
e_prddate
|
production date in format yyyy/mm/dd
|
e_expdate
|
Exp. date in format yyyy/mm/dd
|
e_status
|
Batch number status after transaction
|
e_notes
|
Notes
|
e_located
|
Batch location
|
|
Follow special window events available
Property
|
Description
|
item-changed
|
after item is changed
Variable
|
Description
|
dw_1
|
All fields from this transaction
|
|
item-reset
|
while item reset (after an transaction - reset all fields to start new transaction
|
buchen-start
|
Before starting transaction
Variable
|
Description
|
e_ok
|
Define this as "N" if you want to cancel the process
|
dw_1
|
The datawindow with all values for transaction
|
<dw_1.getrow> = the line, which current added
Example: Save a value in an own udf
// Example: set pointofissuecode (Argentina location)
global function form_loaded
dw_1.create=column=id=userfield1<tab>text=PTI<tab>name=pti<tab>x=1500<tab>y=15
end global
windowevent buchen-start
setvar=e_pticode=<pti>
end event
|
buchen-ende
|
After creation of document
Variable
|
Description
|
e_docentry
|
created document
|
windowevent purchaseorderadd
setvar=ll_docentry=<e_docentry>
// print document
end event
|
|
Examples:
Manual Issue for work order: Check Maximal Quantity
Manual Receipt for work order: Check Min. and Max. quantity