Third Parties
In this article, you will learn how to set up a vendor and customer and export them from Business Central to Pulpo WMS.
Vendor
Before exporting Purchase Documents to Pulpo WMS, we need to have Vendors in Pulpo WMS.
Based on "Export Vendors in Bulk" field from Setup, next options are available:
- Export of all vendors: export all vendors with job queue
- Single vendor export: export automatically before Purchase Document is exported (recommended)
- Export is also possible from action on Vendor Card
Customer
Before exporting Sales Documents to Pulpo WMS, we can have Customers in Pulpo WMS.
Based on "Export Customers in Bulk" field from Setup, next options are available:
- Export of all customers: export all customers with job queue
- Single customer export: export in the same API call in which sales document is exported (recommended)
- Export is also possible from action on Customer Card
Export
If third parties are exported for the first time, POST /iam/bulk/third_parties or POST /iam/third_parties Pulpo WMS API is used. When third party is successfully exported, Pulpo WMS ID is saved in Vendor/Customer table, along with last export date time. If third parties are already exported before, they will be exported next time only if there has been change. Update is done to PUT /iam/bulk/third_parties or PUT /iam/third_parties/%1 Pulpo WMS API.
It’s possible to export single item directly from Item Card or Item Variant Card using Pulpo WMS action.
After each API call is done, new entry is saved in Request Log table with type Third Party. In case of errors or incomplete data, result will be saved in this log.