I need to validate the financial dimensions on sales order with the advance rules structure setup. The validation would be done before invoice or delivery note. I have checked the DimensionValidation::validateDefaultDimension method but it only validates the dimension attribute values. I also had a look on DimensionValidation::validateByTreeForCombination method but this method is used with combination id and i think this requires the main account as well. I am wondering whether it is possible to validate it using default dimension or not?
*This post is locked for comments
I have the same question (0)