svn commit: r776961 [1/2] - in /ofbiz/trunk/applications/humanres: config/ data/ entitydef/ script/org/ofbiz/humanres/ servicedef/ webapp/humanres/WEB-INF/ widget/ widget/forms/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r776961 [1/2] - in /ofbiz/trunk/applications/humanres: config/ data/ entitydef/ script/org/ofbiz/humanres/ servicedef/ webapp/humanres/WEB-INF/ widget/ widget/forms/

ashish-18
Author: ashish
Date: Thu May 21 06:02:38 2009
New Revision: 776961

URL: http://svn.apache.org/viewvc?rev=776961&view=rev
Log:
Applied patch from jira issue OFBIZ-2205 (Implemented recruitment in HR module).

I am committing the recently uploaded patch.
As it looks lot better from the initial one.

It may happen that I have missed some small things(It was around 5th or 7th review from my side) ... although those can be handled as reported in future.

At the end thanks to Abhinav Vaid for his contribution.

Added:
    ofbiz/trunk/applications/humanres/widget/RecruitmentScreens.xml   (with props)
    ofbiz/trunk/applications/humanres/widget/forms/RecruitmentForms.xml   (with props)
Modified:
    ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml
    ofbiz/trunk/applications/humanres/data/HumanResDemoData.xml
    ofbiz/trunk/applications/humanres/data/HumanResTypeData.xml
    ofbiz/trunk/applications/humanres/entitydef/entitymodel.xml
    ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml
    ofbiz/trunk/applications/humanres/servicedef/services.xml
    ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml
    ofbiz/trunk/applications/humanres/widget/CommonScreens.xml
    ofbiz/trunk/applications/humanres/widget/GlobalHRSettingScreens.xml
    ofbiz/trunk/applications/humanres/widget/LookupScreens.xml
    ofbiz/trunk/applications/humanres/widget/Menus.xml
    ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml
    ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml
    ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml

Modified: ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml (original)
+++ ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml Thu May 21 06:02:38 2009
@@ -1752,4 +1752,85 @@
         <value xml:lang="it">Mostra corsi persona</value>
         <value xml:lang="zh">查看个人培训</value>
     </property>
+    <property key="HumanResAddJobInterviewType">
+        <value xml:lang="en">Add Job Interview Type</value>
+    </property>
+    <property key="HumanResEditApprovalStatus">
+        <value xml:lang="en">Edit Approval Status</value>
+    </property>
+    <property key="HumanResEditJobInterview">
+        <value xml:lang="en">Edit Job Interview</value>
+    </property>
+    <property key="HumanResEditJobRequisition">
+        <value xml:lang="en">Edit Job Requisition</value>
+    </property>
+    <property key="HumanResIJPStatus">
+        <value xml:lang="en">IJP Status</value>
+    </property>
+    <property key="HumanResInternalJobPosting">
+        <value xml:lang="en">Internal Job Posting</value>
+    </property>
+    <property key="HumanResJobInterview">
+        <value xml:lang="en">Job Interview</value>
+    </property>
+    <property key="HumanResApproval">
+        <value xml:lang="en">Approval</value>
+    </property>
+    <property key="HumanResRelocation">
+        <value xml:lang="en">Relocation</value>
+    </property>
+    <property key="HumanResJobInterviewType">
+        <value xml:lang="en">Job Interview Type</value>
+    </property>
+    <property key="HumanResJobRequisition">
+        <value xml:lang="en">Job Requisition</value>
+    </property>
+    <property key="LookupJobInterview">
+        <value xml:lang="en">LookUp Job Interview</value>
+    </property>
+    <property key="LookupJobReq">
+        <value xml:lang="en">LookUp Job Requisition</value>
+    </property>
+    <property key="HumanResNewInternalJobPosting">
+        <value xml:lang="en">New Internal Job Posting</value>
+    </property>
+    <property key="HumanResNewJobInterview">
+        <value xml:lang="en">New Job Interview</value>
+    </property>
+    <property key="HumanResNewJobRequisition">
+        <value xml:lang="en">New Job Requisition</value>
+    </property>
+    <property key="HumanResRecruitment">
+        <value xml:lang="en">Recruitment</value>
+    </property>
+    <property key="PageTitleEditApprovalStatus">
+        <value xml:lang="en">Edit Approval Status</value>
+    </property>
+    <property key="PageTitleEditJobRequisition">
+        <value xml:lang="en">Edit JobRequisition</value>
+    </property>
+    <property key="PageTitleEditInternalJobPosting">
+        <value xml:lang="en">Edit Internal JobPosting</value>
+    </property>
+    <property key="PageTitleEditJobInterview">
+        <value xml:lang="en">Edit Interview</value>
+    </property>
+    <property key="PageTitleEditJobInterviewType">
+        <value xml:lang="en">Edit Job Interview Type</value>
+    </property>
+    <property key="PageTitleFindApprovals">
+        <value xml:lang="en">Find Approvals</value>
+    </property>
+    <property key="PageTitleFindInternalJobPosting">
+        <value xml:lang="en">Find Internal Job Posting</value>
+    </property>
+    <property key="PageTitleFindJobInterviewDetails">
+        <value xml:lang="en">Find Interview Details</value>
+    </property>
+    <property key="PageTitleFindJobRequisition">
+        <value xml:lang="en">Find Job Requisition</value>
+    </property>
+     <property key="PageTitleFindRelocationDetails">
+        <value xml:lang="en">Find Relocation Details</value>
+    </property>
 </resource>

Modified: ofbiz/trunk/applications/humanres/data/HumanResDemoData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/data/HumanResDemoData.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/data/HumanResDemoData.xml (original)
+++ ofbiz/trunk/applications/humanres/data/HumanResDemoData.xml Thu May 21 06:02:38 2009
@@ -30,4 +30,42 @@
     <EmplPositionFulfillment emplPositionId="DEMO100" partyId="DemoEmployee" fromDate="2009-01-30 17:58:02.745"/>
     <EmplPositionTypeRate emplPositionTypeId="PROGRAMMER" rateTypeId="AVERAGE_PAY_RATE" fromDate="2009-01-30 17:58:56.038"/>
     <Employment roleTypeIdFrom="INTERNAL_ORGANIZATIO" roleTypeIdTo="EMPLOYEE" partyIdFrom="Company" partyIdTo="DemoEmployee" fromDate="2000-01-30 17:50:15.767"/>
