Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On this page

Table of Contents
maxLevel3
absoluteUrltrue

...

Creating an invoice when a sales order is fulfilled requires that you create the invoice in your ERP system and then manually upload/enter it into in the EDI gateway. This is mostly mainly a manual process which that utilizes a lot of significant time and effort. In addition to that, it is a challenge challenging to handle errors and any changes in the expected schema. 

SnapLogic's B2B solution helps you setup a Pipeline that handles can automatically create the invoice creation aspect. This use case demonstrates how you can leverage SnapLogic to create invoices for multiple fulfilled sales orders in NetSuite and then send these invoices to the EDI gateway's SFTP site. 

The SnapLogic Pipeline Solution

The following Pipeline, when executed, creates an invoice for every fulfilled order in Netsuite NetSuite and sends the invoice to the EDI gateway. 

...

This Pipeline utilizes an expression library called helpers. You will need to can download and import this expression library to execute this Pipeline correctly. Download the Pipeline and the expression library from the Downloads section belowand the above Pipeline from the Downloads section below into your SnapLogic org using your own dataset.

This Pipeline performs the following tasks:

Task1Task 1: Reading and Mapping the NetSuite Sales Order

...

This enables us to retrieve the order's current state. 

Task 2: Creating the Item Fulfillment

Item fulfillment in any business case is a manual process. A sales order is deemed fulfilled only after the merchandise/product/service has been shipped for delivery. In our use case, we simulate that process by marking the sales orders as fulfilled or "_shipped". This part is carried out by the Snaps labelled Root Mapper, Item Mapper, and Create Item Fulfillment. All these Snaps work together to provide the Internal ID.

...