5 Replies Latest reply: Jan 23, 2013 2:37 AM by MahdiCharara RSS

    Apply button

    MahdiCharara
      Hi all,


      i have the following req: on Apply button i need calculate 2 values then put them on third field.

      all values are in a table form. "Asset Management - Charge Time "

      the 2 values to be calculated are DFF, the third field is mandatory

      i am using the following code on the processFormRequest but i am unable to fill the third field, when i am pressing the Apply button i am getting a message to filll it, i want to fill this field before the validation action is submitting on the Apply button.


      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
      {

      int result=0;

      super.processFormRequest(pageContext, webBean);

      OAApplicationModule am = pageContext.getApplicationModule(webBean);
      OAViewObject vo1 =(OAViewObject)am.findViewObject("ChargeDetailsVO");

      vo1.reset();

      if (vo1 != null)
      {
      do
      {
      vo1.next();
      OARow row = (OARow)vo1.getCurrentRow();
      String starttime = (String)row.getAttribute("Attribute2");
      String finishtime = (String)row.getAttribute("Attribute3");
      //do some time calculation here
      if(pageContext.getParameter("Apply") != null)
      {
      //test code 1
      ChargeDetailsVORowImpl cerl = (ChargeDetailsVORowImpl)vo1.getCurrentRow();
      cerl.setQuantity(1);

      //test code 2
      row.setAttribute((oracle.jbo.domain.Number)1, "Quantity");

      //test code 3
      OAMessageTextInputBean textBean1 = (OAMessageTextInputBean)webBean.findChildRecursive("Qty");
      textBean1.setValue(pageContext, 1);

      am.invokeMethod("apply");

      }

      } while(vo1.hasNext());
      }


      }


      please any help

      Regards,
      Mahdi Charara
        • 1. Re: Apply button
          ManishChawla
          Hello,

          1. Firstly set the fire partial event of 2nd column field.
          2. Capture the event in PFR method.
          3. After Capturing event, make a row reference object.
          4 Now store the value of 1st column field and 2nd column field in variable.
          eg. String starttime = row.getAttribute("Ist Column Name")+"" and String str1= row.getAttribute("2nd Column Name")+""
          {
          //Here You can do some time calculation.
          }
          5. Assign the calculated time value to 3rd column after converting it into string
          eg. row.setAttribute("3rd Column Name", string variable);

          when u tab out from 2nd column, the calculated time value will be assign to 3rd column.

          After that you can capture the "Apply Button" event.

          if(pageContext.getParameter("Apply") != null)
          {
          //Here You can do validation calculation.
          am.invokeMethod("apply");
          }

          Manish Chawla

          Edited by: Manish Chawla on Jan 22, 2013 11:06 AM
          • 2. Re: Apply button
            924022
            Hi,

            Firstly, you have written your code directly in Process Form request. You have not handled any event. SO this code will be called for all events in Process form request.

            For each row in the VO, apply is called. Is this is the requirement? I hope, you have to do the validation separately and call apply method after all validation

            You have to do the following:

            1. Use fire partial action in finishtime field(If it is text input). [Let me know if start & finish time fields are not text input]
            2. In fire partial action, do your validation
            3. Handle Apply button separately and call am.invokeMethod("apply");

            you can get code snippet from DEV guide for Partial page rendering.

            let me know if you have any doubts.
            --
            niranj
            • 3. Re: Apply button
              MahdiCharara
              hi niranj, Manish

              thank you for your reply

              i tried to put fireAction on the finishtime, but the problem is both starttime and finishtime are DFF in one segment, i am not able to find the ID for the finish time neither in the personalization page or in the page xml code, the DFF column is not found there, only the stranded fields are there, which i am able to handle.
              • 4. Re: Apply button
                924022
                Hi,

                Do you have the PG.xml file with you. If so, paste it here.

                --
                niranj
                • 5. Re: Apply button
                  MahdiCharara
                  ChargeTimePG.xml: i am working on Oracle R12, OA Framework 12.1.3 , Oracle OA Extension 10.1.3 - build 1313 , Business Components 10.1.3.3.

                  =============
                  <?xml version = '1.0' encoding = 'UTF-8'?>
                  <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile(120.10.12000000.6=120.12.12010000.3)(115.1=120.0):~PROD:~PATH:~FILE &fullpath:~PROD:~PATH:~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath:~PROD:mds:directory -->
                  <page xmlns:jrad="http://xmlns.oracle.com/jrad" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:ui="http://xmlns.oracle.com/uix/ui" version="10.1.3_1147" xml:lang="en-US" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad" file-version="$Header: ChargeTimePG.xml 120.12.12010000.8 2012/03/28 18:29:25 rsandepo ship $">
                  <content>
                  <oa:pageLayout id="ChargeTimePageLayoutRN" amDefName="oracle.apps.eam.workplan.server.ChargeTimeAM" controllerClass="oracle.apps.eam.workplan.webui.ChargeTimeCO" windowTitle="Charge Time:" title="Charge Time:" warnAboutChanges="true" helpTarget="ChargeTimePG">
                  <ui:corporateBranding>
                  <oa:image id="corporateBrandingImage" source="/OA_MEDIA/FNDSSCORP.gif"/>
                  </ui:corporateBranding>
                  <ui:contents>
                  <oa:messageComponentLayout id="ContextRN" columns="2" rows="4">
                  <ui:contents>
                  <oa:messageStyledText id="WorkOrderName" prompt="Work Order" styleClass="OraDataText" viewName="WorkOrderContextVO" viewAttr="WipEntityName"/>
                  <oa:messageStyledText id="AssetNumber" prompt="Asset Number" styleClass="OraDataText" viewName="WorkOrderContextVO" viewAttr="AssetNumber"/>
                  <oa:messageStyledText id="AssetGroup" prompt="Asset Group" styleClass="OraDataText" viewName="WorkOrderContextVO" viewAttr="AssetGroup"/>
                  <oa:messageStyledText id="Operation" styleClass="OraDataText" prompt="Operation" viewName="ChargeTimeOpDeptVO" dataType="NUMBER" viewAttr="OperationSeqNum"/>
                  <oa:messageStyledText id="DateReleased" prompt="Date Released" styleClass="OraDataText" viewName="WorkOrderContextVO" viewAttr="DateReleased" dataType="DATETIME"/>
                  <oa:messageStyledText id="WODescription" styleClass="OraDataText" prompt="Description" viewName="WorkOrderContextVO" viewAttr="Description"/>
                  <oa:messageStyledText id="ScheduledStartDate" prompt="Scheduled Start Date" styleClass="OraDataText" viewName="WorkOrderContextVO" viewAttr="ScheduledStartDate" dataType="DATETIME"/>
                  <oa:messageStyledText id="ScheduledCompletionDate" prompt="Scheduled Completion Date" styleClass="OraDataText" viewName="WorkOrderContextVO" viewAttr="ScheduledCompletionDate" dataType="DATETIME"/>
                  <oa:messageStyledText id="AssignedDepartment" prompt="Assigned Department" styleClass="OraDataText" viewName="ChargeTimeOpDeptVO" viewAttr="DepartmentCode"/>
                  </ui:contents>
                  </oa:messageComponentLayout>
                  <oa:separator id="Separator"/>
                  <oa:advancedTable id="ChargeDetailsTbl" viewName="ChargeDetailsVO" width="100%" detailViewAttr="DetailFlag" shortDesc="Charge Details Table">
                  <ui:contents>
                  <oa:column id="WorkOrderColumn">
                  <ui:columnHeader>
                  <oa:sortableHeader id="WorkOrderHeader" prompt="Work Order"/>
                  </ui:columnHeader>
                  <ui:contents>
                  <oa:messageLovInput id="WorkOrder" viewAttr="WipEntityName" columns="8" prompt="Work Order">
                  <lovContents>
                  <oa:listOfValues id="WoLovRN" amDefName="oracle.apps.eam.workplan.lov.server.ChargeTimeLovsAM">
                  <ui:contents>
                  <oa:table name="WoLovRN" id="ChargeTimeWorkOrdersLovTbl" amDefName="oracle.apps.eam.workplan.lov.server.ChargeTimeLovsAM">
                  <ui:contents>
                  <oa:messageStyledText id="WoLovWipEntityName" dataType="VARCHAR2" prompt="Work Order" viewName="ChargeTimeWorkOrdersLovVO" viewAttr="WipEntityName" maximumLength="240" queryable="true" selectiveSearchCriteria="true"/>
                  <oa:messageStyledText id="WoLovAssetGroup" dataType="VARCHAR2" prompt="Asset Group" viewName="ChargeTimeWorkOrdersLovVO" viewAttr="AssetGroup" maximumLength="40"/>
                  <oa:messageStyledText id="WoLovAssetNumber" dataType="VARCHAR2" prompt="Asset Number" viewName="ChargeTimeWorkOrdersLovVO" viewAttr="AssetNumber" maximumLength="30"/>
                  <oa:messageStyledText id="WoLovStatus" dataType="VARCHAR2" prompt="Status" viewName="ChargeTimeWorkOrdersLovVO" viewAttr="Status" maximumLength="80"/>
                  <oa:messageStyledText id="WoLovOwningDepartment" dataType="VARCHAR2" prompt="Owning Department" viewName="ChargeTimeWorkOrdersLovVO" viewAttr="OwningDepartment" maximumLength="10"/>
                  <oa:formValue id="WoLovWipEntityId" dataType="NUMBER" viewName="ChargeTimeWorkOrdersLovVO" viewAttr="WipEntityId"/>
                  <oa:formValue id="WoLovDateReleased" dataType="DATETIME" viewName="ChargeTimeWorkOrdersLovVO" viewAttr="DateReleased"/>
                  </ui:contents>
                  </oa:table>
                  </ui:contents>
                  </oa:listOfValues>
                  </lovContents>
                  <lovMappings>
                  <lovMap id="lovMap1" resultTo="WorkOrder" criteriaFrom="WorkOrder" lovItem="WoLovWipEntityName"/>
                  <lovMap id="lovMap10" lovItem="WoLovWipEntityId" resultTo="WipEntityIdFrm"/>
                  <lovMap id="lovMap136" lovItem="WoLovDateReleased" resultTo="WoReleaseDate"/>
                  </lovMappings>
                  </oa:messageLovInput>
                  </ui:contents>
                  </oa:column>
                  <oa:column id="OperationColumn">
                  <ui:columnHeader>
                  <oa:sortableHeader id="OperationHeader" prompt="Operation"/>
                  </ui:columnHeader>
                  <ui:contents>
                  <oa:messageLovInput id="OpSeqNum" viewAttr="OpSeqNum" dataType="NUMBER" columns="3" prompt="Operation">
                  <lovContents>
                  <oa:listOfValues id="OpLovRN" amDefName="oracle.apps.eam.workplan.lov.server.ChargeTimeLovsAM">
                  <ui:contents>
                  <oa:table name="OpLovRN" id="ChargeTimeOpLovTbl">
                  <ui:contents>
                  <oa:messageStyledText id="OpLovOperationSeqNum" dataType="NUMBER" prompt="Operation" viewName="ChargeTimeOpLovVO" viewAttr="OperationSeqNum" queryable="true"/>
                  <oa:messageStyledText id="OpLovDepartmentCode" dataType="VARCHAR2" prompt="Department Code" viewName="ChargeTimeOpLovVO" viewAttr="DepartmentCode" maximumLength="10"/>
                  <oa:formValue id="OpLovWipIdFrm" dataType="NUMBER" viewName="ChargeTimeOpLovVO" viewAttr="WipEntityId"/>
                  <oa:formValue id="OpLovDeptIdFrm" dataType="NUMBER" viewName="ChargeTimeOpLovVO" viewAttr="DepartmentId"/>
                  </ui:contents>
                  </oa:table>
                  </ui:contents>
                  </oa:listOfValues>
                  </lovContents>
                  <lovMappings>
                  <lovMap id="lovMap2" lovItem="OpLovOperationSeqNum" resultTo="OpSeqNum" criteriaFrom="OpSeqNum"/>
                  <lovMap id="lovMap11" lovItem="OpLovOperationSeqNum" resultTo="OperationSeqNumFrm"/>
                  <lovMap id="lovMap12" lovItem="OpLovWipIdFrm" criteriaFrom="WipEntityIdFrm" requiredForLOV="true"/>
                  <lovMap id="lovMap122" lovItem="OpLovDeptIdFrm" resultTo="OpDeptIdFrm"/>
                  </lovMappings>
                  </oa:messageLovInput>
                  </ui:contents>
                  </oa:column>
                  <oa:column id="ResourceColumn">
                  <ui:columnHeader>
                  <oa:sortableHeader id="ResourceCodeHeader" prompt="Resource"/>
                  </ui:columnHeader>
                  <ui:contents>
                  <oa:messageLovInput id="Resource" viewAttr="ResourceCode" columns="7" prompt="Resource">
                  <lovContents>
                  <oa:listOfValues id="ResourceLovRN" amDefName="oracle.apps.eam.workplan.lov.server.ChargeTimeLovsAM">
                  <ui:contents>
                  <oa:table name="ResourceLovRN" id="ChargeTimeResCodeLovTbl">
                  <ui:contents>
                  <oa:messageStyledText id="ResCodeLovResourceCode" dataType="VARCHAR2" prompt="Resource Code" viewName="ChargeTimeResCodeLovVO" viewAttr="ResourceCode" maximumLength="10" queryable="true"/>
                  <oa:messageStyledText id="ResCodeLovDescription" dataType="VARCHAR2" prompt="Description" viewName="ChargeTimeResCodeLovVO" viewAttr="Description" maximumLength="240"/>
                  <oa:messageStyledText id="ResCodeLovUom" dataType="VARCHAR2" prompt="Uom" viewName="ChargeTimeResCodeLovVO" viewAttr="Uom" maximumLength="3"/>
                  <oa:messageStyledText id="ResCodeLovResourceType" dataType="VARCHAR2" prompt="Resource Type" viewName="ChargeTimeResCodeLovVO" viewAttr="ResourceType" maximumLength="80"/>
                  <oa:formValue id="ResCodeLovWipIdFrm" dataType="NUMBER" viewName="ChargeTimeResCodeLovVO" viewAttr="WipEntityId"/>
                  <oa:formValue id="ResCodeLovOpSeqFrm" dataType="NUMBER" viewName="ChargeTimeResCodeLovVO" viewAttr="OperationSeqNum"/>
                  <oa:formValue id="ResCodeLovResIdFrm" dataType="NUMBER" viewName="ChargeTimeResCodeLovVO" viewAttr="ResourceId"/>
                  <oa:formValue id="ResCodeResTypeId" dataType="NUMBER" viewName="ChargeTimeResCodeLovVO" viewAttr="ResourceTypeId"/>
                  <oa:formValue id="ResCodeLovResSeq" dataType="NUMBER" viewName="ChargeTimeResCodeLovVO" viewAttr="ResSeqReturn"/>
                  </ui:contents>
                  </oa:table>
                  </ui:contents>
                  </oa:listOfValues>
                  </lovContents>
                  <lovMappings>
                  <lovMap id="lovMap26" lovItem="ResCodeLovResourceCode" resultTo="Resource" criteriaFrom="Resource"/>
                  <lovMap id="lovMap27" lovItem="ResCodeLovWipIdFrm" criteriaFrom="WipEntityIdFrm" requiredForLOV="true"/>
                  <lovMap id="lovMap28" lovItem="ResCodeLovOpSeqFrm" criteriaFrom="OperationSeqNumFrm" requiredForLOV="true"/>
                  <lovMap id="lovMap112" lovItem="ResCodeLovUom" resultTo="UOM"/>
                  <lovMap id="lovMap114" lovItem="ResCodeLovResIdFrm" resultTo="ResourceIdFrm"/>
                  <lovMap id="lovMap130" lovItem="ResCodeResTypeId" resultTo="ResourceTypeFrm"/>
                  <lovMap id="lovMap140" lovItem="ResCodeLovResSeq" resultTo="ResourceSeq"/>
                  </lovMappings>
                  </oa:messageLovInput>
                  </ui:contents>
                  </oa:column>
                  <oa:column id="QtyColumn">
                  <ui:columnHeader>
                  <oa:sortableHeader id="QtyHeader" prompt="Qty"/>
                  </ui:columnHeader>
                  <ui:contents>
                  <oa:messageTextInput id="Qty" dataType="NUMBER" viewAttr="Quantity" columns="2" prompt="Qty"/>
                  </ui:contents>
                  </oa:column>
                  <oa:column id="UomColumn">
                  <ui:columnHeader>
                  <oa:sortableHeader id="UomHeader" prompt="UOM"/>
                  </ui:columnHeader>
                  <ui:contents>
                  <oa:messageLovInput id="UOM" viewAttr="UomCode" columns="3" prompt="UOM">
                  <lovMappings>
                  <lovMap lovItem="UomCode" id="lovMap9" resultTo="UOM" criteriaFrom="UOM"/>
                  <lovMap criteriaFrom="Resource" programmaticQuery="true" lovItem="UomResource" id="lovMap111"/>
                  </lovMappings>
                  <lovContents>
                  <oa:listOfValues id="UomRN">
                  <ui:contents>
                  <oa:table name="UomRN" id="UomTbl">
                  <ui:contents>
                  <oa:messageStyledText id="UomCode" queryable="true" viewName="UOMVO" viewAttr="Uom" prompt="UOM"/>
                  <oa:messageStyledText id="UomDesc" queryable="true" viewName="UOMVO" viewAttr="Description" prompt="Description"/>
                  <oa:formValue id="UomResource"/>
                  </ui:contents>
                  </oa:table>
                  </ui:contents>
                  </oa:listOfValues>
                  </lovContents>
                  </oa:messageLovInput>
                  </ui:contents>
                  </oa:column>
                  <oa:column id="InstanceColumn">
                  <ui:columnHeader>
                  <oa:sortableHeader id="InstanceHeader" prompt="Employee or Equipment"/>
                  </ui:columnHeader>
                  <ui:contents>
                  <oa:messageLovInput id="InstanceName" viewAttr="InstanceName" prompt="Employee or Equipment">
                  <lovContents>
                  <oa:listOfValues id="InstanceLovRN" amDefName="oracle.apps.eam.workplan.lov.server.ChargeTimeLovsAM">
                  <ui:contents>
                  <oa:table name="InstanceLovRN" id="ChargeTimeInstanceTbl" amDefName="oracle.apps.eam.workplan.lov.server.ChargeTimeLovsAM">
                  <ui:contents>
                  <oa:messageStyledText id="InstLovInstanceName" dataType="VARCHAR2" prompt="Employee or Equipment Name" viewName="ChargeTimeInstanceVO" viewAttr="InstanceName" maximumLength="240" queryable="true"/>
                  <oa:messageStyledText id="InstLovDeptCode" dataType="VARCHAR2" prompt="Department Code" viewName="ChargeTimeInstanceVO" viewAttr="DepartmentCode" maximumLength="10"/>
                  <oa:formValue id="InstLovPersonId" dataType="NUMBER" viewName="ChargeTimeInstanceVO" viewAttr="PersonId"/>
                  <oa:formValue id="InstLovInstanceId" dataType="NUMBER" viewName="ChargeTimeInstanceVO" viewAttr="InstanceId"/>
                  <oa:formValue id="InstLovEmpNumber" dataType="VARCHAR2" viewName="ChargeTimeInstanceVO" viewAttr="EmployeeNumber"/>
                  <oa:formValue id="InstLovDeptIdFrm" dataType="NUMBER" viewName="ChargeTimeInstanceVO" viewAttr="DepartmentId"/>
                  <oa:formValue id="InstLovResIdFrm" dataType="NUMBER" viewName="ChargeTimeInstanceVO" viewAttr="ResourceId"/>
                  </ui:contents>
                  </oa:table>
                  </ui:contents>
                  </oa:listOfValues>
                  </lovContents>
                  <lovMappings>
                  <lovMap id="lovMap115" lovItem="InstLovInstanceName" resultTo="InstanceName" criteriaFrom="InstanceName"/>
                  <lovMap id="lovMap116" lovItem="InstLovDeptIdFrm" criteriaFrom="OpDeptIdFrm"/>
                  <lovMap id="lovMap117" lovItem="InstLovResIdFrm" criteriaFrom="ResourceIdFrm" requiredForLOV="true"/>
                  <lovMap id="lovMap133" lovItem="InstLovInstanceId" resultTo="InstanceIdFrm"/>
                  </lovMappings>
                  </oa:messageLovInput>
                  </ui:contents>
                  </oa:column>
                  <oa:column id="ChargeDeptColumn">
                  <ui:columnHeader>
                  <oa:sortableHeader id="ChargeDeptHeader" prompt="Charge Department"/>
                  </ui:columnHeader>
                  <ui:contents>
                  <oa:messageLovInput id="ChargeDept" viewAttr="ChargeDeptCode" prompt="Charge Department">
                  <lovContents>
                  <oa:listOfValues id="ChargeDeptLovRN" amDefName="oracle.apps.eam.workplan.lov.server.ChargeTimeLovsAM" controllerClass="oracle.apps.eam.workplan.lov.webui.ChargeTimeChargeDeptLovCO">
                  <ui:contents>
                  <oa:table name="ChargeDeptLovRN" id="ChargeTimeChargeDeptLovTbl">
                  <ui:contents>
                  <oa:messageStyledText id="ChrgDeptCode" dataType="VARCHAR2" prompt="Department Code" viewName="ChargeTimeChargeDeptLovVO" viewAttr="DepartmentCode" maximumLength="10" queryable="true"/>
                  <oa:formValue id="ChrgDeptId" dataType="NUMBER" viewName="ChargeTimeChargeDeptLovVO" viewAttr="DepartmentId"/>
                  <oa:formValue id="ChrgDeptResId" dataType="NUMBER" viewName="ChargeTimeChargeDeptLovVO" viewAttr="ResourceId"/>
                  <oa:formValue id="ChrgDeptResType" dataType="NUMBER" viewName="ChargeTimeChargeDeptLovVO" viewAttr="ChrgDeptResType"/>
                  <oa:formValue id="ChrgDeptInstId" dataType="NUMBER" viewName="ChargeTimeChargeDeptLovVO" viewAttr="ChrgDeptInstId"/>
                  <oa:formValue id="ChrgDeptSerialNum" viewName="ChargeTimeChargeDeptLovVO" viewAttr="ChrgDeptSerialNum"/>
                  </ui:contents>
                  </oa:table>
                  </ui:contents>
                  </oa:listOfValues>
                  </lovContents>
                  <lovMappings>
                  <lovMap id="lovMap128" lovItem="ChrgDeptCode" resultTo="ChargeDept" criteriaFrom="ChargeDept"/>
                  <lovMap id="lovMap129" lovItem="ChrgDeptResId" criteriaFrom="ResourceIdFrm" requiredForLOV="true"/>
                  <lovMap id="lovMap131" lovItem="ChrgDeptResType" criteriaFrom="ResourceTypeFrm" programmaticQuery="true"/>
                  <lovMap id="lovMap134" lovItem="ChrgDeptInstId" criteriaFrom="InstanceIdFrm" programmaticQuery="true"/>
                  <lovMap id="lovMap135" lovItem="ChrgDeptSerialNum" criteriaFrom="InstanceName" programmaticQuery="true"/>
                  </lovMappings>
                  </oa:messageLovInput>
                  </ui:contents>
                  </oa:column>
                  <oa:formValue id="WipEntityIdFrm" dataType="NUMBER" viewAttr="WipEntityId" prompt="Work Order"/>
                  <oa:formValue id="OperationSeqNumFrm" dataType="NUMBER" viewAttr="OpSeqNum" prompt="Operation"/>
                                      <oa:formValue id="ResSeqNumFrm" dataType="NUMBER" viewAttr="ResSeqNum"/>
                  <oa:formValue id="ResourceIdFrm" dataType="NUMBER" viewAttr="ResourceId" prompt="Resource"/>
                  <oa:formValue id="OpDeptIdFrm" dataType="NUMBER" viewAttr="OperationDept"/>
                  <oa:formValue id="ResourceTypeFrm" dataType="NUMBER" viewAttr="InstanceType"/>
                  <oa:formValue id="InstanceIdFrm" dataType="NUMBER" viewAttr="InstanceId"/>
                  <oa:formValue id="WoReleaseDate" dataType="DATETIME" viewAttr="DateReleased"/>
                  </ui:contents>
                  <ui:detail>
                  <oa:messageComponentLayout id="ResourceDetailsRN" rows="1" width="100%">
                  <ui:contents>
                  <oa:messageLovInput id="ResourceSeq" dataType="NUMBER" viewName="ChargeDetailsVO" viewAttr="ResSeqNum" prompt="Resource Sequence">
                  <lovContents>
                  <oa:listOfValues id="ResourceSeqLovRN" amDefName="oracle.apps.eam.workplan.lov.server.ChargeTimeLovsAM">
                  <ui:contents>
                  <oa:table name="ResourceSeqLovRN" id="ChargeTimeResSeqLovTbl">
                  <ui:contents>
                  <oa:messageStyledText id="ResSeqLovResSeqNum" dataType="NUMBER" prompt="Resource Sequence" viewName="ChargeTimeResSeqLovVO" viewAttr="ResourceSeqNum" queryable="true"/>
                  <oa:messageStyledText id="ResSeqLovResourceCode" dataType="VARCHAR2" prompt="Resource Code" viewName="ChargeTimeResSeqLovVO" viewAttr="ResourceCode" maximumLength="10" queryable="true"/>
                  <oa:messageStyledText id="ResSeqLovUomCode" dataType="VARCHAR2" prompt="UOM" viewName="ChargeTimeResSeqLovVO" viewAttr="UomCode" maximumLength="3"/>
                  <oa:formValue id="ResSeqLovWipEntityId" dataType="NUMBER" viewName="ChargeTimeResSeqLovVO" viewAttr="WipEntityId"/>
                  <oa:formValue id="ResSeqLovOpSeqNum" dataType="NUMBER" viewName="ChargeTimeResSeqLovVO" viewAttr="OperationSeqNum"/>
                  <oa:formValue id="ResSeqLovResId" dataType="NUMBER" viewName="ChargeTimeResSeqLovVO" viewAttr="ResourceId"/>
                  <oa:formValue id="ResSeqResTypeId" dataType="NUMBER" viewName="ChargeTimeResSeqLovVO" viewAttr="ResourceTypeId"/>
                  <oa:formValue id="ResSeqReqQty" viewName="ChargeTimeResSeqLovVO" viewAttr="UsageRateOrAmount"/>
                  <oa:formValue id="ResSeqChargedUnits" viewName="ChargeTimeResSeqLovVO" viewAttr="ChargedUnits"/>
                  </ui:contents>
                  </oa:table>
                  </ui:contents>
                  </oa:listOfValues>
                  </lovContents>
                  <lovMappings>
                  <lovMap id="lovMap123" lovItem="ResSeqLovResSeqNum" criteriaFrom="ResourceSeq"/>
                  <lovMap id="lovMap124" lovItem="ResSeqLovWipEntityId" criteriaFrom="WipEntityIdFrm" requiredForLOV="true"/>
                  <lovMap id="lovMap125" lovItem="ResSeqLovOpSeqNum" criteriaFrom="OperationSeqNumFrm" requiredForLOV="true"/>
                  <lovMap id="lovMap126" lovItem="ResSeqLovResSeqNum" resultTo="ResSeqNumFrm"/>
                  <lovMap id="lovMap127" lovItem="ResSeqLovUomCode" resultTo="UOM"/>
                  <lovMap id="lovMap132" lovItem="ResSeqResTypeId" resultTo="ResourceTypeFrm"/>
                  <lovMap id="lovMap137" lovItem="ResSeqLovResourceCode" resultTo="Resource"/>
                  <lovMap id="lovMap139" lovItem="ResSeqLovResId" resultTo="ResourceIdFrm"/>
                  <lovMap id="ResSeqQtylovMap" lovItem="ResSeqReqQty" resultTo="Qty"/>
                  <lovMap id="ResSeqChargedUnitslovMap" lovItem="ResSeqChargedUnits" resultTo="ChargedUnits"/>
                  </lovMappings>
                  </oa:messageLovInput>
                  <oa:messageLovInput prompt="Reason" id="Reason" viewName="ChargeDetailsVO" viewAttr="Reason">
                  <lovMappings>
                  <lovMap criteriaFrom="Reason" lovItem="ReasonCode" id="lovMap25" resultTo="Reason"/>
                  </lovMappings>
                  <lovContents>
                  <oa:listOfValues id="ReasonLOVRN">
                  <ui:contents>
                  <oa:table name="ReasonLOVRN" id="ReasonLOVTbl">
                  <ui:contents>
                  <oa:messageStyledText id="ReasonCode" queryable="true" viewName="ReasonVO" viewAttr="ReasonName" prompt="Reason"/>
                  <oa:messageStyledText id="ReasonDesc" viewName="ReasonVO" viewAttr="Description" prompt="Description"/>
                  </ui:contents>
                  </oa:table>
                  </ui:contents>
                  </oa:listOfValues>
                  </lovContents>
                  </oa:messageLovInput>
                  <oa:messageTextInput id="Reference" viewName="ChargeDetailsVO" viewAttr="Reference" prompt="Reference"/>
                  <oa:messageTextInput id="WorkDoneDate" dataType="DATETIME" viewName="ChargeDetailsVO" prompt="Work Performed Date" viewAttr="WorkPerformedDate"/>
                  <oa:messageStyledText id="ChargedUnits" viewName="ChargeDetailsVO" dataType="NUMBER" viewAttr="ChargedUnits" prompt="Charged Units" styleClass="OraDataText"/>
                  </ui:contents>
                  </oa:messageComponentLayout>
                  </ui:detail>
                  <ui:footer>
                  <oa:tableFooter id="tableFooter1">
                  <ui:contents>
                  <oa:addTableRow id="addTableRow1" rows="3" autoInsertion="false"/>
                  </ui:contents>
                  </oa:tableFooter>
                  </ui:footer>
                  </oa:advancedTable>
                  <oa:pageButtonBar id="PageButtonsRN">
                  <ui:contents>
                  <oa:button id="Cancel" text="Cancel" prompt="Cancel"/>
                  <oa:submitButton id="Apply" text="Apply" prompt="Apply"/>
                  </ui:contents>
                  </oa:pageButtonBar>
                  </ui:contents>
                  <ui:userInfo>
                  <oa:messageStyledText id="MaintOrg" prompt="Maintenance Organization:" styleClass="OraDataText"/>
                  </ui:userInfo>
                  </oa:pageLayout>
                  </content>
                  </page>
                  ==================