+    
+     <!-- OFBiz Recruitment security -->
+    <SecurityGroup groupId="HUMANRES_APPROVER" description="This security group is for those who will approve the internal job posting application."/>
+    <SecurityGroup groupId="HUMANRES_EMPLOYEE" description="This security group is for all the employees who want to apply for internal Job Posting."/>
+
+    <!-- Recruitment  permission -->
+    <SecurityPermission description="Approver can update the IJP approval status with this permission." permissionId="HUMANRES_APPROVE"/>
+    
+    <SecurityGroupPermission groupId="HUMANRES_APPROVER" permissionId="HUMANRES_VIEW"/>
+    <SecurityGroupPermission groupId="HUMANRES_APPROVER" permissionId="HUMANRES_CREATE"/>
+    <SecurityGroupPermission groupId="HUMANRES_APPROVER" permissionId="PARTYMGR_VIEW"/>
+    <SecurityGroupPermission groupId="HUMANRES_APPROVER" permissionId="OFBTOOLS_VIEW"/>
+    <SecurityGroupPermission groupId="HUMANRES_APPROVER" permissionId="HUMANRES_UPDATE"/>
+    <SecurityGroupPermission groupId="HUMANRES_APPROVER" permissionId="HUMANRES_APPROVE"/>
+    <SecurityGroupPermission groupId="HUMANRES_EMPLOYEE" permissionId="HUMANRES_VIEW"/>
+    <SecurityGroupPermission groupId="HUMANRES_EMPLOYEE" permissionId="HUMANRES_CREATE"/>
+    <SecurityGroupPermission groupId="HUMANRES_EMPLOYEE" permissionId="PARTYMGR_VIEW"/>
+    <SecurityGroupPermission groupId="HUMANRES_EMPLOYEE" permissionId="OFBTOOLS_VIEW"/>
+    
+    <Party partyId="DemoApprover" partyTypeId="PERSON"/>
+    <Person partyId="DemoApprover" firstName="Demo" lastName="Approver"/>
+    
+    <UserLogin userLoginId="demoapprover" currentPassword="{SHA}47ca69ebb4bdc9ae0adec130880165d2cc05db1a" requirePasswordChange="N" partyId="DemoApprover"/>
+    <UserLoginSecurityGroup groupId="HUMANRES_APPROVER" userLoginId="demoapprover" fromDate="2001-01-01 12:00:00.0"/>
+
+    <UserLogin userLoginId="demoemployee" currentPassword="{SHA}47ca69ebb4bdc9ae0adec130880165d2cc05db1a" requirePasswordChange="N" partyId="DemoEmployee"/>
+    <UserLoginSecurityGroup groupId="HUMANRES_EMPLOYEE" userLoginId="demoemployee" fromDate="2001-01-01 12:00:00.0"/>
+
+    <JobInterviewType jobInterviewTypeId="JOB_INTERVW" description="It is a process in which an employee is evaluated by an employer for prospective employment in their company"/>
+    <JobInterviewType jobInterviewTypeId="EXIT_INTERVW" description="It is conducted by an employer of a departing employee"/>
+    <JobInterviewType jobInterviewTypeId="INFORMAL_INTERVW" description="It is a meeting in which a job seeker asks for advice rather than employment"/>
+    <JobInterviewType jobInterviewTypeId="CASE_INTERVW" description="It is an interview in which the applicant is given a question/situation and asked to resolve it"/>
+    
+    <EnumerationType description="Exam Type" enumTypeId="EXAM_TYPE" hasTable="N" parentTypeId=""/>
+    <Enumeration description="Written Aptitude Exam" enumCode="WRITTEN_APT" enumId="EXAM_WRITTEN_APT" sequenceId="01" enumTypeId="EXAM_TYPE"/>
+    <Enumeration description="Technical Exam" enumCode="TECHNICAL" enumId="EXAM_TECHNICAL" sequenceId="02" enumTypeId="EXAM_TYPE"/>
+    <Enumeration description="Group Discussion" enumCode="GROUP_DISCN" enumId="EXAM_GROUP_DISCN" sequenceId="03" enumTypeId="EXAM_TYPE"/>
+    
 </entity-engine-xml>

Modified: ofbiz/trunk/applications/humanres/data/HumanResTypeData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/data/HumanResTypeData.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/data/HumanResTypeData.xml (original)
+++ ofbiz/trunk/applications/humanres/data/HumanResTypeData.xml Thu May 21 06:02:38 2009
@@ -41,6 +41,14 @@
     <StatusItem description="Not verified" sequenceId="01" statusCode="NOT_VERIFIED" statusId="PQV_NOT_VERIFIED" statusTypeId="PARTYQUAL_VERIFY"/>
     <StatusItem description="Verified" sequenceId="02" statusCode="VERIFIED" statusId="PQV_VERIFIED" statusTypeId="PARTYQUAL_VERIFY"/>
 
+    <StatusType statusTypeId="IJP_STATUS" description="Internal Job Posting Status"/>
+    <StatusItem statusId="IJP_APPROVED" statusTypeId="IJP_STATUS"  description="Approved"/>
+    <StatusItem statusId="IJP_REJECTED" statusTypeId="IJP_STATUS"  description="Rejected"/>
+    
+    <StatusType statusTypeId="RELOCATION_STATUS" description="Relocation Status"/>
+    <StatusItem statusId="STATUS_PENDING" statusTypeId="RELOCATION_STATUS" description="Pending"/>
+    <StatusItem statusId="STATUS_RELOCATED" statusTypeId="RELOCATION_STATUS"  description="Relocated"/>
+
     <EmplPositionType description="Programmer" hasTable="N" parentTypeId="" emplPositionTypeId="PROGRAMMER"/>
     <EmplPositionType description="System Administrator" hasTable="N" parentTypeId="" emplPositionTypeId="SYS_ADMIN"/>
     <EmplPositionType description="Business Analyst" hasTable="N" parentTypeId="" emplPositionTypeId="BIZ_ANALYST"/>
@@ -64,6 +72,17 @@
     <PartyQualType description="Degree" hasTable="N" parentTypeId="" partyQualTypeId="DEGREE"/>
     <PartyQualType description="Certification" hasTable="N" parentTypeId="" partyQualTypeId="CERTIFICATION"/>
 
+    <PartyQualType partyQualTypeId="B.Tech" parentTypeId="DEGREE" description="Bachelor of Technology"/>
+    <PartyQualType partyQualTypeId="MBA" parentTypeId="DEGREE" description="Masters of business administration"/>
+    <PartyQualType partyQualTypeId="MSC" parentTypeId="DEGREE" description="Masters of Science"/>
+    <PartyQualType partyQualTypeId="BSC" parentTypeId="DEGREE" description="Bachelor of Science"/>
+        
+    <EnumerationType description="Interview Rating" enumTypeId="INTR_RATNG" hasTable="N" parentTypeId=""/>
+    <Enumeration description="A (above 75%)" enumCode="RATING_A" enumId="INTR_RATNG_A" sequenceId="01" enumTypeId="INTR_RATNG"/>
+    <Enumeration description="B (60-75%)" enumCode="RATING_B" enumId="INTR_RATNG_B" sequenceId="02" enumTypeId="INTR_RATNG"/>
+    <Enumeration description="C (45-60%)" enumCode="RATING_C" enumId="INTR_RATNG_C" sequenceId="03" enumTypeId="INTR_RATNG"/>
+    <Enumeration description="D (below 40%)" enumCode="RATING_D" enumId="INTR_RATNG_D" sequenceId="04" enumTypeId="INTR_RATNG"/>
+
     <EmploymentAppSourceType description="NewsPaper" hasTable="N" parentTypeId="" employmentAppSourceTypeId="NEWS_PAPER"/>
     <EmploymentAppSourceType description="PersonalReferal" hasTable="N" parentTypeId="" employmentAppSourceTypeId="PER_REF"/>
     <EmploymentAppSourceType description="Internet" hasTable="N" parentTypeId="" employmentAppSourceTypeId="INTERNET"/>
@@ -82,5 +101,9 @@
     <EmplLeaveType description="Casual" hasTable="N" parentTypeId="" leaveTypeId="CASUAL"/>
 
     <WebSite webSiteId="HR" siteName="Human Resource Manager" visualThemeSetId="BACKOFFICE"/>
+        
+    <EnumerationType description="Job Posting Types" enumTypeId="JOB_POSTING" hasTable="N" parentTypeId=""/>
+    <Enumeration description="Internal Job Posting" enumCode="POSTING_INTR" enumId="JOB_POSTING_INTR" sequenceId="01" enumTypeId="JOB_POSTING"/>
+    <Enumeration description="External Job Posting" enumCode="POSTING_INTR" enumId="JOB_POSTING_EXTR" sequenceId="02" enumTypeId="JOB_POSTING"/>
 
 </entity-engine-xml>

