object=ue_reservation=transfer=<propertie>
Transfer the Reservations to the new Warehouse
Note:
If you use beas 9.3 or newer, then please use Beas Service Layer. See bslTransfer
Move Warehouse AND Reservation to the new Warehouse
return e_docentrys (all created transfer-docentrys, comma-separted)
Property |
Primary Filter on beas_reservation_line |
date |
Bookingdate |
ref2 |
Short reference |
comments |
Comments-Text |
towarehouse |
Optional for transfer document: the target warehouse |
tobin |
Optional for transfer document, if the target warehouse a bin-warehouse. Set the bincode for target Warehouse |
belnr_id,belpos_id,pos_id |
Link to workorder, write in line.u_belnrid,u_belposid,u_posid |
fpq |
link to Master-Document, example owing-table. Allways negativ |
basetype,basedocentry,baseline |
link to second document, example purcase order for external requests |
documentperworkorder |
create one document per workorder and link the transfer-document to the workorder (belnr_id,belpos_id,pos_id) |
series |
Number-Series (from nnm1.serialname) example: external purchase order = <setup:ext_poprimary> |
docobjectcode |
you can make other document with this function 67 (standard) = transfer 20 = incoming goods 21=purchase return beas 9.3 PL 3 59 = post in 60 = post out 15 = delivery 16 = sales return attention: set docobjectcode and then series ! |
basefunction |
called from function |
generateqcorder |
if true, a qc order will be generated |
address |
Address, if supported |
cardname |
Card name from customer/supplier |
errortext |
error text in error case (only if called by bsl) |
usesetquantity |
Use Set Quantity if true, the system use quantity from BEAS_PLANDOCUMENT_LINE.SETQUANTITY |
usetoitem |
UseToItem if true, the system use Item, Warehouse and BinLocation from BEAS_PLANDOCUMENT_LINE.ToItemCode,ToWhsCode,ToBincode Example for QC Transfer document |
basetype,basedocentry,beaseline |
Reference to base document |
pdoctype,pdocentry |
Which docentry from BEAS_PLANDOCUMENT_LINE |
documentperworkorder |
Create one document per workorder (belnr_id/belpos_id) |
dontdelete |
if active, then don't delete BEAS_DOCUMENT_LINE |
pricetype |
define price valuation "fromplandocument" -> define price in BEAS_PLANDOCUMENT_LINE all other defined by setting |
Example
destroy=res
declare=res=ue_reservation res=planned=new=transfer
// Add all lines here res=planned=addline=itemcode=1111<tab>& whscode=BW<tab>& bincode=001003<tab>& towhscode=BW1<tab>& tobincode=A-0102<tab>& quantity=1
// save res=planned=updateline
// execute res=transfer=comments=myTransferDoc1 destroy=res
Note Please use Beas Service Layer. See bslTransfer |