Menu
Feedback
Start here

Known issues

Known issues
Sales channel configured in B2B Settings is not assigned after approving Organizations
B2B
ID: 866933
Backlog
Published on7/21/2023
Last updated on7/21/2023
1 min read

Summary

The sales channel configured in B2B Organizations Settings is not saved in the Organization Details.

Simulation

  • Configure a default sales channel in B2B Organizations Settings;
  • Create an Organization Request;
  • Approve the Organization Request;
  • Check the Organization details; it won't have any sales channel assigned.

Workaround

  • Assign the sales channel to the organization via admin;

  • Create a trigger for the organizations entity's schema:

    "v-triggers": [{ "name": "define-salesChannel-default", "active": true, "condition": "salesChannel is null", "action": { "type": "save", "dataEntity": "organizations", "json": { "id": "{!id}", "salesChannel": "{add here the salesChannelId defined in B2B Organizations Settings}" } } }]

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback