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:

  1. In Business Central, open the vendor record.
  2. Assign a valid Vendor Posting Group code from your company’s list.
  3. Save and retry the sync in Ramp.

2. Update the Vendor Template defaults in Business Central:

  1. Go to Vendor Templates and open the template used for API-created vendors.
  2. Set the Vendor Posting Group to an existing code.
  3. In Purchases and Payables Setup, confirm the Default Vendor Template Code points to this template.
  4. Retry the vendor creation or failed sync.

3. If creating vendors via API:

  1. Ensure you include valid posting group fields such as vendorPostingGroup: "VEND" and genBusPostingGroup: "GENERAL".
  2. Retry the sync.