Modified: ofbiz/trunk/applications/humanres/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/entitydef/entitymodel.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/humanres/entitydef/entitymodel.xml Thu May 21 06:02:38 2009
@@ -376,6 +376,8 @@
       <field name="applyingPartyId" type="id"></field>
       <field name="referredByPartyId" type="id"></field>
       <field name="applicationDate" type="date-time"></field>
+      <field name="approverPartyId" type="id"></field>
+      <field name="jobRequisitionId" type="id"></field>
       <prim-key field="applicationId"/>
       <relation type="one-nofk" fk-name="EMPLMNT_APP_POS" rel-entity-name="EmplPosition">
         <key-map field-name="emplPositionId"/>
@@ -392,6 +394,12 @@
       <relation type="one-nofk" fk-name="EMPLMNT_APP_RBPTY" title="ReferredBy" rel-entity-name="Party">
         <key-map field-name="referredByPartyId" rel-field-name="partyId"/>
       </relation>
+      <relation type="one" fk-name="EMPLMNT_APP_APER" title="Approver" rel-entity-name="Party">
+          <key-map field-name="approverPartyId" rel-field-name="partyId"/>
+      </relation>
+      <relation type="one" fk-name="EMPLMNT_APP_JBRQ" rel-entity-name="JobRequisition">
+          <key-map field-name="jobRequisitionId"/>
+      </relation>
     </entity>
     <entity entity-name="EmploymentAppSourceType"
             package-name="org.ofbiz.humanres.employment"
@@ -822,4 +830,88 @@
     </view-link>
   </view-entity>
 
-</entitymodel>
\ No newline at end of file
+    <!-- ========================================================= -->
+    <!-- org.ofbiz.humanres.recruitment -->
+    <!-- ========================================================= -->
+    <entity entity-name="JobRequisition"
+            package-name="org.ofbiz.humanres.recruitment"
+            title="Entity for storing data about recruitment">
+        <field name="jobRequisitionId" type="id-ne"></field>
+        <field name="durationMonths" type="numeric"></field>
+        <field name="age" type="numeric"></field>
+        <field name="gender" type="indicator"></field>
+        <field name="experienceMonths" type="numeric"></field>
+        <field name="experienceYears" type="numeric"></field>
+        <field name="qualification" type="id-long"></field>
+        <field name="jobLocation" type="id"></field>
+        <field name="skillTypeId" type="id"></field>
+        <field name="noOfResources" type="numeric"></field>
+        <field name="jobPostingTypeId" type="id"></field>
+        <field name="jobRequisitionDate" type="date"></field>
+        <field name="examTypeId" type="id"></field>
+        <field name="requiredOnDate" type="date"></field>
+        <prim-key field="jobRequisitionId"/>
+        <relation type="one" fk-name="JOB_REQ_SKTYP" rel-entity-name="SkillType">
+            <key-map field-name="skillTypeId"/>
+        </relation>
+        <relation type="one" fk-name="JOB_REQ_ENUMEXM" rel-entity-name="Enumeration">
+            <key-map field-name="examTypeId" rel-field-name="enumId"/>
+        </relation>
+        <relation type="one" fk-name="JOB_REQ_ENUMJBP" rel-entity-name="Enumeration">
+            <key-map field-name="jobPostingTypeId" rel-field-name="enumId"/>
+        </relation>
+    </entity>
+    <entity entity-name="JobInterview"
+            package-name="org.ofbiz.humanres.recruitment"
+            title="Entity for storing data about Interviews conducted">
+        <field name="jobInterviewId" type="id-ne"></field>
+        <field name="jobIntervieweePartyId" type="id"></field>
+        <field name="jobRequisitionId" type="id"></field>
+        <field name="jobInterviewerPartyId" type="id"></field>
+        <field name="jobInterviewTypeId" type="id"></field>
+        <field name="gradeSecuredEnumId" type="id"></field>
+        <field name="jobInterviewResult" type="id"></field>
+        <field name="jobInterviewDate" type="date"></field>
+        <prim-key field="jobInterviewId"/>
+        <relation type="one" fk-name="JOB_INTW_IEPR" title="Interviewee" rel-entity-name="Party">
+            <key-map field-name="jobIntervieweePartyId" rel-field-name="partyId"/>
+        </relation>
+        <relation type="one" fk-name="JOB_INTW_IRPR" title="Interviewer" rel-entity-name="Party">
+            <key-map field-name="jobInterviewerPartyId" rel-field-name="partyId"/>
+        </relation>
+        <relation type="one" fk-name="JOB_INTW_INTYP" rel-entity-name="JobInterviewType">
+            <key-map field-name="jobInterviewTypeId"/>
+        </relation>
+        <relation type="one" fk-name="JOB_INTW_JBREQ" rel-entity-name="JobRequisition">
+            <key-map field-name="jobRequisitionId"/>
+        </relation>
+        <relation type="one" fk-name="JOB_INTW_ENUM" rel-entity-name="Enumeration">
+            <key-map field-name="gradeSecuredEnumId" rel-field-name="enumId"/>
+        </relation>
+    </entity>
+    <entity entity-name="JobInterviewType"
+            package-name="org.ofbiz.humanres.recruitment"
+            title="Entity for storing data about Interview Types">
+        <field name="jobInterviewTypeId" type="id-ne"></field>
+        <field name="description" type="description"></field>
+        <prim-key field="jobInterviewTypeId"/>
+    </entity>
+    <view-entity entity-name="EmplPositionFulfillmentAndReportingStruct"
+            package-name="org.ofbiz.humanres.recruitment"
+            title="To view the employment details of employee">
+      <member-entity entity-alias="EMPPOS" entity-name="EmplPosition"/>
+      <member-entity entity-alias="EMPPOSFUL" entity-name="EmplPositionFulfillment"/>
+      <member-entity entity-alias="EMPPOSREPST" entity-name="EmplPositionReportingStruct"/>    
+      <alias entity-alias="EMPPOSFUL" name="partyId"/>
+      <alias entity-alias="EMPPOSFUL" name="emplPositionId"/>
+      <alias entity-alias="EMPPOSREPST" name="emplPositionIdReportingTo"/>  
+      <alias entity-alias="EMPPOS" name="internalOrganisation" field="partyId"/>
+      <alias entity-alias="EMPPOSREPST" name="reportingDate" field="fromDate"/>
+      <view-link entity-alias="EMPPOS" rel-entity-alias="EMPPOSFUL">
+        <key-map field-name="emplPositionId"/>
+      </view-link>
+      <view-link entity-alias="EMPPOSFUL" rel-entity-alias="EMPPOSREPST">
+        <key-map field-name="emplPositionId" rel-field-name="emplPositionIdManagedBy"/>
+      </view-link>
+    </view-entity>
+</entitymodel>

Modified: ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml (original)
+++ ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml Thu May 21 06:02:38 2009
@@ -729,4 +729,91 @@
         <first-from-list entry="rateAmount" list="rateAmounts"/>
         <field-to-result field="rateAmount" result-name="emplPositionRateAmount"/>
     </simple-method>
