a. When a invoice type is selected as - credit memo/debit memo/standard, then document category should populate default values which are already set.
b. If this match condition is violated, we need to prevent the record from being saved (if the record is saved, the document category is assigned, and the error cannot be corrected).
Parent field: Invoice type
child field: document category