Two days back one of the customer asked me is there any way that I can post sales transactions using configuration package and I said yes it is possible to do that by using processing rules in configuration package. Today’s blog post will explain how it is possible.
In this blog post we will see how we can post sales transaction using configuration package.
Step 1:- Create configuration package for table sales header and sales line.

Step 2 :- Select required fields in each table .
I select required fields as below in each table as below


Step 3 :- Set the parent table id against Sales Line Table

Step 4 :- Set up the processing rules.
Select table 36 and click on table –> Processing rules.

Step 5:- Set up Action and processing filters.
In Processing rules select desire action as below and set up processing filters.

I set filter for document type =order and set action as Ship
Filters

Action

Step 6 :- Export the package in excel

Step 7 :- Add the required data in excel file


Step 8 :-Import the data back in package

Step 9 :- Apply the package

Step 10 :- Navigate to posted shipment to check the posted shipment.

That’s it so now we don’t need to write xmlport and code unit to import data and post.
Isn’t that cool ???
Stay tuned for more.
2 thoughts on “How to Post Transactions using Configuration Package in business central”