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
.
allowupload
property controls display of load records file
toolbar button.
Comments
Post a Comment