Adding a new Financial Dimension tab in purchase requisition form in D365 FO
Adding a new Financial Dimension tab in the purchase requisition form in D365 FO. For the Purchase requisition table "Save Data per company" is set No . So we need to add some extra code. For the Line table in standard they have developed. I took the reference from there. Step 1: Add dimension field in Table. Step 2: Add dimension control in the form. In form init method. [ExtensionOf(formStr(PurchReqTable))] final class PurchReqTable_Extension { public void init() { next init(); DimensionEntryControl fCC = DimensionEntryControl as DimensionEntryControl; fCC.parmValidateBlockedForManualEntry(true); } } DataSource Active method. [FormDataSourceEventHandler(formDataSourceStr(PurchReqTable, ...