I’m new to acumatica. I have customized a form (PI301000) . In this form, there is a grid in the tab like below.
I want to move the ‘Add purchase’ button with the action into the grid toll bar. But when I was trying drag and drop button into the ActionBar - custom items in the project editor, It shows me the below error.
I checked whether there is another action using the same key but this is the only action I have defined except ‘Print report’. can someone help me with this issue please?
Thank you.
Best answer by Django
This is the dreaded error when you’re customizing a screen. You might have to add this manually by editing the .aspx. I’ve had an issue where adding a dialog box would instantly corrupt by screen but I haven’t had a chance to revisit that yet.
I did have this issue the other way re-adding a control to a screen and I found that the screen aspx left behind some XML when I removed the control to re-add it. I edited out the code that was left behind and I was able to add the control without an issue. And from what I could see there were no duplicate IDs but maybe the message was referring to duplicate entity values within the aspx vs a value with ID= that is duplicated.
Have a look at the .aspx before and after you add the control and see if you can identify what the issue might be.
This is the dreaded error when you’re customizing a screen. You might have to add this manually by editing the .aspx. I’ve had an issue where adding a dialog box would instantly corrupt by screen but I haven’t had a chance to revisit that yet.
I did have this issue the other way re-adding a control to a screen and I found that the screen aspx left behind some XML when I removed the control to re-add it. I edited out the code that was left behind and I was able to add the control without an issue. And from what I could see there were no duplicate IDs but maybe the message was referring to duplicate entity values within the aspx vs a value with ID= that is duplicated.
Have a look at the .aspx before and after you add the control and see if you can identify what the issue might be.