on 09-19-2008 9:00 AM
Hi,
I have to create a Draft Stock Transfer from DI API.
I cannot find the From Warehouse field in this draft.
How can I create this draft Stock Transfer?
Thanks,
Irina Stanca
Hello Irina,
This property is not yet exposed via the DI (FromWarehouse) - this is planned for the next major release 8.8.
The only w/a i can think of is to change the warehouse on the user defaults via DI, then add the
draft stocktransfer, and then change the user defaults back again.
In the Business One application you can define user defaults in : Administration>
Setup>General> Users.
Define user defaults for users you connect to the DI with - one of the defaults is warehouse.
1. connect via DI
2. use the UserDefaultGroups Object (catch the specific defaults using
getbykey method and then set the property of the warehouse to the
warehouse you want to move the stock from it).
3. add the draft
4. change back the defaults.
Cheers,
Lisa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Irina Stanca,
I need to create a Draft Stock Transfer from DI API also.
Do you have any solution for your problem???
Thanks,
Soon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The solution that Lisa has provided is not working for me.
So, I am going to use a work-around:
Create a header UDF in the Marketing Documents (Stock Transfer), copy it into this UDF the value of the From Warehouse and add a Formatted Search on the From Warehouse in Stock Transfer that will copy it from the UDF.
Hope this helps for you too.
Irina
its property .FromWarehouse in header
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
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.