acumatica - Add Excel upload control to grid toolbar -


is there way grid control allows 1 upload data excel sheet? haven't found command put control on toolbar.

you need decorate data view pximportattribute.

example:

[pxviewname(messages.soline)] [pximport(typeof(soorder))] [pxcopypastehiddenfields(typeof(soline.completed))] public pxselect<soline, where<soline.ordertype, equal<current<soorder.ordertype>>,               and<soline.ordernbr, equal<current<soorder.ordernbr>>>>,orderby<asc<soline.ordertype, asc<soline.ordernbr, asc<soline.linenbr>>>>> transactions; 

pximport attribute enables user load data file grid. attribute placed on data view grid uses retrieve data.

we have used pximportattribute(type) constructor input parameter first (primary) dac referenced primary view of graph current view declared.

set grid's allowupload property true.

enter image description here

allowupload property controls display of load records file toolbar button.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -