So a quick refresh in Magento shows that the GP customer ID of JACOBC0001 has now been added to the Magento user record. Then doing a quick search on JACOBC in GP, you'll see on my developer's 4K, terribly small view, that our record for Jacob, included syncing the addresses with both the billing and shipping addresses has been done. For this client, we've also created the ability to create users in either Magento or GP and have them sync in either direction, including user edits. Now, the most common integration workflow we do is pushing orders from the storefront into the ERP, but many clients, like this one, want all orders, even those entered directly into their ERP by their sales team, to be pulled and published to the storefront so that their customers can view and track all orders, whether placed online or by phone, email, or fax.
So let's show the reverse publishing of an order placed directly into GP. We've already started an order for 45 bushings at $45.95 each and entered our own shipping rate of $123.45. We'll save the order in GP and take note that the order number is JACOBC001-009. Refreshing our GP orders list, here is our complete order. Jumping into Hangfire will trigger the order's GP to Magento job and drill in to watch it process. You can see it searches for all orders, then finds, package up, validates, if the order already exists in Magento, and when it sees that it does not, processes the order. Looking up the new order in Magento, you can see that it's for our 45 units at the price and shipping cost mentioned before, but we've also added some additional helpful information.