In the NetSuite procure-to-pay: EDI for B2B Manager template, EDI (B2B Manager) integrates with NetSuite and enables you to create a quick, streamlined, and efficient procure-to-pay process.
The template flows have built-in NetSuite steps and allow you to create the EDI trading partner steps according to your scenario.
Note
After you create the EDI trading partner steps, use the script (links) provided in the flows below for transformations. Copy and paste the scripts, where required, in these flows:
-
EDI purchase order acknowledgments (855) to NetSuite purchase orders (update)
-
EDI advance shipment notices (856) to NetSuite item fulfillments (add)
-
EDI invoice (810) to NetSuite vendor bill (add)
This flow gets the approved purchase orders from NetSuite and posts new purchase orders (850) to the EDI trading partner.
Flow settings
The flow gets the purchase order transactions from NetSuite on a scheduled basis. You can configure the schedule if required.
Flow steps
|
Step |
Description |
|---|---|
|
Built-in NetSuite export |
Get purchase orders – This built-in template step gets new purchase orders from NetSuite. You can configure the export settings if required. |
|
Create an import to an EDI trading partner, or use an existing one based on your scenario |
Post orders to import/destination app – Create an import using a trading partner, AS2, FTP, or VAN connection. To create the import, see also EDI flows. |
This flow gets purchase order acknowledgments from the EDI trading partner and updates the purchase orders in NetSuite. The flow looks for order details from the purchase order ID, trading partner, and ISAID fields. It updates only the details on the NetSuite purchase order and does not create any records.
If you configure multiple sources, the flow syncs the purchase order acknowledgment from all sources to NetSuite
Flow steps
|
Step |
Description |
|---|---|
|
Create an export from an EDI trading partner, or use an existing one based on your scenario |
Get purchase order acknowledgments – Create an export using a trading partner, AS2 FTP, or VAN connection to get the purchase order acknowledgments. To create the export, see also EDI flows. Add a transformation: You must add a script, EDI 855 to NS Purchase Order, to transform the exported data (EDI JSON) to canonical JSON format for the next step.
|
|
Built-in NetSuite import |
Update purchase orders - This built-in template step updates purchase orders in NetSuite based on the purchase order acknowledgments from the EDI trading partner. The step includes a preMap hook and mappings that help to update the NetSuite purchase orders. You can configure the import settings in NetSuite if required. |
This flow gets the EDI shipment notices from the EDI trading partner and updates the NetSuite item fulfillment records with the status as Shipped.
Important
This flow supports item fulfillment creation for a drop ship process. In case of a different shipment process, customize the flow accordingly.
It gets shipment notices from the EDI partner since the last flow run and creates an item fulfillment in NetSuite.
Important
-
Purchase orders must exist in NetSuite
-
Map shipping and payment methods between the EDI trading partner and NetSuite
Flow steps
|
Step |
Description |
|---|---|
|
Create an export from an EDI trading partner, or use an existing one based on your scenario |
Get advance shipment notices – Create an export using a trading partner, AS2 FTP, or VAN connection to get the purchase order acknowledgments. To create the export, see also EDI flows. Add a transformation: You must add a script, EDI ASN 856 to NS Item Fulfilment, to transform the exported data (EDI JSON) to canonical JSON format for the next step.
Add a Pre save page hook – You must create/add a PreSave page hook. |
|
Built-in NetSuite lookup |
Lookup purchase orders - This built-in template step looks up NetSuite IDs with the status as Shipped in purchase orders. The step includes results mapping. The lookup data is then modified using the included post-response map hook. You can configure the lookup settings if required. |
|
Built-in NetSuite import |
Create item fulfillment – This built-in template step creates item fulfillment in NetSuite for the shipped items. The step includes a pre-map hook and a mapping of the results. You can configure the import settings if required. |
|
Built-in NetSuite import |
Update NetSuite item fulfillment – This built-in template step updates the item fulfillment with a transaction number. Based on the input filter, only records with a REF_CN or Reference Identification move to this step. The step includes mapping in which the reference identification is mapped to the package tracking number. You can configure the import settings if required. |
This flow generates the NetSuite vendor bill based on the EDI invoice. This scheduled flow picks the EDI invoices created since the last flow run.
Flow steps
|
Step |
Description |
|---|---|
|
Create an export from an EDI trading partner, or use an existing one based on your scenario |
Get invoice – Create an export using a trading partner, AS2 FTP, or VAN connection to get the EDI invoice. To create the export, see also EDI flows. Add a transformation: You must add a script, EDI Invoice 810 to NS Vendor Bill, to transform the exported data (EDI JSON) to canonical JSON format for the next step.
|
|
Built-in NetSuite import |
Create vendor bill – This built-in template step creates vendor bills to NetSuite for the EDI invoices. The step includes a mapping of the results. You can configure the import settings if required. |
This flow gets functional acknowledgments (997) from the Celigo platform (integrator.io) and sends it to the EDI partner. It also updates the EDI transaction status in the EDI activity dashboard.
Flow steps
|
Steps |
Description |
|---|---|
|
Built-in integrator.io export |
Listen for completed inbound flows – This built-in template step listens for completed inbound flows, based on the export step in which the listener is included and gets the 997 docs. For details, see Generate functional acknowledgment for an EDI X12 transaction NoteYou must add the listener in the export, from which you want to get the functional acknowledgments. |
|
Create an import |
Post functional acknowledgments – Create an import to send these 997 docs from the Celigo platform to the EDI trading partner. To create the import, see Generate functional acknowledgment for an EDI X12 transaction |
This flow gets functional acknowledgments (997) from the EDI trading partner. It also reconciles and updates the EDI transaction status in the EDI activity dashboard.
Flow steps
|
Step |
Description |
|---|---|
|
Create an export |
Get functional acknowledgments – Gets the 997 docs from the EDI trading partner. To create the export, see Reconcile functional acknowledgment for an EDI transaction |
|
Built-in integrator.io import |
Update transaction status in dashboard – This built-in template import step sends the 997 docs to the Celigo platform to reconcile them and updates the dashboard. For details, see Reconcile functional acknowledgment for an EDI transaction |