Skip to main content

I’m trying to get the upload icon to show for a grid on a custom screen and custom DAC

I found a blog post from Sergey and I put the following in my graph:

        PXImport]
        public PXSelect<ICAllocationAccounts> ICAllocationAccounts;

I think that is all that was required.  The icon did not show.  So I added the following changes to the screen in the editor under Action Bar - Actions - Upload:

 

Still no love from Acumatica.

Any ideas?  

Hi @joe21 

 

You need to set also the mode of the grid:

 


Thanks @Leonardo Justiniano !!!!

Worked like a charm.


Hi Joe,

Please specify [PXImport(typeof(ICAllocationAccounts))]


OK...button shows but it is grayed out.  Can my graph be doing something that would cause it to be disabled?

 


Try explicitly enabling the following property:

Grid > Base Properties > Action Bar > Actions > Upload > Enabled - True


@joe21 

So far you have:

  • Grid > Base Properties > Action Bar > Actions > Upload > Enabled = True (first screenshot /@Raj Gopinathan)
  • Mode > AllowUpdate = true
  • iPXImport] on the view 

That should be sufficient. The only thing sometimes affects is the SkinID. Try setting it to “Details”


I’m an IDIOT!  :-)

I had actually created a new view (see The way I had it)

When @Leonardo Justiniano  said “iPXImport] on the view, I realized I had created a totally new view and by putting the PXImport above the actual view for the Grid, it works.  

The way I had it:
public SelectFrom<ICAllocationAccounts>. Where<ICAllocationAccounts.allocationID.IsEqual<ICAllocationCode.allocationID.FromCurrent>>.View AllocationAccounts;

/PXImport(typeof(ICAllocationAccounts))]
public PXSelect<ICAllocationAccounts> ICAllocationAccounts;


The way it should be:
ePXImport(typeof(ICAllocationAccounts))]
public SelectFrom<ICAllocationAccounts>. Where<ICAllocationAccounts.allocationID.IsEqual<ICAllocationCode.allocationID.FromCurrent>>.View AllocationAccounts;

 


Reply