+    
+    <simple-method method-name="createJobRequisition" short-description="Create Job Requisition">
+        <make-value entity-name="JobRequisition" value-field="newEntity"/>
+        <set-nonpk-fields map="parameters" value-field="newEntity"/>
+        <sequenced-id sequence-name="JobRequisition" field="newEntity.jobRequisitionId"/>
+        <field-to-result field="newEntity.jobRequisitionId" result-name="jobRequisitionId"/>
+        <create-value value-field="newEntity"/>
+    </simple-method>
+    
+    <simple-method method-name="updateJobRequisition" short-description="Update Job Requisition">
+        <entity-one entity-name="JobRequisition" value-field="lookedUpValue"/>
+        <set-nonpk-fields value-field="lookedUpValue" map="parameters"/>
+        <store-value value-field="lookedUpValue"/>
+    </simple-method>
+    
+    <simple-method method-name="deleteJobRequisition" short-description="Delete Job Requisition">
+        <entity-one entity-name="JobRequisition" value-field="lookedUpValue"/>
+        <remove-value value-field="lookedUpValue"/>
+    </simple-method>
+    
+    <simple-method method-name="createInternalJobPosting" short-description="Create Internal Job Posting">
+        <make-value entity-name="EmploymentApp" value-field="newEntity"/>
+        <set-nonpk-fields map="parameters" value-field="newEntity"/>
+        <sequenced-id sequence-name="EmploymentApp" field="newEntity.applicationId"/>
+        <field-to-result field="newEntity.applicationId" result-name="applicationId"/>
+        <create-value value-field="newEntity"/>
+    </simple-method>
+    
+    <simple-method method-name="updateInternalJobPosting" short-description="Update Internal Job Posting">
+        <entity-one entity-name="EmploymentApp" value-field="lookedUpValue"/>
+        <set-nonpk-fields value-field="lookedUpValue" map="parameters"/>
+        <store-value value-field="lookedUpValue"/>
+    </simple-method>
+    
+    <simple-method method-name="deleteInternalJobPosting" short-description="Delete Internal Job Posting">
+        <entity-one entity-name="EmploymentApp" value-field="lookedUpValue"/>
+        <remove-value value-field="lookedUpValue"/>
+    </simple-method>
+    
+    <simple-method method-name="createJobInterview" short-description="Create Job Interview">
+        <make-value entity-name="JobInterview" value-field="newEntity"/>
+        <set-nonpk-fields map="parameters" value-field="newEntity"/>
+        <sequenced-id sequence-name="JobInterview" field="newEntity.jobInterviewId"/>
+        <field-to-result field="newEntity.jobInterviewId" result-name="jobInterviewId"/>
+        <create-value value-field="newEntity"/>
+    </simple-method>
+    
+    <simple-method method-name="updateJobInterview" short-description="Update Job Interview">
+        <entity-one entity-name="JobInterview" value-field="lookedUpValue"/>
+        <set-nonpk-fields value-field="lookedUpValue" map="parameters"/>
+        <store-value value-field="lookedUpValue"/>
+    </simple-method>
+    
+    <simple-method method-name="deleteJobInterview" short-description="Delete Job Interview">
+        <entity-one entity-name="JobInterview" value-field="lookedUpValue"/>
+        <remove-value value-field="lookedUpValue"/>
+    </simple-method>
+    
+    <simple-method method-name="createJobInterviewType" short-description="Create Job Interview Type">
+        <make-value entity-name="JobInterviewType" value-field="newEntity" />
+        <set-nonpk-fields map="parameters" value-field="newEntity"/>
+        <if-empty field="parameters.jobInterviewTypeId">
+            <sequenced-id sequence-name="JobInterviewType" field="newEntity.jobInterviewTypeId"/>
+        <else>
+            <set from-field="parameters.jobInterviewTypeId" field="newEntity.jobInterviewTypeId"/>
+        </else>
+        </if-empty>
+        <field-to-result field="newEntity.jobInterviewTypeId" result-name="jobInterviewTypeId"/>
+        <create-value value-field="newEntity"/>
+    </simple-method>
+    
+    <simple-method method-name="updateJobInterviewType" short-description="Update Interview Type">
+        <entity-one entity-name="JobInterviewType" value-field="lookedUpValue"/>
+        <set-nonpk-fields value-field="lookedUpValue" map="parameters"/>
+        <store-value value-field="lookedUpValue"/>
+    </simple-method>
+    
+    <simple-method method-name="deleteJobInterviewType" short-description="Delete Interview Type">
+        <entity-one entity-name="JobInterviewType" value-field="lookedUpValue"/>
+        <remove-value value-field="lookedUpValue"/>
+    </simple-method>
+        
+    <simple-method method-name="updateApprovalStatus" short-description="Update Approval Status">
+        <entity-one entity-name="EmploymentApp" value-field="lookedUpValue"/>
+        <set-nonpk-fields value-field="lookedUpValue" map="parameters"/>
+        <store-value value-field="lookedUpValue"/>
+    </simple-method>
 </simple-methods>

Modified: ofbiz/trunk/applications/humanres/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/servicedef/services.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/humanres/servicedef/services.xml Thu May 21 06:02:38 2009
@@ -728,4 +728,123 @@
         <attribute name="emplPositionRateAmount" type="org.ofbiz.entity.GenericValue" mode="OUT" optional="true"/>
     </service>
 
-</services>
\ No newline at end of file
+    <service name="createJobRequisition" engine="simple" default-entity-name="JobRequisition"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="createJobRequisition" auth="true">
+        <description>Create a new Job Requisition</description>
+        <permission-service service-name="humanResManagerPermission" main-action="CREATE"/>
+        <auto-attributes mode="INOUT" entity-name="JobRequisition" include="pk" optional="true"/>
+        <auto-attributes mode="IN" entity-name="JobRequisition" include="nonpk" optional="true"/>
+        <override name="noOfResources" optional="false"/>
+        <override name="qualification" optional="false"/>
+        <override name="durationMonths" optional="false"/>
+        <override name="location" optional="false"/>
+    </service>
+    
+    <service name="updateJobRequisition" engine="simple" default-entity-name="JobRequisition"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="updateJobRequisition" auth="true">
+        <description>Update Job Requisition</description>
+        <permission-service service-name="humanResManagerPermission" main-action="UPDATE"/>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+        <override name="noOfResources" optional="false"/>
+        <override name="durationMonths" optional="false"/>
+        <override name="location" optional="false"/>
+    </service>
+    
+    <service name="deleteJobRequisition" engine="simple" default-entity-name="JobRequisition"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="deleteJobRequisition" auth="true">
+        <description>Delete a Job Requisition</description>
+        <permission-service service-name="humanResManagerPermission" main-action="DELETE"/>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+    </service>
+    
+    <service name="createInternalJobPosting" engine="simple" default-entity-name="EmploymentApp"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="createInternalJobPosting" auth="true">
+        <description>Create a New Internal Job Posting</description>
+        <permission-service service-name="humanResManagerPermission" main-action="CREATE"/>
+        <auto-attributes mode="INOUT" entity-name="EmploymentApp" include="pk" optional="true"/>
+        <auto-attributes mode="IN" entity-name="EmploymentApp" include="nonpk" optional="true"/>
+        <override name="applyingPartyId" optional="false"/>
+        <override name="approverPartyIdapproverPartyId" optional="false"/>
+        <override name="jobRequisitionId" optional="false"/>
+    </service>
+    
+    <service name="updateInternalJobPosting" engine="simple" default-entity-name="EmploymentApp"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="updateInternalJobPosting" auth="true">
+        <description>Update Internal Job Posting</description>
+        <permission-service service-name="humanResManagerPermission" main-action="UPDATE"/>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+        <override name="applyingPartyId" optional="false"/>
+        <override name="approverPartyId" optional="false"/>
+        <override name="jobRequisitionId" optional="false"/>
+    </service>
+    
+    <service name="deleteInternalJobPosting" engine="simple" default-entity-name="EmploymentApp"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="deleteInternalJobPosting" auth="true">
+        <description>Delete an Internal Job Posting</description>
+        <permission-service service-name="humanResManagerPermission" main-action="DELETE"/>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+    </service>
+    
+    <service name="createJobInterview" engine="simple" default-entity-name="JobInterview"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="createJobInterview" auth="true">
+        <description>Create Job Interview</description>
+        <auto-attributes mode="INOUT" entity-name="JobInterview" include="pk"  optional="true"/>
+        <auto-attributes mode="IN" entity-name="JobInterview" include="nonpk" optional="true"/>
+        <override name="jobIntervieweePartyId" optional="false"/>
+        <override name="jobRequisitionId" optional="false"/>
+        <override name="jobInterviewerPartyId" optional="false"/>
+    </service>
+    
+    <service name="updateJobInterview" engine="simple" default-entity-name="JobInterview"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="updateJobInterview" auth="true">
+        <description>Update Job Interview</description>
+        <permission-service service-name="humanResManagerPermission" main-action="UPDATE"/>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+        <override name="jobIntervieweePartyId" optional="false"/>
+        <override name="jobRequisitionId" optional="false"/>
+        <override name="jobInterviewTypeId" optional="false"/>
+    </service>
+    
+    <service name="deleteJobInterview" engine="simple" default-entity-name="JobInterview"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="deleteJobInterview" auth="true">
+        <description>Delete Job Interview</description>
+        <permission-service service-name="humanResManagerPermission" main-action="DELETE"/>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+    </service>
+    
+    <service name="createJobInterviewType" engine="simple" default-entity-name="JobInterviewType"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="createJobInterviewType" auth="true">
+        <description>Create a New Interview Type</description>
+        <auto-attributes mode="INOUT" include="pk" optional="true"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+        <override name="description" optional="false"/>
+    </service>
+    
+    <service name="updateJobInterviewType" engine="simple" default-entity-name="JobInterviewType"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="updateJobInterviewType" auth="true">
+        <description>Update Interview Type</description>
+        <permission-service service-name="humanResManagerPermission" main-action="UPDATE"/>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+        <override name="description" optional="false"/>
+    </service>
+    
+    <service name="deleteJobInterviewType" engine="simple" default-entity-name="JobInterviewType"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="deleteJobInterviewType" auth="true">
+        <description>Delete Interview Type</description>
+        <permission-service service-name="humanResManagerPermission" main-action="DELETE"/>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+    </service>
+        
+    <service name="updateApprovalStatus" engine="simple" default-entity-name="EmploymentApp"
+            location="component://humanres/script/org/ofbiz/humanres/HumanResServices.xml" invoke="updateApprovalStatus" auth="true">
+        <description>Update Approval Status</description>
+        <permission-service service-name="humanResManagerPermission" main-action="UPDATE"/>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+
+</services>

