ManualDoc:T8A7BC392A4D548E1B97E11548E20E5F2
Openbravo ships three different rules by default:
- Unique Attribute: All the stock proposed to be used must be of the same attribute set value. It returns the first attribute set value that is found with enough quantity to fulfill the requirement. If there isn't any attribute set value with enough stock no stock is proposed. This is a excluding rule.
- Unique Storage Bin: All the stock proposed must come from the same storage bin. It returns the stock from the first storage bin found with enough quantity. If there is no storage bin with enough quantity then the stock is get from any storage bin. This is a preference rule and not a excluding rule
- and Default Warehouse Rule: The default rule does not restrict anything and all the available stock from the on hand warehouses is returned. This rule can be used in Sales Orders whenever it is desired to overwrite a rule defined in the warehouse to not apply any rule.