In eXconnect, we have provided 2 ways as an option to determine b2b customers.
By Document - All backoffice invoices (INVOICE, INVWAYBILL, Tax Invoice) will be treated as B2B invoices
By Customer Attribute - If you select this option any customer who has a attribute isB2BCsutomer set as Yes will be treated as a B2B Customer
To add the isB2B customer dropdown attribute to the customer card in Erply Backoffice. Add the following script to the plugin section.
- // eXconnect B2B customer flag START
- $(document).ready(function () {
- var script_exconnect_b2b = document.createElement("script");
- script_exconnect_b2b.src = "https://erpplugins.s3-ap-southeast-2.amazonaws.com/exconnect/b2bcustomer-flag-bo.js?_t=" + Date.now(), document.getElementsByTagName("head")[0].appendChild(script_exconnect_b2b)
- });
- // eXconnect B2B customer flag END
Once this is added you should see the option in your left hand options on the customer card.