Modified: ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml Thu May 21 06:02:38 2009
@@ -886,6 +886,119 @@
         <response name="error" type="view" value="EditEmplLeaves"/>
     </request-map>
 
+    <!--====================Recruitment Requests===================================-->
+    <request-map uri="FindJobRequisitions">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="FindJobRequisitions"/>
+    </request-map>
+    <request-map uri="EditJobRequisition">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditJobRequisition"/>
+    </request-map>
+    <request-map uri="createJobRequisition">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="createJobRequisition"/>
+        <response name="success" type="view" value="EditJobRequisition"/>
+        <response name="error" type="view" value="EditJobRequisition"/>
+    </request-map>
+    <request-map uri="updateJobRequisition">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="updateJobRequisition"/>
+        <response name="success" type="request" value="EditJobRequisition"/>
+        <response name="error" type="view" value="EditJobRequisition"/>
+    </request-map>
+    <request-map uri="deleteJobRequisition">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="deleteJobRequisition"/>
+        <response name="success" type="view" value="FindJobRequisitions"/>
+    </request-map>
+    <request-map uri="FindInternalJobPosting">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="FindInternalJobPosting"/>
+    </request-map>
+    <request-map uri="EditInternalJobPosting">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditInternalJobPosting"/>
+    </request-map>
+    <request-map uri="createInternalJobPosting">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="createInternalJobPosting"/>
+        <response name="success" type="view"  value="EditInternalJobPosting"/>
+        <response name="error" type="view"  value="EditInternalJobPosting"/>
+    </request-map>
+    <request-map uri="updateInternalJobPosting">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="updateInternalJobPosting"/>
+        <response name="success" type="view"  value="EditInternalJobPosting"/>
+        <response name="error" type="view"  value="EditInternalJobPosting"/>
+    </request-map>
+    <request-map uri="deleteInternalJobPosting">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="deleteInternalJobPosting"/>
+        <response name="success" type="view" value="FindInternalJobPosting"/>
+    </request-map>
+    <request-map uri="FindJobInterview">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="FindJobInterview"/>
+    </request-map>
+    <request-map uri="EditJobInterview">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditJobInterview"/>
+    </request-map>
+    <request-map uri="createJobInterview">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="createJobInterview"/>
+        <response name="success" type="view" value="EditJobInterview"/>
+        <response name="error" type="view" value="EditJobInterview"/>
+    </request-map>
+    <request-map uri="updateJobInterview">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="updateJobInterview"/>
+        <response name="success" type="request" value="EditJobInterview"/>
+    </request-map>
+    <request-map uri="deleteJobInterview">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="deleteJobInterview"/>
+        <response name="success" type="view" value="FindJobInterview"/>
+    </request-map>
+    <request-map uri="FindApprovals">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="FindApprovals"/>
+    </request-map>
+    <request-map uri="EditApprovalStatus">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditApprovalStatus"/>
+    </request-map>
+    <request-map uri="updateApprovalStatus">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="updateApprovalStatus"/>
+        <response name="success" type="view" value="EditApprovalStatus"/>
+        <response name="error" type="view" value="EditApprovalStatus"/>
+    </request-map>
+    <request-map uri="FindRelocation">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="FindRelocation"/>
+    </request-map>
+    <request-map uri="EditJobInterviewType">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditJobInterviewType"/>
+    </request-map>
+    <request-map uri="createJobInterviewType">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="createJobInterviewType"/>
+        <response name="success" type="view" value="EditJobInterviewType"/>
+    </request-map>
+    <request-map uri="updateJobInterviewType">
+        <security https="true" auth="true"/>
+        <event type="service-multi" invoke="updateJobInterviewType"/>
+        <response name="success" type="request" value="EditJobInterviewType"/>
+    </request-map>
+    <request-map uri="deleteJobInterviewType">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="deleteJobInterviewType"/>
+        <response name="success" type="request" value="EditJobInterviewType"/>
+    </request-map>
+
     <!-- ===================Lookup Request===================== -->
     <request-map uri="LookupPartyName"><security auth="true" https="true"/><response name="success" type="view" value="LookupPartyName"/></request-map>
     <request-map uri="LookupPayment"><security auth="true" https="true"/><response name="success" type="view" value="LookupPayment"/></request-map>
@@ -902,6 +1015,7 @@
     <request-map uri="LookupPartyResume"><security auth="true" https="true"/><response name="success" type="view" value="LookupPartyResume"/></request-map>
     <request-map uri="LookupEmploymentApp"><security auth="true" https="true"/><response name="success" type="view" value="LookupEmploymentApp"/></request-map>
     <request-map uri="LookupAgreement"><security auth="true" https="true"/><response name="success" type="view" value="LookupAgreement"/></request-map>
+    <request-map uri="LookupJobRequisition"><security auth="true" https="true"/><response name="success" type="view" value="LookupJobRequisition"/></request-map>
 
     <view-map name="LookupPartyName" type="screen" page="component://party/widget/partymgr/LookupScreens.xml#LookupPartyName"/>
     <view-map name="LookupPayment"  type="screen" page="component://accounting/widget/LookupScreens.xml#LookupPayment"/>
