I am in the progress of updating classic menus to Kinetic menus and am currently working on the Part Class Maintenance menu.
On both the classic and Kinetic versions, there is the button to open the Approved Suppliers page with inherited context, however when attempting to open that menu through the kinetic version of Part Class Maintenance I end up with this Application Error:
Message: Object reference not set to an instance of an object.
Program: Erp.UI.AprvSupplierEntry.dll
Method: OnFormLoaded
I have been working with a colleague trying to figure out why this is happening but keep coming up empty.
Does anyone have experience with this sort of problem? Please ask if you need more information.
It would appear to work yes, I am no longer receiving that application error, but the menu doesnât seem to work. When I try to add a new approved supplier nothing happens and the menu remains with all fields set to read only.
Sorry Iâm unclear what you mean by âmenuâ
Are we talking main menu, menu maintenance, context menu, or loosely referring to ApprovedSuppliers App as a âmenuâ
The right-click context menu from partclassid indeed opens the AprvSuppliers App and indeed populates the ClassId, or no?
On the Part Class Maintenance menu in kinetic I first selected a part class. Then on the details page I pulled up the context menu by right-clicking on the âPart Classâ field and selected âApproved Supplierâ. This proceeds to open the Approved Supplier Maintenance menu in the classic format without the error I mentioned initially (which does appear when I use the three dot menu). The Approved Supplier Maintenance is blank and when I click on the add new section nothing happens.
(For context, the classic version of Part Class Maintenance that we have currently pulls up the Approved Supplier Maintenance menu blank, but then populates the part class field once a new approved supplier is selected)
For now I would like to open the Approved Supplier App in classic with it functioning the way it has for my company normally. I do intend to make it a Kinetic app down the line, but that is not my main priority now.
Okay, sorry cannot help with that as Iâve never opened classic. I believe however launching classic involves edge agent (which is working for you at least in part) but maybe not passing the PartClassID correctly.
For the Kinetic form, you could create a new Menu Item in Menu Maintenance.
Iâll add, Approved Suppliers App is an odd duck. It behaves differently based on whether a Class, Part, Lot, Operation, or Supplier are passed in.
I donât even see the app-open with epdebug in devtools