acumatica fastfilter (inventory item search within sales order entry grid) - acumatica

Looking to 'exclude' the inventory item description but 'add' a custom field against the inventory item master (called model).
I thought I found where this is stored in the aspx of the screen but any changes I make don't seem to make a difference.
Does anyone know if fastfilters can be edited/altered to exclude/include different fields? Thanks in advance.

FastFilter fields in Form/Detail inquiry grid are inclusive, you pick only the one you need, the others are excluded by default.
For an Inquiry Grid, modify the property FastFilterFields of the Grid element. The value is a comma separated list of the field names you want to use as fast filters:
For an Inquiry Grid inside a Selector popup window, select the RowTemplate Editor for the Selector and look for the FastFilterFields in the collapsible GridProperties section. If required, expirement with the FilterByAllFields property.

Related

Unable to view details of modified by on Custom List

As mentioned in the title above, I've added Created by and Modified by column field in my custom list.
But however, when i added a new item into the list, I was not able to see my name or the person's name, that creates the item.
Would like to know what are the possible reasons to this issue.
UPDATES:
Here is the issue i'm facing.
First of all you dont need to add CreatedBy, CreatedDate, ModifiedBy, ModifiedDate columns to lists these are added by default.
All you have to do is to edit the default view and add the columns to the default view, if you have a custom view edit it and add the columns.
When you add a column you get the option to add it to default view.
Doing the above will show the columns in the view.
How to change the view
Goto List Settings (Gear icon on right if O365 or Top Ribbon Menu)
On the bottom you will find the "Views" section
Click the "All Items" now you can see all the available columns the Created and CreatedBy will be there just tick it and remove your columns.
Press ok your columns will be displayed in the view with correct values.

How to add a foreign key reference to the primary key selector control

In the stock item screen, a custom grid is added. The DAC for the custom grid contains InventoryItem.inventoryID. That particular grid has a custom field in which the user wishes to search for, inside the inventory item selector control. I refer to the primary Inventory Item selector control for the stock item screen.
In normal circumstances, the customization manager allows you to select a particular field, and add that to the grid which appears inside the selector control. That is simple, since the field is a member of the same DAC. But in my case, I wish to add a column from the related data view. Since the primary data view has no knowledge of grid, the needed column is not available for selection. Also there is a high probability that records will be repeated inside the selector control, since the relation is one to many. This is acceptable.
I try the following suggestions.
1) use Cache_attached event handler, for InventoryItem.InventoryCD.
I add my own custom PXSelect statement which joins InventoryItem & CustomTable. But an error occurs: A foreign key reference cannot be created from the type 'PX.Data.PXSelectJoin`3[PX.Objects.IN.InventoryItem (ect)
2) Declare data view delegate for Items which yields type InventoryItem & CustomDAC. This approach returns no errors. However I am unable to select the user field, in the field selection panel.
3) Create a Project on InventoryItem DAC and write a PXSelect to join the two tables. I am unsure if this is the correct approach.
I wish to know if anyone has suggestions
You should follow the approach suggested here to concatenate field values from a related data view into a custom text column inside the InventoryItem table.

Changing Labels for a Single DAC Field Used Multiple Times

My scenario involves fetching data from a table that returns multiple results to be displayed. My problem is that when I add the fields on the screen, the labels are all the same. I am pulling notes from 3 different screens onto one screen to display for the user. The notes are from a Sales Order, Customer, and Inventory Item. The data is being pulled correctly for each screen, but the label for each text box is "NoteText." I would like to change these labels to more accurately reflect which screen the note is from.
Thanks.
If I'm understanding your question correctly, you'll want to use a Cache Attached event handler for the fields in question. CacheAttached event handlers allow you to change the attributes of a field within the graph.
[PXUIField(DisplayName = "SO Notes")]
protected void SOOrder_NoteText_CacheAttached(PXCache sender)
{}
This may be specific to my situation, but I found a solution. What I am doing is suppressing the generated titles and customizing RowSelecting() of the DAC to add my own titles within the NoteText based on the note's GraphType parameter. I have all other parameters to filter down to the three notes I would need to display for that specific page. I use the GraphType to insert the text in front of the note to generate my own label for it.

how to create dynamic filter in text area of spotfire

I want to create a dropdown in text area to filter data in table dynamically.
I have many entries under Filter "Task Description".
But I want to create a dropdown in text area with only below three entries out of all entries.
All - it will show the entire data
Prasanta - this selection will only show Prasanta related rows
Chandan - this selection should only show Chandan related rows.
Is it possible?
the best and simplest way to do this is with a Text Area visualization containing a Property Control. I'll give you a loose outline and you can use the Spotfire help on Property Controls to get more detail.
add a new Property Control of type Drop-down list to a Text Area
create a new Document Property of type string
set the property value through Expressions
the expressions you list here should evaluate to boolean true or false. for example, for Prasanta rows you might use [Task Description] = "Prasanta". the expression for All rows should be blank.
on the Data page of the filtered visualization's Properties, scroll down to Limit data using expression and click Edit...
from the middle pane, double click the name of the Document Property you created in step 2 above
test by selecting different items from the dropdown you created

XPages newbie - view columns in discussion database

I'm a traditional domino developer just beginning XPages. I'm working on modifying the standard 8.5.3 Domino discussion database. I've added some fields on the Main Topic and response forms, one called category. I've added a categorised column in the ($xpAllDocuments) view to the left of "Topic" for the category field. This works fine in Notes as you'd expect, but when the view is rendered in the All Documents xpage, the category twiste displays without any label. I'm not sure how to modify the column data for the xpage, as it seems to use a repeat? instead of a view?
Any help greatly appreciated, and apologies for the presumably basic enquiry!
You have to add the categories column to custom control allDocumentsView which renders the view for browser.
How to find out where to set the new categorized column? A good way is to look at the "All properties" of a certain element. For that, open the Source pane of custom control allDocumentsView, position cursor on <xe:dataView and look at "All Properties". If you hover over the properties' labels you get a helper window with a short explanation.
In your case, property categoryColumn is what you are looking for. Assuming you added a categorized column Categories to view ($xpAllDocuments) then you would have to put into property categoryColumn:
With that, your source code gets expanded by
<xe:this.categoryColumn>
<xe:viewCategoryColumn
columnName="Categories"
columnTitle="Categories">
</xe:viewCategoryColumn>
</xe:this.categoryColumn>
and you will see the added categorized column in your rendered XPage.
I don't know the discussion template in detail, but when the All Documents Xpage is using a repeat control, then you cannot expect an automatic category expand/collapse feature as in a Notes view.
If you want that, you need a View control on the Xpage.

Resources