on 09-18-2017 9:53 AM
Hi Experts,
How to move a Fromwarehouse Binlocation to TowareHouse Binlocation Using Stocktranfer Service?
Please anyone share me Example Source code for Bin location Changing for particular Serial number using Stocktransfer
Hi Manikandan, see the example below
StockTransfer st = (StockTransfer)oCompany.GetBusinessObject(BoObjectTypes.oStockTransfer);
st.FromWarehouse = "05";
st.ToWarehouse = "bin";
st.Lines.ItemCode = "A00001";
st.Lines.WarehouseCode = "bin";
st.Lines.FromWarehouseCode = "05";
st.Lines.Quantity = 2;
st.Lines.BinAllocations.BaseLineNumber = 0;
st.Lines.BinAllocations.BinActionType= BinActionTypeEnum.batFromWarehouse;
st.Lines.BinAllocations.BinAbsEntry = 1;
st.Lines.BinAllocations.Quantity = 2;
st.Lines.BinAllocations.Add();
st.Lines.BinAllocations.BaseLineNumber = 0;
st.Lines.BinAllocations.BinActionType = BinActionTypeEnum.batToWarehouse;
st.Lines.BinAllocations.BinAbsEntry = 74;
st.Lines.BinAllocations.Quantity = 2;
st.Lines.BinAllocations.Add();
int errCode = st.Add();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sir,
Actually ,the above scenerio is working When I give From warehouse,from bin location, To warehouse and to bin location.
but my scenerion I am only giving the From warehouse, From Bin location and to warehouse not have a any bin location .It is only warehouse. So How to I change the Above coding to my recuirement.
Note: I am giving only From warehouse , From binlocation and To warehouse not have any binloaction. only Item moves to warehouse only
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.