This extension creates a web service for posting transactions.
The Extension now supports the following entities:
- Sales Order
- Sales Invoice
- Sales Credit Memo
- Purchase Order
- Purchase Invoice
- Purchase Credit Memo
The standard Business Central web services support posting transactions with bound services as documented here. This method does not work with SmartConnect or allow batch posting.
This Extension recreates the Batch Posting window seen below. The Codeunits Cod50213.SCSalesPostingProcedures.al and Cod50214.SCPurchPostingProcedures.al use the standard posting codeunits to post the batches.
- If you aren't familar with building AL extensions you can use the Microsoft documentation to get started.
- The Tab50210.SCPostTransactions.al file can be modified as needed to use additional logic.
- After publishing the extension you will be able to post batches using a json format similar to Sample.json
Web Service isn't available after publishing
- Make sure the service is published as outlined here.
- Make sure the service is named as expected ex. /ODataV4/Company('Sample')/SCPostTransactionBatch
Something else isn't working properly
- Use github's issue reporter on the right
- Send me an email ethan.sorenson@eonesolutions.com (might take a few days)
- 1.0.0.1 first release on BC v14
- 1.0.0.2 updated for BC v16, added support for Purchase Transactions
- 1.0.0.3 updated for BC v17, replaced obsolete references
Enjoy!