Automatic Discount Functions isn't working for B2B sessions

I am developing an app to automatically create volume discounts and everything works correctly for general users, but when entering as a B2B user the discount does not apply.

I read the link https://shopify.dev/changelog/automatic-discount-functions-now-apply-to-b2b-sessions and according to this it should be applied automatically but it seems not to be, has anyone else had this problem?

What I want to achieve is that if my B2B user has a price assigned in their catalog, they will be charged this price, but if not, the volume discount will be applied.

General users:

B2B users:

In this case the Snowboard Oxigen should have the volume discount

1 Like