SOOrder Entry Screen not working - acumatica

My SOOrder entry screen grid is automatically taking me to the SOOrder page with a new order instead of showing the grid anytime I attempt to navigate to SOOrders.
When I edit the Generic Inquiry, it shows an error next to the Entry Page selector that has SOOrder selected:
It also does not allow me to select any fields on the Navigation tab -> Field selector to associate with a parameter for the navigation.
Is there any way to fix this?

Related

How to add the OrderNbr hyperlink in SOLine

I have a grid which displays only SOLine and SOOrder data. In my case, SOLine is the main DAC, because the purpose of the grid is to perform mass updates of the transactions. I wish to add the OrderNbr in the grid, so the user can select and open the sales order popup. I notice the order number field does not appear as a hyperlink, if use SOOrder table in my grid. Next I try SOLine.orderNbr. However the field type is only TextEdit. Here is a workaround
I created the SOLine cache extended and defined a non-bound field. Something simple like ExtraSOOrder field. Next I create a PXAction which creates the SOOrderEntry graph and performs the redirect, and achieves the goal. I notice something odd in the grid. OrderNbr is displayed twice. Although the field is only added once in the grid, the webpage adds the field a second time. In fact, the user is unable to remove the duplicate order number field, in the column selector. The duplicate field has a yellow icon which I have not seen before.
What is the best way to add the redirect, to the sales order entry page? The behavior works perfectly for the Inventory item field in this grid. OrderNbr is more challenging.
All that was required was to add the SOOrder.orderNbr to the grid columns collection. Then assign the action to the Linkedcommand property, to that field. No need to create a cache extension for all of this.

How to show a custom filed in another page in different BLC?

For example, I had created a custom field 'Brand' at detail of stock items in BLC 'InventoryItemMaint'.
But how to show the 'Brand' custom field at detail of sale order page? In different BLC 'SOOrderEntry'.
I'm assuming you added your custom column to InventoryItem DAC like this:
First locate the other DAC where you want that custom field to appear. You can use Acumatica Inspect Element feature in Customization menu and then click on the grid where you want the field to appear:
This will tell you which DAC is bound to the grid, SOLine in this case:
SOLine contains a selector for the InventoryItem (SOLine.InventoryID). Add your custom field to SOLine InventoryItem selector so it becomes available in the selector window. You can do this by extending SOLine DAC, choose Add Field->Change Attributes of Base Field. The selector columns button will add stub code containing the existing columns, you can add your custom field in there:
This will make the custom column visible in Sales Order detail InventoryItem selector window:
Now you can add a new custom unbound (non-persisted) field to SOLine that will display your InventoryItem custom field using the SOLine InventoryItem selector:
Notice the PXFormula attribute that will fetch the custom field in InventoryItem DAC extension using SOLine.InventoryID selector:
[PXFormula(typeof(Selector<SOLine.inventoryID, PX.Objects.IN.InventoryItemExt.usrBrand>))]
Customize the Sales Order Entry screen to add the SOLine custom field to the detail grid:
Final result, custom field is displayed in Sales Order Entry screen detail grid:

Replicate Add button functionality on FormDetail screen

I need to create the button to replicate when user click "+" button on the top of the screen then populate value of the field.
Base.Insert.Press();
However, I have an issue that code above does not clear the form like when user click "+" button. I need to be able to clear the form after insert like when click Acumatica's "+" button. I have try following code in attempt to clear the form but no luck.
Base.Caches.Clear();
Base.Document.Cache.Clear();
Base.Document.Cache.ClearQueryCache();
Base.Document.View.RequestedRefresh();
The below code works in Sales order extension. What I did is; I cleared the whole graph and then inserted a new header record to the header cache.
this.Base.Clear();
SOOrder head = new SOOrder();
this.Base.Document.Insert(head);

Menus with multiple item-columns javaFX 8

My goals is to create a menu with multiple columns. I went about this by using GridPane, to which I added Labels. Then I inserted the GridPane in a PopOver. I also added action listeners to Labels So when the users click on a cell, I can do a certain action. My current implementation is based on a button. Once clicked, the PopOver will show up.
As an example, font names:
Is there a way to have this in a menu?
I tried making the MyGridPane class that extends MenuItem. It allows me to add the GridPane to the menu, but it only comes in as an ObjectID. If I want it visually, the only way I found was to
menuItem.setGraphic()
But this make the whole GridPane one item. The cells and their action listeners get ignored.
Is there a way to add a grid pane as a menu item?
Is there a way to add a grid pane as a menu item?
Yes, you can try as
CustomMenuItem menuItem = new CustomMenuItem(gridPane);
menuItem.setHideOnClick(false);
To visually disable the highlight color for that menu/menuitem, customize the related CSS selectors of menu/menuitem.

IOS: Tabbar Item -> Navigation Controller View -> Table View Item -> Detail View

Could someone help me, i'm looking for help for next question: i wanna change navigation controller's current view to table row item's detail view; my navigation contoller is located as tabbar's item, table and other buttons are located as a objects in navigation controller current view.
thanks in advance!

Resources