binbooking

Commands for bin-warehouse

 

--- OLD FUNCTION ---

 

DON'T USE THIS

Use Command "binbookingtransaction"

Or directly procedure binbookingprocedure

 

Booking with be.as-bin-warehouse

 

1. create SAP-Entry (receipt, issue..)

2. call bin_oinm2beas (see table), now you've entrys in beas_oinm for all oinm-transactions on bin-warehouses

   Example: object=ue_materialwirtschaft=bin_oinm2beas

3. create a datastore binbooking

   destroy=binbooking

   declare=binbooking=ue_datastorevalues

   binbooking=select=0 as transnum,0 as instance,space(32) as batchnum,0 as batchlinenum,&

       space(40) as rfid,space(20) as bincode,0.0000 as quantity

4. fill the datastore with correct data (you can set more then one line)

    binbooking.insertrow

    binbooking.transnum=..

    binbooking.instance=...

    ...

5. start the transaction with

    object=ue_materialwirtschaft=binbookingstart

 

Structure of datastore binbooking

transnum

link to beas_oinm.transnum

instance

link to instance-number

batchnum

batchnumber or internal system-serialnumber

batchlinenum

batchnum/serialnumber-entry in this transaction, sri1/ibt1.instance)

beas_oinm.instance

bincode

name of bin

rfid

sub-entry of bincode (normal: empty)

quantity

quantity

 

 

 

commands

--- OLD FUNCTION ---

all commands are in object "ue_materialwirtschaft"

 

bin_oinm2beas

if you create a receipt or issue, sap insert an entry in table oinm

if the warehouse is a bin-warehouse, you need the entry in beas_oinm

 

object=ue_materialwirtschaft=bin_oinm2beas=<oinm.transnum>=<oin,.instance>

or

object=ue_materialwirtschaft=bin_oinm2beas

 

 

binbookingstart

save the bin-transaction

this function need the datastore "binbooking"