with di-api you can't set batch-Properties.
With this Object you can set the batch-Propeties
This object checked the sap-Version and works with the correct tables (in sap8.8 this are other tables as in sap2007)
Example:
declare=lbatch=ue_api_batchnumber
lbatch=get=A0001=B443044
lbatch=status=1
lbatch=update
if you work with "update oibt" then it works or it works not, Better way is to work with this api.
setstatus=itemcode=batchnumber=newstatus=newqty |
set the new status directly without load and update-Function Example: object=ue_api_batchnumber=A0001=B443044=1 set status to 1 allowed status: 0=free,1=not free, 2=locked if you set the Quantity beas check the QC-Order-List. If exist a QC-Order for this Batchnumber and if the QC-Order-Status is ok, beas set the status allways to 0 (free) |
get=itemcode=batchnumber |
load the batchnumber. See example |
update |
save the batchnumber-Properties - compatible to sap 2007 and 8.8 |
located |
Propertie |
expdate |
Propertie |
prddate |
Propertie |