Giter VIP home page Giter VIP logo

postorderswebservice's Introduction

Post Orders Web Service

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.

Overview

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.

increment

Getting Started

  1. If you aren't familar with building AL extensions you can use the Microsoft documentation to get started.
  2. The Tab50210.SCPostTransactions.al file can be modified as needed to use additional logic.
  3. After publishing the extension you will be able to post batches using a json format similar to Sample.json

Troubleshooting

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 [email protected] (might take a few days)

Updates

  • 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!

postorderswebservice's People

Contributors

ethan-sorenson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.