Syncing Tab and Grid using different Views to the same primary DAC - acumatica

I have a grid and a tab that use the same primary DAC. I created a second view for the Tab per Acumatica. My issue is that the Tab and grid do not stay in Sync. Added RepaintControls="All" to AutoCallback and the Tab is in Sync, but the Grid no longer allows adding a row because it immediately repaints the Grid. All the other tabs on the screen work without using the Repaint Controls.

The reason it was not working was a Space in the following:
RepaintControlsIDs="gridmatl,gridStep,gridTool,gridOvhd,totalsform, outsideProcessingform"
Removed the space;
RepaintControlsIDs="gridmatl,gridStep,gridTool,gridOvhd,totalsform,outsideProcessingform"
Now the tab works perfectly fine.

Related

Android studio Scroll View auto scroll Issue

I have been working on a app that allows user to fill details on a form but while making the form in design view one problem has slowed me down so much.
i am using a scroll view so every new item gets added at the bottom so its always off screen.
i scrolls down to see how it looks but after i do anything the scroll view auto scrolls to the top so i have to scroll down again and again.
is there a way to stop auto scrolling to top when code get updated in the editor.

How can I hide acumatica Bills of material and Production Orders all screens using code

How can I hide acumatica Bills of material and Production Orders all screens using code.
While publish my customization i ant to hide this two workspace and its Tiles and Screens.
If I understand correctly current issue is hiding the tile item.
Try opening the workspace, then click on the three dots menu and select Edit Menu.
Hover the mouse on the tile and click on the red X button to remove it.
After this change, add sitemap entry in customization (if it's not already there) or use reload from database button. I haven't tested it but this used to work in previous Acumatica versions.
As it was mentioned in comments there is no official programmatic interface to manipulate the tile item.

Is there a way to set the default order of grid columns in a custom screen?

I have a custom screen with a grid section, and I've dragged the columns in the Customization Project Editor grid fields section to the order that I want them. I've unpublished all, republished, and reset grid fields to default and they still don't show up in the order I have them in in the Customization Project Editor grid section. Nothing seems to make any difference. Is there somewhere I can set the default order besides the customization editor? Where would the table be that holds the field orders, as perhaps editing that would help...
Any ideas?
Acumatica is keeping the Grid configuration for users in the GridPreferences table.
I recommend unpublishing the package and publishing back using the Publish with Cleanup action. If that doesn't work try to reset the configuration of the Grid with Reset To Default button. If that doesn't work too, then delete the record for that Screen for your user from the GridPreferences table.

How to deactivate all widgets except one on form startup or show in PyQt5?

I have designed a QDialog form on which have placed different widgets to do some calculations.
However, everything is working according to plans.
Except that I want to disable all widgets except one for initial input.
I want widgets to follow tab order. After being done entering data, it should trigger or enable the next button to the end.
Previous widgets should loose focus and become disabled as soon as am done with them. But when I click the last button, the first widget should become active again, to allow fresh entry of data.
I used PyQt5 designer version 5.11 to design.

Subgrids only show 2 rows on Form / White space increases with each update of Form

The subgrids on my Form are set to Number of Rows: 250, and Automatically expand to use available space is checked.
This works fine for a short time, and the subgrids do dynamically size themselves.
However, ANY time new customizations are published, the subgrids go back to showing only 2 rows and some white space is added after the subgrid. Over time, the whitespace appears to increase. When I go back to the Form editor, the section containing the subgrid is all wonky looking (extra spaces under the subgrid). If I check the properties of the subgrid, they still show as indicated above.
As I understand it, this was to have been resolved with Rollup 17. The rollup download page indicates this as one of the bugs that were fixed: Removing / Adding any field to the form after enabling the option "Automatically expand to use available space" causes the sub grid to shrink or resize to much smaller in size.
However, the problem persists (and it's the most frustrating thing ever!)
Does anyone know how to resolve this? Alternatively, does anyone know how I can contact Microsoft to inform them of this issue without them charging me for a solution?
If memory serves this happens when more than one SUBGRID , IFRAME or TEXTAREA are set to automatically expand although only a single auto expand element is allowed / supported.
You need to reset all element with auto expand Save , Publish and then set the SUBGRID with auto expand again.
Dynamics CRM - Thinking outside the BOX
HTH

Resources