transfer_batch

object=reservation=transfer_batch=<plan-docentry>

 

create a receipt and issue for current planned object

object-type=btransfer / bt

 

1. create new plan-object btransfer

2. create lines with line-type "issue" and "receipt"

3. call this transfer_batch-function

 

this object create a issue, a receipt with total-price from issue and a transfer-document in table beas_batchnumtransfer

and linked both documents with the batchnumtransfer (beas_basetype='T', basedocentry=<beas_batchnumtransfer.docentry>

 

return in "returnvalue" -1=error, 1=ok