Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9193

Re: Get exactly error lines when adding document - SAP B1 SDK

$
0
0

Hi Sancti,

 

This is a common problem with the error reporting system of B1, both in the client and with the SDK.

 

With the SDK we work around this problem by simply performing our own prechecks before adding a cardcode or an item to the document.

You can use a function with a query, or you can use the Item or BusinessPartner object's GetByKey method. Either way, you should check that the item exists, if it is frozen, and if there is a price for the given cardcode. And you can check for any other rules that you may have.

 

Regards,

Johan


Viewing all articles
Browse latest Browse all 9193

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>