@@ -918,6 +1032,7 @@
     <view-map name="LookupPartyResume" type="screen" page="component://humanres/widget/LookupScreens.xml#LookupPartyResume"/>
     <view-map name="LookupEmploymentApp" type="screen" page="component://humanres/widget/LookupScreens.xml#LookupEmploymentApp"/>
     <view-map name="LookupAgreement" type="screen" page="component://accounting/widget/LookupScreens.xml#LookupAgreement"/>
+    <view-map name="LookupJobRequisition" type="screen" page="component://humanres/widget/LookupScreens.xml#LookupJobRequisition"/>
 
     <view-map name="main" type="screen" page="component://humanres/widget/CommonScreens.xml#Main"/>
 
@@ -993,4 +1108,16 @@
     <view-map name="NewEmplLeave" type="screen" page="component://humanres/widget/EmplLeaveScreens.xml#NewEmplLeave"/>
     <view-map name="EditEmplLeaves" type="screen" page="component://humanres/widget/EmplLeaveScreens.xml#EditEmplLeaves"/>
     <view-map name="EditEmplLeaveTypes" type="screen" page="component://humanres/widget/EmplLeaveScreens.xml#EditEmplLeaveTypes"/>
-</site-conf>
\ No newline at end of file
+    
+    <!-- ==================Recruitment View Map===================== -->
+    <view-map name="FindJobRequisitions" type="screen" page="component://humanres/widget/RecruitmentScreens.xml#FindJobRequisitions"/>
+    <view-map name="EditJobRequisition" type="screen" page="component://humanres/widget/RecruitmentScreens.xml#EditJobRequisition"/>
+    <view-map name="FindInternalJobPosting" type="screen" page="component://humanres/widget/RecruitmentScreens.xml#FindInternalJobPosting"/>
+    <view-map name="EditInternalJobPosting" type="screen" page="component://humanres/widget/RecruitmentScreens.xml#EditInternalJobPosting"/>
+    <view-map name="FindJobInterview" type="screen" page="component://humanres/widget/RecruitmentScreens.xml#FindJobInterview"/>
+    <view-map name="EditJobInterview" type="screen" page="component://humanres/widget/RecruitmentScreens.xml#EditJobInterview"/>
+    <view-map name="FindApprovals" type="screen" page="component://humanres/widget/RecruitmentScreens.xml#FindApprovals"/>
+    <view-map name="EditApprovalStatus" type="screen" page="component://humanres/widget/RecruitmentScreens.xml#EditApprovalStatus"/>    
+    <view-map name="FindRelocation" type="screen" page="component://humanres/widget/RecruitmentScreens.xml#FindRelocation"/>
+    <view-map name="EditJobInterviewType" type="screen" page="component://humanres/widget/GlobalHRSettingScreens.xml#EditJobInterviewType"/>
+</site-conf>

Modified: ofbiz/trunk/applications/humanres/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/CommonScreens.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/CommonScreens.xml Thu May 21 06:02:38 2009
@@ -358,4 +358,28 @@
             </widgets>
         </section>
     </screen>
+    <screen name="CommonRecruitmentDecorator">
+        <section>
+            <actions>
+                <set field="headerItem" value="Recruitment"/>
+                <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <widgets>
+                                <section>
+                                    <widgets>
+                                        <include-menu name="RecruitmentTypeMenu" location="component://humanres/widget/Menus.xml"/>
+                                    </widgets>
+                                </section>
+                                <decorator-section-include name="body"/>
+                            </widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
 </screens>

Modified: ofbiz/trunk/applications/humanres/widget/GlobalHRSettingScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/GlobalHRSettingScreens.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/GlobalHRSettingScreens.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/GlobalHRSettingScreens.xml Thu May 21 06:02:38 2009
@@ -188,4 +188,24 @@
             </widgets>
         </section>
     </screen>
-</screens>
\ No newline at end of file
+    <screen name="EditJobInterviewType">
+        <section>                        
+            <actions>
+                <set field="tabButtonItem" value="JobInterviewType"/>
+                <set field="titleProperty" value="PageTitleEditJobInterviewType"/>
+                <set field="jobInterviewTypeId" from-field="parameters.jobInterviewTypeId"/>
+                <entity-one entity-name="JobInterviewType" value-field="interviewType" />
+            </actions>            
+            <widgets>
+                <decorator-screen name="GlobalHRSettingsDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">                                                                                      
+                        <screenlet id="AddJobInterviewTypePanel" title="${uiLabelMap.HumanResAddJobInterviewType}" collapsible="true">
+                            <include-form name="AddJobInterviewType" location="component://humanres/widget/forms/GlobalHRSettingForms.xml"/>
+                        </screenlet>
+                        <include-form name="ListJobInterviewType" location="component://humanres/widget/forms/GlobalHRSettingForms.xml"/>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>            
+        </section>
+    </screen>
+</screens>

Modified: ofbiz/trunk/applications/humanres/widget/LookupScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/LookupScreens.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/LookupScreens.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/LookupScreens.xml Thu May 21 06:02:38 2009
@@ -258,4 +258,36 @@
             </widgets>
         </section>
     </screen>
+    <screen name="LookupJobRequisition">
+        <section>
+            <actions>
+                <property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
+                <set field="title" value="${uiLabelMap.LookupJobReq}"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
+                    <decorator-section name="body">
+                        <include-form name="LookupJobRequisition" location="component://humanres/widget/forms/LookupForms.xml"/>
+                        <include-form name="ListLookupJobRequisition" location="component://humanres/widget/forms/LookupForms.xml"/>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="LookupJobInterview">
+        <section>
+            <actions>
+                <property-map resource="HumanResUiLabels" map-name="uiLabelMap" global="true"/>
+                <set field="title" value="${uiLabelMap.LookupJobInterview}"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
+                    <decorator-section name="body">
+                        <include-form name="LookupJobInterview" location="component://humanres/widget/forms/LookupForms.xml"/>
+                        <include-form name="ListLookupJobInterview" location="component://humanres/widget/forms/LookupForms.xml"/>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
 </screens>

Modified: ofbiz/trunk/applications/humanres/widget/Menus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/Menus.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/Menus.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/Menus.xml Thu May 21 06:02:38 2009
@@ -27,6 +27,7 @@
         <menu-item name="PerfReview" title="${uiLabelMap.HumanResPerfReview}"><link target="FindPerfReviews"/></menu-item>
         <menu-item name="EmplSkills" title="${uiLabelMap.HumanResSkills}"><link target="FindPartySkills"/></menu-item>
         <menu-item name="PartyQual" title="${uiLabelMap.HumanResPartyQualification}"><link target="FindPartyQuals"/></menu-item>
+        <menu-item name="Recruitment" title="${uiLabelMap.HumanResRecruitment}"><link target="FindJobRequisitions"/></menu-item>        
         <menu-item name="Training" title="${uiLabelMap.HumanResTraining}"><link target="FindPersonTrainings"/></menu-item>
         <menu-item name="EmploymentApp" title="${uiLabelMap.HumanResEmploymentApp}"><link target="FindEmploymentApps"/></menu-item>
         <menu-item name="PartyResume" title="${uiLabelMap.HumanResPartyResume}"><link target="FindPartyResumes"/></menu-item>
@@ -165,6 +166,9 @@
         <menu-item name="PayGrade" title="${uiLabelMap.HumanResPayGrade}">
             <link target="FindPayGrades"/>
         </menu-item>
