{"id":171,"date":"2021-01-19T22:14:09","date_gmt":"2021-01-19T20:14:09","guid":{"rendered":"https:\/\/www.gccdat.be\/main\/?p=171"},"modified":"2021-03-13T17:55:17","modified_gmt":"2021-03-13T15:55:17","slug":"webservice-to-business-central-challenge","status":"publish","type":"post","link":"https:\/\/www.gccdat.be\/main\/2021\/01\/19\/webservice-to-business-central-challenge\/","title":{"rendered":"Webservice to Business Central &#8211; Challenge"},"content":{"rendered":"\n<p>Offering business central webservices to the world is made easy in this ERP system. Offering fast, reliable webservices is somewhat more challenging.<br><br>When you first start with webservices, and a customer ask the question: &#8216;I have and android app with which I pick articles for a weborder. When the weborder is picked completely on de device, I want to send the info to Business Central, and post and print immediately, so I can put the printed invoice in the box, and a label on the box. We did just that.<br>(It&#8217;s a little more complicated in Nav terms&#8230; register a pick, post a warehouse shipment, post a sales shipment and generated the label, post an invoice and print it&#8230; at the correct workplace of the device user but for terms of simplicity this is ignored.)<br>But then some strange things start happening&#8230; multiple devices do this simultaneous on picks on the same warehouse shipment, etc&#8230; And online users also to things. So locking and deadlock issues occur.<br><br>And fixing those took lot more time than initially expected.<\/p>\n\n\n\n<p>So be careful and think deeply on how the webservices will be used in the multi-user world. A device user has no Business Central page on which he can take action in a simple manner.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Offering business central webservices to the world is made easy in this ERP system. Offering fast, reliable webservices is somewhat more challenging. When you first start with webservices, and a customer ask the question: &#8216;I have and android app with which I pick articles for a weborder. When the weborder is picked completely on de&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,3],"tags":[26,37],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-development","category-dynamics-nav-business-central","tag-business-central","tag-webservice"],"_links":{"self":[{"href":"https:\/\/www.gccdat.be\/main\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gccdat.be\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gccdat.be\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gccdat.be\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gccdat.be\/main\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":1,"href":"https:\/\/www.gccdat.be\/main\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":172,"href":"https:\/\/www.gccdat.be\/main\/wp-json\/wp\/v2\/posts\/171\/revisions\/172"}],"wp:attachment":[{"href":"https:\/\/www.gccdat.be\/main\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gccdat.be\/main\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gccdat.be\/main\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}