{"section":"known-issues","requestedLocale":"en","requestedSlug":"sales-channel-configured-in-b2b-settings-is-not-assigned-after-approving-organizations","locale":"en","slug":"sales-channel-configured-in-b2b-settings-is-not-assigned-after-approving-organizations","path":"docs/en/known-issues/B2B/sales-channel-configured-in-b2b-settings-is-not-assigned-after-approving-organizations.md","branch":"main","content":"## Summary\n\n\nThe sales channel configured in B2B Organizations Settings is not saved in the Organization Details.\n\n\n##\n\n## Simulation\n\n\n\n- Configure a default sales channel in B2B Organizations Settings;\n- Create an Organization Request;\n- Approve the Organization Request;\n- Check the Organization details; it won't have any sales channel assigned.\n\n\n##\n\n## Workaround\n\n\n\n- Assign the sales channel to the organization via admin;\n- Create a trigger for the organizations entity's schema:\n\n    \"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\\}\" \\} \\} \\}]"}