Once we modified OOB Desktop requisition to Power App, Presentation is as below:
<?xml version="1.0" encoding="UTF-8"?>
<presentation id="mymr" ismobile="false" mboname="MR" resultstableid="results_showlist" version="6.0.0">
<page id="mainrec" scroll="false">
<include controltoclone="pageHeader" id="INCLUDE-pageHeader"/>
<clientarea id="clientarea">
<tabgroup id="maintabs" style="form">
<tab default="true" id="results" label="List" type="list">
<menubar event="search" id="actiontoolbar1" sourcemethod="getAppSearchOptions"/>
<table id="results_showlist" inputmode="readonly" label="Requisitions" mboname="MR" selectmode="multiple">
<tablebody displayrowsperpage="20" filterable="true" filterexpanded="true" id="results_showlist_tablebody">
<tablecol dataattribute="MRNUM" filterable="false" id="results_showlist_column_select" mxevent="toggleselectrow" mxevent_desc="Select Row {0}" sortable="false" type="event"/>
<tablecol dataattribute="MRNUM" id="results_showlist_column_link" mxevent="selectrecord" mxevent_desc="Go To %1" type="link" usefieldsizegroup="false"/>
<tablecol dataattribute="DESCRIPTION" id="results_showlist_column3"/>
<tablecol dataattribute="SITEID" id="results_showlist_column1"/>
<tablecol dataattribute="REQUESTEDBY" id="1459503413405" sortable="true"/>
<tablecol dataattribute="STATUS" id="1459503409686" mxevent="selectrecord" smartfilloff="true" sortable="true" type="link"/>
<tablecol filterable="false" id="results_bookmark" mxevent="BOOKMARK" mxevent_desc="Add to Bookmarks" mxevent_icon="btn_addtobookmarks.gif" sortable="false" type="event"/>
</tablebody>
</table>
</tab>
<tab id="main" label="Main" type="insert">
<section id="maintab_section">
<sectionrow id="1459505717341">
<sectioncol id="1459505742075">
<section id="1459506589670">
<multiparttextbox dataattribute="MRNUM" descdataattribute="DESCRIPTION" id="1459506848452"/>
<textbox dataattribute="MRDATE" id="maintab_attr9" lookup="datelookup"/>
<textbox dataattribute="STATUS" id="maintab_attr58"/>
<textbox dataattribute="REQUIREDDATE" id="maintab_attr10" lookup="datelookup"/>
<textbox dataattribute="status" id="1460071166518"/>
<pushbutton id="1460071179584" label="Change Status" mxevent="changestatus"/>
</section>
</sectioncol>
<sectioncol id="1459505717356">
<textbox dataattribute="REQUESTEDBY" id="maintab_attr7"/>
<textbox applink="person" dataattribute="requestedfor" id="1460062749328" lookup="person"/>
<multiparttextbox applink="wotrack" dataattribute="wonum" descdataattribute="workorder.description" descinputmode="readonly" id="1460062828905" lookup="WORKORDERISTASK" menutype="workorder"/>
<multiparttextbox applink="LOCATION,IPC" dataattribute="location" descdataattribute="LOCATIONS.DESCRIPTION" descinputmode="readonly" id="1460062940625" lookup="locations" menutype="locations"/>
<textbox dataattribute="gldebitacct" id="1460063105484" lookup="glnavigator"/>
</sectioncol>
</sectionrow>
<table beanclass="psdi.webclient.beans.desktopreq.MRActionsBean" id="1460063454172" label="Requisition Line Items" listeners="mrline0specification_pdspectable" orderby="mrlinenum" relationship="MRLINE">
<tablebody displayrowsperpage="20" filterable="true" filterexpanded="false" id="1460063454193">
<tablecol id="1460063454209" mxevent="toggledetailstate" mxevent_desc="Show Detail" type="event"/>
<tablecol dataattribute="MRLINENUM" id="1460063849285"/>
<tablecol dataattribute="qty" id="1460064848775"/>
<tablecol dataattribute="requireddate" id="1460064854269" lookup="datelookup"/>
<tablecol dataattribute="itemnum" id="1460064876504" lookup="item" menutype="NORMAL" ondatachange="resetchildren"/>
<tablecol dataattribute="description" id="1460064872194"/>
<tablecol applink="company" dataattribute="vendor" id="1460064858084" lookup="companies" menutype="NORMAL"/>
<tablecol applink="storeroom,ipc" dataattribute="storeloc" id="1460064861365" lookup="storeroom" menutype="NORMAL"/>
<tablecol dataattribute="linecost" id="1460065101279"/>
<tablecol id="1460065096801" mxevent="addtofav" mxevent_desc="Add to Favorites" mxevent_icon="btn_addtofavs.gif" type="event"/>
<tablecol id="1460065432385" mxevent="distcosts" mxevent_desc="Distribute Cost" mxevent_icon="btn_distributecost.gif" type="event"/>
<tablecol id="1460064866270" mxevent="instantdelete" mxevent_desc="Delete Row" mxevent_icon="btn_delete.gif" type="event"/>
</tablebody>
<tabledetails id="1460063454221">
<section id="1460065824242" label="Details">
<sectionrow id="1460065933510">
<sectioncol id="1460065943334">
<section id="1460066197867">
<textbox dataattribute="MRLINENUM" id="1460066248211" ondatachange="resetchildren"/>
<combobox dataattribute="linetype" id="1460066330906"/>
<multiparttextbox dataattribute="ITEMNUM" descdataattribute="DESCRIPTION" id="1460066336898" lookup="ITEM" menutype="ITEM"/>
<textbox dataattribute="ORDERUNIT" id="1460066363180" lookup="MEASUREUNIT"/>
<textbox dataattribute="INVENTORY.issueunit" id="1460066287119" inputmode="readonly"/>
<textbox dataattribute="conversion" id="1460066373434"/>
<textbox dataattribute="unitcost" id="1460067053118"/>
<textbox dataattribute="linecost" id="1460066360039"/>
<textbox dataattribute="currencycode" id="1460066823743" lookup="currency"/>
</section>
</sectioncol>
<sectioncol id="1460065933528">
<section id="1460066203759">
<textbox dataattribute="QTY" id="1460067204465"/>
<textbox applink="storeroom,ipc" dataattribute="storeloc" id="1460067207040" lookup="storeroom" menutype="normal"/>
<textbox dataattribute="requireddate" id="1460067209181" lookup="datelookup"/>
</section>
</sectioncol>
</sectionrow>
</section>
</tabledetails>
<buttongroup id="1460068167714">
<pushbutton id="1460068248661" label="New Row" mxevent="addrow"/>
<pushbutton id="14600681677142" label="Add Line Item" menutype="ADDLINEITEM"/>
</buttongroup>
</table>
</section>
</tab>
</tabgroup>
</clientarea>
<include controltoclone="pageFooter" id="INCLUDE-pageFooter"/>
</page>
<dialog id="CHANGESTATUS" label="Change Status" relationship="MRCHANGESTATUS">
<section border="true" datasrc="MAINRECORD" id="changestatus_grid1_1_1_grid3">
<multiparttextbox dataattribute="mrnum" descdataattribute="description" descinputmode="readonly" id="changestatus_grid1_1_1_grid3_1"/>
<multiparttextbox dataattribute="status" descdataattribute="statusdesc.description" descinputmode="readonly" id="changestatus_grid1_1_1_grid3_5"/>
</section>
<section id="changestatus_grid1_1_1_grid4">
<combobox dataattribute="status" id="changestatus_grid1_1_1_grid4_1"/>
<textbox dataattribute="statdate" id="changestatus_grid1_1_1_grid4_2" lookup="datelookup"/>
<textbox dataattribute="memo" id="changestatus_grid1_1_1_grid4_3"/>
</section>
<buttongroup id="changestatus_2">
<pushbutton clickmessage="Status has been changed." default="true" id="changestatus_2_1" label="OK" mxevent="dialogok"/>
<pushbutton id="changestatus_2_2" label="Cancel" mxevent="dialogcancel"/>
</buttongroup>
</dialog>
<dialog beanclass="psdi.webclient.system.beans.QbeBean" id="searchmore" inputmode="query" label="More Search Fields">
<section id="searchmore_1">
<textbox dataattribute="SITEID" id="searchmore_attr1"/>
<textbox dataattribute="MRNUM" id="searchmore_attr2"/>
<textbox dataattribute="DESCRIPTION" id="searchmore_attr3"/>
<textbox dataattribute="CHANGEDATE" id="searchmore_attr4" lookup="datelookup"/>
<textbox dataattribute="CHANGEBY" id="searchmore_attr5"/>
<textbox dataattribute="PRIORITY" id="searchmore_attr6"/>
<textbox dataattribute="REQUESTEDBY" id="searchmore_attr7"/>
<textbox dataattribute="PHONE" id="searchmore_attr8"/>
<textbox dataattribute="MRDATE" id="searchmore_attr9" lookup="datelookup"/>
<textbox dataattribute="REQUIREDDATE" id="searchmore_attr10" lookup="datelookup"/>
<textbox dataattribute="SHIPTO" id="searchmore_attr11"/>
<textbox dataattribute="DROPPOINT" id="searchmore_attr12"/>
<textbox dataattribute="TOTALCOST" id="searchmore_attr13"/>
<textbox dataattribute="WONUM" id="searchmore_attr14"/>
<textbox dataattribute="ASSETNUM" id="searchmore_attr15"/>
<textbox dataattribute="LOCATION" id="searchmore_attr16"/>
<textbox dataattribute="GLDEBITACCT" id="searchmore_attr17" lookup="glnavigator"/>
<checkbox dataattribute="HISTORYFLAG" id="searchmore_attr18"/>
<textbox dataattribute="ENTERDATE" id="searchmore_attr19" lookup="datelookup"/>
<textbox dataattribute="ENTERBY" id="searchmore_attr20"/>
<textbox dataattribute="MRSTATUSSEQ" id="searchmore_attr21"/>
<textbox dataattribute="MR1" id="searchmore_attr22"/>
<textbox dataattribute="MR2" id="searchmore_attr23"/>
<textbox dataattribute="MR3" id="searchmore_attr24"/>
<textbox dataattribute="MR4" id="searchmore_attr25"/>
<textbox dataattribute="MR5" id="searchmore_attr26"/>
<textbox dataattribute="MR6" id="searchmore_attr27"/>
<textbox dataattribute="MR7" id="searchmore_attr28"/>
<textbox dataattribute="MR8" id="searchmore_attr29"/>
<textbox dataattribute="MR9" id="searchmore_attr30"/>
<textbox dataattribute="MR10" id="searchmore_attr31"/>
<textbox dataattribute="MRLA1" id="searchmore_attr32"/>
<textbox dataattribute="MRLA2" id="searchmore_attr33"/>
<textbox dataattribute="MRLA3" id="searchmore_attr34"/>
<textbox dataattribute="MRLA4" id="searchmore_attr35"/>
<textbox dataattribute="MRLA5" id="searchmore_attr36"/>
<textbox dataattribute="PCARDNUM" id="searchmore_attr37"/>
<textbox dataattribute="PCARDTYPE" id="searchmore_attr38"/>
<textbox dataattribute="PCARDEXPDATE" id="searchmore_attr39"/>
<textbox dataattribute="FINCNTRLID" id="searchmore_attr40"/>
<textbox dataattribute="PCARDVERIFICATION" id="searchmore_attr41"/>
<textbox dataattribute="BASETOTALCOST" id="searchmore_attr42"/>
<textbox dataattribute="BASETOTALCOST2" id="searchmore_attr43"/>
<textbox dataattribute="ORGID" id="searchmore_attr44"/>
<textbox dataattribute="DESCRIPTION_LONGDESCRIPTION" id="searchmore_attr45"/>
<textbox dataattribute="CURRENCYCODE" id="searchmore_attr46"/>
<textbox dataattribute="TRANSTYPE" id="searchmore_attr47"/>
<textbox dataattribute="MRID" id="searchmore_attr48"/>
<textbox dataattribute="FCPROJECTID" id="searchmore_attr49"/>
<textbox dataattribute="FCTASKID" id="searchmore_attr50"/>
<textbox dataattribute="NP_STATUSMEMO" id="searchmore_attr51"/>
<textbox dataattribute="LANGCODE" id="searchmore_attr52"/>
<textbox dataattribute="REQUESTEDFOR" id="searchmore_attr53"/>
<textbox dataattribute="MRTMPLTNUM" id="searchmore_attr54"/>
<textbox dataattribute="DESCRIPTION_TMPLT" id="searchmore_attr55"/>
<checkbox dataattribute="HASLD" id="searchmore_attr56"/>
<textbox dataattribute="STATUSDATE" id="searchmore_attr57" lookup="datelookup"/>
<textbox dataattribute="STATUS" id="searchmore_attr58"/>
<checkbox dataattribute="STATUSIFACE" id="searchmore_attr59"/>
<textbox dataattribute="TYPE" id="searchmore_attr60"/>
</section>
<buttongroup id="searchmore_buttongroup">
<pushbutton default="true" id="searchmore_buttongroup_1" label="Find" mxevent="dialogok"/>
<pushbutton id="qbe_restoreappdefault_button" label="Restore Application Defaults" mxevent="qbeclear"/>
<pushbutton id="qbe_revisebutton" label="Revise" menutype="SEARCHMOREREVISE" targetid="searchmore"/>
<pushbutton id="searchmore_buttongroup_3" label="Cancel" mxevent="qbecancel"/>
</buttongroup>
</dialog>
<dialog beanclass="psdi.webclient.system.beans.ViewBookmarksBean" id="searchbook" label="My Bookmarks" mboname="MR">
<table id="bookmarks_table" inputmode="readonly" selectmode="single">
<tablebody displayrowsperpage="20" filterable="true" id="bookmarks_table_tablebody">
<tablecol dataattribute="MRNUM" id="bookmarks_tablecolumn_1" mxevent="selectrecord" type="link"/>
<tablecol dataattribute="description" id="bookmarks_tablecolumn_2"/>
<tablecol filterable="false" id="bookmarks_tablecolumn_3" mxevent="instantdelete" mxevent_desc="Delete" mxevent_icon="btn_delete.gif" sortable="false" type="event"/>
</tablebody>
</table>
<buttongroup id="bookmarks_2">
<pushbutton default="true" id="bookmarks_2_1" label="OK" mxevent="dialogok"/>
</buttongroup>
</dialog>
<configurationblock id="datastore_configurationblock">
</configurationblock>
</presentation>
No comments:
Post a Comment