+        <menu-item name="JobInterviewType" title="${uiLabelMap.HumanResJobInterviewType}">
+            <link target="EditJobInterviewType"/>
+        </menu-item>
     </menu>
 
     <menu name="EmployeeProfileTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
@@ -235,4 +239,37 @@
             </link>
         </menu-item>
     </menu>
-</menus>
\ No newline at end of file
+    
+    <menu name="RecruitmentTypeMenu" type="simple" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
+        default-menu-item-name="JobRequisition">
+        <menu-item name="JobRequisition" title="${uiLabelMap.HumanResJobRequisition}">
+            <condition><if-has-permission permission="HUMANRES" action="_VIEW"/></condition>
+            <link target="FindJobRequisitions"/>
+        </menu-item>
+        <menu-item name="InternalJobPosting" title="${uiLabelMap.HumanResInternalJobPosting}">
+            <condition><if-has-permission permission="HUMANRES" action="_VIEW"/></condition>
+            <link target="FindInternalJobPosting"/>
+        </menu-item>
+    </menu>
+    
+    <menu name="InternalJobPostingTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
+        default-menu-item-name="InternalJobPosting" type="simple" menu-container-style="button-bar tab-bar"
+        default-selected-style="selected" selected-menuitem-context-field-name="tabButtonItem">
+        <menu-item name="InternalJobPosting" title="${uiLabelMap.HumanResInternalJobPosting}">
+            <link target="FindInternalJobPosting"/>
+        </menu-item>
+        <menu-item name="JobInterview" title="${uiLabelMap.HumanResJobInterview}">
+            <condition><if-has-permission permission="HUMANRES" action="_ADMIN"/></condition>
+            <link target="FindJobInterview"/>
+        </menu-item>
+        <menu-item name="Approval" title="${uiLabelMap.HumanResApproval}">
+            <condition><if-has-permission permission="HUMANRES" action="_APPROVE"/></condition>
+            <link target="FindApprovals"/>
+        </menu-item>
+        <menu-item name="Relocation" title="${uiLabelMap.HumanResRelocation}">
+            <condition><if-has-permission permission="HUMANRES" action="_ADMIN"/></condition>
+            <link target="FindRelocation"/>
+        </menu-item>
+    </menu>
+    
+</menus>

Added: ofbiz/trunk/applications/humanres/widget/RecruitmentScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/RecruitmentScreens.xml?rev=776961&view=auto
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/RecruitmentScreens.xml (added)
+++ ofbiz/trunk/applications/humanres/widget/RecruitmentScreens.xml Thu May 21 06:02:38 2009
@@ -0,0 +1,321 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
+    <screen name="FindJobRequisitions">
+        <section>            
+            <actions>  
+                <set field="titleProperty" value="PageTitleFindJobRequisition"/>
+                <set field="tabButtonItem" value="JobRequisition"/>
+                <service service-name="humanResManagerPermission" result-map="permResult">
+                    <field-map field-name="mainAction" value="ADMIN"/>
+                </service>
+                <set field="hasAdminPermission" from-field="permResult.hasPermission"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonRecruitmentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <condition>
+                                <if-has-permission permission="HUMANRES" action="_VIEW"/>
+                            </condition>
+                            <widgets>
+                                <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
+                                    <decorator-section name="menu-bar">
+                                        <section>
+                                            <condition>
+                                                <if-has-permission permission="HUMANRES" action="_ADMIN"/>
+                                            </condition>
+                                            <widgets>
+                                                <container style="button-bar">
+                                                    <link target="EditJobRequisition" text="${uiLabelMap.HumanResNewJobRequisition}" style="buttontext"/>
+                                                </container>
+                                            </widgets>
+                                        </section>
+                                    </decorator-section>
+                                    <decorator-section name="search-options">
+                                        <include-form name="FindJobRequisitions" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                    </decorator-section>
+                                    <decorator-section name="search-results">
+                                        <include-form name="ListJobRequisitions" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                    </decorator-section>
+                                </decorator-screen>
+                            </widgets>
+                            <fail-widgets>
+                                <label style="h3">${uiLabelMap.HumanResViewPermissionError}</label>
+                            </fail-widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="EditJobRequisition">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleEditJobRequisition"/>
+                <set field="tabButtonItem" value="JobRequisition"/>
+                <set field="jobRequisitionId" from-field="parameters.jobRequisitionId"/>
+                <entity-one entity-name="JobRequisition" value-field="jobRequisition"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonRecruitmentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <screenlet title="${uiLabelMap.HumanResEditJobRequisition}">
+                            <section>
+                                <widgets>
+                                    <include-form name="EditJobRequisition" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                </widgets>
+                            </section>
+                        </screenlet>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="FindInternalJobPosting">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleFindInternalJobPosting"/>
+                <set field="tabButtonItem" value="InternalJobPosting"/>
+                <service service-name="humanResManagerPermission" result-map="permResult">
+                    <field-map field-name="mainAction" value="ADMIN"/>
+                </service>
+                <set field="hasAdminPermission" from-field="permResult.hasPermission"/>
+                <set field="partyId" from-field="parameters.userLogin.partyId"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonRecruitmentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <include-menu name="InternalJobPostingTabBar" location="component://humanres/widget/Menus.xml"/>
+                        <section>
+                            <condition>
+                                <if-has-permission permission="HUMANRES" action="_VIEW"/>
+                            </condition>
+                            <widgets>
+                                <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
+                                    <decorator-section name="menu-bar">
+                                        <section>
+                                            <widgets>
+                                                <container style="button-bar">
+                                                    <link target="EditInternalJobPosting" text="${uiLabelMap.HumanResNewInternalJobPosting}" style="buttontext"/>
+                                                </container>
+                                            </widgets>
+                                        </section>
+                                    </decorator-section>
+                                    <decorator-section name="search-options">
+                                        <include-form name="FindInternalJobPosting" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                    </decorator-section>
+                                    <decorator-section name="search-results">
+                                        <include-form name="ListInternalJobPosting" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                    </decorator-section>
+                                </decorator-screen>
+                            </widgets>
+                            <fail-widgets>
+                                <label style="h3">${uiLabelMap.HumanResViewPermissionError}</label>
+                            </fail-widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="EditInternalJobPosting">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleEditInternalJobPosting"/>
+                <set field="tabButtonItem" value="InternalJobPosting"/>
+                <set field="applicationId" from-field="parameters.applicationId"/>
+                <entity-one entity-name="EmploymentApp" value-field="employmentApp"/>
+                <set field="partyId" from-field="parameters.userLogin.partyId"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonRecruitmentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <include-menu name="InternalJobPostingTabBar" location="component://humanres/widget/Menus.xml"/>
+                        <screenlet id="EditInternalJobPosting" title="${uiLabelMap.HumanResNewInternalJobPosting}" collapsible="true">
+                            <include-form name="EditInternalJobPosting" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                        </screenlet>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="FindJobInterview">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleFindJobInterviewDetails"/>
+                <set field="tabButtonItem" value="JobInterview"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonRecruitmentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <include-menu name="InternalJobPostingTabBar" location="component://humanres/widget/Menus.xml"/>
+                        <section>
+                            <condition>
+                                <if-has-permission permission="HUMANRES" action="_VIEW"/>
+                            </condition>
+                            <widgets>
+                                <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
+                                    <decorator-section name="menu-bar">
+                                        <section>
+                                            <widgets>
+                                                <container style="button-bar">
+                                                    <link target="EditJobInterview" text="${uiLabelMap.HumanResNewJobInterview}" style="buttontext"/>
+                                                </container>
+                                            </widgets>
+                                        </section>
+                                    </decorator-section>
+                                    <decorator-section name="search-options">
+                                        <include-form name="FindJobInterview" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                    </decorator-section>
+                                    <decorator-section name="search-results">
+                                        <include-form name="ListInterview" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                    </decorator-section>
+                                </decorator-screen>
+                            </widgets>
+                            <fail-widgets>
+                                <label style="h3">${uiLabelMap.HumanResViewPermissionError}</label>
+                            </fail-widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="EditJobInterview">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleEditJobInterview"/>
+                <set field="tabButtonItem" value="JobInterview"/>
+                <set field="jobInterviewId" from-field="parameters.jobInterviewId"/>
+                <entity-one entity-name="JobInterview" value-field="JobInterview"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonRecruitmentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <include-menu name="InternalJobPostingTabBar" location="component://humanres/widget/Menus.xml"/>
+                        <section>
+                            <widgets>
+                                <container style="boxoutside">
+                                    <container style="screenlet-header">
+                                        <label style="boxhead">${uiLabelMap.HumanResEditJobInterview}</label>
+                                    </container>
+                                    <include-form name="EditJobInterview" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                </container>
+                            </widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="FindApprovals">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleFindApprovals"/>
+                <set field="tabButtonItem" value="Approval"/>
+                <service service-name="humanResManagerPermission" result-map="permResult">
+                    <field-map field-name="mainAction" value="ADMIN"/>
+                </service>
+                <set field="hasAdminPermission" from-field="permResult.hasPermission"/>
+                <set field="partyId" from-field="parameters.userLogin.partyId"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonRecruitmentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <include-menu name="InternalJobPostingTabBar" location="component://humanres/widget/Menus.xml"/>
+                        <section>
+                            <condition>
+                                <if-has-permission permission="HUMANRES" action="_VIEW"/>
+                            </condition>
+                            <widgets>
+                                <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
+                                    <decorator-section name="search-options">
+                                        <include-form name="FindApprovals" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                    </decorator-section>
+                                    <decorator-section name="search-results">
+                                        <include-form name="ListApprovals" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                    </decorator-section>
+                                </decorator-screen>
+                            </widgets>
+                            <fail-widgets>
+                                <label style="h3">${uiLabelMap.HumanResViewPermissionError}</label>
+                            </fail-widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="EditApprovalStatus">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleEditApprovalStatus"/>
+                <set field="tabButtonItem" value="Approval"/>                
+                <set field="candidateRequestId" from-field="parameters.candidateRequestId"/>
+                <entity-one entity-name="EmploymentApp" value-field="employmentApp"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonRecruitmentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <include-menu name="InternalJobPostingTabBar" location="component://humanres/widget/Menus.xml"/>
+                        <screenlet id="EditApprovalStatus" title="${uiLabelMap.HumanResEditApprovalStatus}" collapsible="true">
+                            <include-form name="EditApprovalStatus" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                        </screenlet>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="FindRelocation">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleFindRelocationDetails"/>
+                <set field="tabButtonItem" value="Relocation"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonRecruitmentDecorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <include-menu name="InternalJobPostingTabBar" location="component://humanres/widget/Menus.xml"/>
+                        <section>
+                            <condition>
+                                <if-has-permission permission="HUMANRES" action="_VIEW"/>
+                            </condition>
+                            <widgets>
+                                <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
+                                    <decorator-section name="search-options">
+                                        <include-form name="FindRelocation" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                    </decorator-section>
+                                    <decorator-section name="search-results">
+                                        <include-form name="ListRelocation" location="component://humanres/widget/forms/RecruitmentForms.xml"/>
+                                    </decorator-section>
+                                </decorator-screen>
+                            </widgets>
+                            <fail-widgets>
+                                <label style="h3">${uiLabelMap.HumanResViewPermissionError}</label>
+                            </fail-widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+</screens>

