Hello! We're currently getting this error, while c...
# general
l
Hello! We're currently getting this error, while confirming an order in SuiteCommerce:
Transaction subsidiary <B> is not valid for location <LA>. Please choose a different location
. We're trying to enable customers belonging to a new subsidiary
B
to buy from the same website where customers belonging to an existing subsidiary
A
are currently buying. As we did for the already active location
LA
(linked to the subsidiary
A
), we enabled the "MAKE INVENTORY AVAILABLE IN WEB STORE" flag for the location
LB
(linked to the subsidiary
B
), but it seems that
LA
is picked instead of
LB
... Thanks a lot for your help and advices!
a
Sounds like when your order is created, as you think, the location/subsidiary mismatch is occuring. Personally, Id tried to create a beforeSubmit userevent script to update the location before added to NetSuite.
l
Thank you! Your suggestion was useful to investigate and realize that an existing workflow that is was not aware of, was actually setting the location (based on a set of superseded business rules). I just had to update it. Thank you for your support!