Hi,
When open Transaction detailed form (ex: PurchTable, SalesTable,etc), by default the form is opens in “Line view”. How/where to set this option to open the detailed form in “Header view”.
Thanks in advance,
Hi,
When open Transaction detailed form (ex: PurchTable, SalesTable,etc), by default the form is opens in “Line view”. How/where to set this option to open the detailed form in “Header view”.
Thanks in advance,
hi,
put this below code in run method in form after super();
element.task(1320);
regards,
Jacek
Thanks Jacek, it is working.
Can i know, what is the 1320 referring here. How can we determine this number?
Thanks in advance,
It’s a command ID.
Open SalesTable form (for example) in AOT and navigate to Design > ActionPabeHeader > SalesOrder > ShowGroup. You’ll find two command buttons there, HeaderViewButton and LineViewButton.
Open properties of HeaderViewButton and place the cursor to the value of its Command property. You’ll see “Header view: 1320” (i.e. command name and ID).