Propchange: ofbiz/trunk/applications/humanres/widget/RecruitmentScreens.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/humanres/widget/RecruitmentScreens.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/applications/humanres/widget/RecruitmentScreens.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml Thu May 21 06:02:38 2009
@@ -97,6 +97,8 @@
             <lookup target-form-name="LookupPartyName"/>
         </field>
         <field name="referredByPartyId" use-when="referredByPartyId!=null"><hidden/></field>
+        <field name="approverPartyId"><hidden/></field>
+        <field name="jobRequisitionId"><hidden/></field>
          <field name="searchButton" widget-style="smallSubmit"><submit button-type="button"/></field>
         <field name="searchButton" widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
@@ -130,4 +132,4 @@
         <field name="applicationDate"><date-time/></field>
         <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
-</forms>
\ No newline at end of file
+</forms>

Modified: ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml Thu May 21 06:02:38 2009
@@ -210,4 +210,24 @@
         <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field>
         <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
-</forms>
\ No newline at end of file
+    <form name="ListJobInterviewType" type="multi" target="updateJobInterviewType" odd-row-style="alternate-row" header-row-style="header-row-2"
+        default-table-style="basic-table hover-bar">
+        <actions>
+            <entity-condition entity-name="JobInterviewType"><order-by field-name="jobInterviewTypeId"/></entity-condition>
+        </actions>
+        <field name="jobInterviewTypeId"><display/></field>
+        <field name="description" title="${uiLabelMap.CommonDescription}"><text/></field>
+        <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
+            <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteJobInterviewType">
+                <parameter param-name="jobInterviewTypeId"/>
+            </hyperlink>
+        </field>
+        <field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><hidden value="Y"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit/></field>
+    </form>
+    <form name="AddJobInterviewType" type="single" target="createJobInterviewType" header-row-style="header-row" default-table-style="basic-table">
+        <field name="jobInterviewTypeId"><text/></field>
+        <field name="description" title="${uiLabelMap.CommonDescription}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="buttontext"><submit button-type="text-link"/></field>
+    </form>
+</forms>

Modified: ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml?rev=776961&r1=776960&r2=776961&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/forms/LookupForms.xml Thu May 21 06:02:38 2009
@@ -289,4 +289,41 @@
         </field>
         <field name="description"><display/></field>
     </form>
-</forms>
\ No newline at end of file
+    <form name="LookupJobRequisition" type="single" target="LookupJobRequisition">
+        <field name="jobRequisitionId"><text-find/></field>
+        <field name="qualification"><text-find default-option="contains" ignore-case="true"/></field>
+        <field name="location"><text-find default-option="contains" ignore-case="true"/></field>
+        <field name="skillTypeId">
+            <drop-down allow-empty="true">
+                <entity-options description="${description}" entity-name="SkillType">
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="jobPostingTypeId">
+            <drop-down allow-empty="true">
+                <entity-options entity-name="Enumeration" key-field-name="enumId" description="${description}">
+                    <entity-constraint name="enumTypeId" operator="equals" value="JOB_POSTING"/>
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="noConditionFind"><hidden value="Y"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    <form name="ListLookupJobRequisition" type="list" list-name="listIt" paginate-target="LookupJobRequisition">
+        <actions>
+            <service service-name="performFind" result-map="result" result-map-list="listIt">
+                <field-map field-name="inputFields" from-field="parameters"/>
+                <field-map field-name="entityName" value="JobRequisition"/>
+            </service>
+        </actions>
+        <field name="jobRequisitionId" widget-style="buttontext">
+            <hyperlink also-hidden="false" target-type="plain" description="${jobRequisitionId}" target="javascript:set_value('${jobRequisitionId}')"/>
+        </field>
+        <field name="jobPostingTypeId"><display/></field>
+        <field name="qualification"><display/></field>
+        <field name="skillTypeId"><display/></field>
+        <field name="location"><display/></field>
+    </form>
+</forms>