This change permit to extend the functionality of the GL Distribution . Extending the condition with a SQLWHERE you can user every field inside each dimension of the fact_acct
SQL WHERE : @M_Product_ID@ IN (SELECT M_Product_ID FROM M_Product WHERE Description='X') OR @C_BPartner_ID@ IN (SELECT C_BPartner_ID from C_BPartner WHERE Description='Z')
So the GL Distribution could be applyed where the product is in the select e.g. has a category group or whatever
This change permit to extend the functionality of the GL Distribution . Extending the condition with a SQLWHERE you can user every field inside each dimension of the fact_acct
SQL WHERE : @M_Product_ID@ IN (SELECT M_Product_ID FROM M_Product WHERE Description='X') OR @C_BPartner_ID@ IN (SELECT C_BPartner_ID from C_BPartner WHERE Description='Z')
So the GL Distribution could be applyed where the product is in the select e.g. has a category group or whatever
Tested on iDempiere 7.1