1b.app
Link copied -

Need an estimate for price recalculation - change the logic of applying the rules

There was a question https://1b.app/ru/support/stock/11160-ne-srabativaet-uslovie-pravila-perescheta/
The recalculation needs to work like this:
1) If a supplier is specified in the rule, apply it when taking the price from the specified supplier, otherwise do not apply
2) If a warehouse is specified in the rule, apply it if we take the price from the specified warehouse, otherwise do not apply
3) If both supplier and warehouse are specified - apply (if posting from the specified supplier to the specified warehouse), otherwise do not apply
4) And separately, it must be provided that it is possible to apply the rule without a supplier and a warehouse if a rule for a supplier or a warehouse is not found for the product (depending on which price is selected). That is, you can specify in the rule that this rule is applied to all products for which the rule by conditions is not found.
5) It is necessary that the priorities, model range and other additional conditions in the rule work
Can it
Original question is available on version: ru

Answers:

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
This setting is partially suitable, but it always takes into account both the supplier and the warehouse
Perhaps we can make the following options in the settings of the recalculation rule:
1) warehouse rule - we can choose both a warehouse and a supplier, while the warehouse is required
- if only a warehouse is selected, then apply for all goods for which the price of the selected warehouse is taken into account
- if if both a warehouse and a supplier are selected, then apply according to the conditions above only if the posting is from the specified supplier
2) Supplier rule - we can only select a supplier
- if only a supplier is selected - for all goods for which we apply the price of the selected supplier, it is mandatory to select
3) General rule - we can choose both a warehouse and a supplier
- apply for those goods for which there is no supplier or warehouse rule or does not pass according to the conditions (price, brand, additional field)
24.11.2021, 00:01
Original comment available on version: ru


Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment