Microsoft Dynamics BC Sync Error | Vendor Posting Group must have a value in {vendor} It cannot be zero or empty.
Steps to resolve the Vendor Posting Group error in Business Central:
1. Set the Vendor Posting Group directly on the vendor:
- In Business Central, open the vendor record.
- Assign a valid Vendor Posting Group code from your company’s list.
- Save and retry the sync in Ramp.
2. Update the Vendor Template defaults in Business Central:
- Go to Vendor Templates and open the template used for API-created vendors.
- Set the Vendor Posting Group to an existing code.
- In Purchases and Payables Setup, confirm the Default Vendor Template Code points to this template.
- Retry the vendor creation or failed sync.
3. If creating vendors via API:
- Ensure you include valid posting group fields such as vendorPostingGroup: "VEND" and genBusPostingGroup: "GENERAL".
- Retry the sync.