on 09-16-2016 2:24 PM
Hi community,
I would like to set Item Wharehouse OnHand Quantity through DI API + C#.
In database, the target is this field : OITW.OnHand.
But I don't find code example.
Do you know how to do that ?
Regards,
Guillaume
Hi Guillaume,
The sdk doesn't provide an object to update this directly.
However you can post documents to adjust this value.
If you are in atleast 9.0pl 9, you can post the inventory counting and inventory posting to adjust.
SAP 9 PL09 Inventory Posting | SCN
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edy,
Thank you for your answer.
I add some precisions ...
Actually, throught DIAPI in C#, i duplicate an item.
But the new item created inherits the stock of the original item.
I think it's possible to set warehouse stock at 0 when i duplicate the item.
I'm looking for a syntax which allow to access to this property when i duplicate the item.
In the attached file, the code i use to duplicate an item.
Before oArticle.Add() instruction,; i would like to set warehouse stock.
This someone have got an idea, i will take it !
Regards,
Guillaume
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.