on 09-25-2008 11:05 AM
Hi All,
I have a question that how to indicate the cost when creating sales return. I found the cost came from sales delivery, but I want to create a indepent sales return.
Please help.
Thanks.
Are u talking abt using the SDK for this..??
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Liu,
I add a sales return (indipendent) from the SAP UI. If that is possible then adding it throu DI is also possible,
For adding thru DI u need to use the oDocuments object.
Plz check in the following path C:\Program Files\SAP\SAP Business One SDK\Help there u'll find a file REFDI.chm Just check it out for the required objects and stuff..it will help u. If u require further help plz post back.
Hope it helps,
Vasu Natari.
Hi Liu,
In general, the SDK can not do anything that you can not do in the application. So if you are unable to set a field in the application, it should not be possible to set using the Business One SDK.
However, in this case if I create a sales return (not based on a delivery) in the application, I am able to set the Item Price manually so you should be able to do this with the DI API- perhaps this isn't the functionality you were looking for though?
As Vasu said, the SDK help file contains all the information and in this case you will be using the Documents Object & on the _Lines subobject, you can set the field "Price" or UnitPrice".
Regards,
Niall
SAP Business One Forums
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.