Reputation: 95
I was asked to create a new maint page where data could be added. Just like in the T100 series part1:Maintenance pages. Immediately a few issues arise, why in the Acumatica ERP project I am unable to complete the steps done in the Framework application? I tried to add a new item -> PXgraph option(as described in the instructions) was not available, I couldn’t even add my own c# class from scratch the option was not listed. Instead it just listed page options(will add screenshots below). I attempted to create a new .cs file outside the scope of the project and import it into the file and it wouldn’t recognize it as an available file to import. In the end I attempted to manually drag and drop the file into the Objects folder I wanted the file to be a part of.
VERSUS ERP Add new item
Secondly, I created a new ListView in the page. I was not able to choose my Typename:SO.SOusrPhoneExtMaint.cs file from the list of options. I have rebuilt the project numerous times to see if that was the issue. I manually added the TypeName by going into the source of the aspx and typing it my graph. When I tested the graph I got the following errors that “Invalid type PX.Objects.SO.SOUsrPhoneExtMaint specified for datasource.” My question is why is there a discrepancy between the framework and the erp application for customization and how do I customize the graphs and pages if they don’t take the same approach as the TXX development guides. If I am doing something fundamentally wrong I'd like to know what is the right approach.
Upvotes: 0
Views: 734
Reputation: 104
I recommend that you use the Customization Project Editor for any customization of Acumatica ERP. To add a custom form, perform the following actions:
The New Screen wizard creates the form template and includes it as the following items in the customization project:
(For an example see Lesson 11: Creating a Custom Form of the T300 Acumatica Customization Platform Training Guide)
Further you can develop the items by using the tools you prefer. The custom form will be added to Acumatica ERP after the project is published.
Upvotes: 2