Commit Graph
56 Commits
Author SHA1 Message Date
Suraj Khurana 59d465bfd8 Improved: All the service level error messages for missing required field for humanares component.
(OFBIZ-8716)
Thanks Jagpreet for reporting and Prasheel for providing the initial patch
2020-05-23 17:06:18 +05:30
Suraj Khurana c3cda28099 Improved: Converted all EmplLeave related CRUD services from simple to entity-auto (#97)
(OFBIZ-11630)
Also, added comments for similar types entity-auto services and clubbed them for better visibility.
2020-05-04 14:12:59 +05:30
Suraj Khurana 71d9040923 Improved: Converted all SalaryStep related CRUD services from simple to entity-auto (#98)
Improved: Converted all SalaryStep related CRUD services from simple to entity-auto
(OFBIZ-11631)
2020-05-03 11:26:36 +05:30
Jacques Le Roux ddb43a6493 Fixed: field emplFromDate is forgot in PayHistory entity
(OFBIZ-11028)

Arpit Mor: steps to regenerate:
    Login to the URL: https://demo-trunk.ofbiz.apache.org/humanres/control/main
    Click on Employments
    Click on New Employments
    Click on Create
Actual: Error message is displayed.

Olivier Heintz: employment is associated with PayHistory, and there is a problem 
in PayHistory entity definition in OFBiz,
In PayHistory, the field fromDate from Employment is confused with fromDate 
about the current record.
A Employment can have multiple PayHistories and should have multiple
because PayHistory should show history of Pay  for a employment  !
It's necessary to have a field emplFromDate (to have the complete employment 
primaryKey).
When modifying a PayRecord the current should be expire and a new one should 
be created.

Thanks: Arpit Mor for report at OFBIZ-10969 and Olivier Heintz for the fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1859571 13f79535-47bb-0310-9956-ffa450edef68
2019-05-20 17:14:43 +00:00
Michael Brohl acbfbfda3f Fixed: Errors and warnings in webtools' ArtifactInfo
(OFBIZ-10760)

This fixes an engine declaration mistake introduced in OFBIZ-9111, 
removes an unused service which should have been deleted in OFBIZ-8722
and removes unused services which should have been deleted in 
OFBIZ-10146.

Thanks Mathieu Lirzin for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1851158 13f79535-47bb-0310-9956-ffa450edef68
2019-01-12 11:25:50 +00:00
Deepak Dixit c2c47188b7 Fixed: Added missing license header in some files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812289 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 12:22:33 +00:00
Deepak Dixit 7f04d6de79 Improved: Service "deletePayHistory" does not have correct implementation (OFBIZ-9111)
Use entity auto for deletePayHistory service, also added new service to expirePayHistory and call expirePayHistory from UI.

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801348 13f79535-47bb-0310-9956-ffa450edef68
2017-07-09 06:02:33 +00:00
Deepak Dixit 7fb5c14fe3 Improved: Removed deprecated entity related migration service, also removed some more deprecated entities that are located in entitymodel.xml instead entitymodel_old.xm (OFBIZ-9327)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792182 13f79535-47bb-0310-9956-ffa450edef68
2017-04-21 11:21:32 +00:00
Deepak Dixit 333d8e65ce Fixed: Set required parameter as option false at service definition level.
(OFBIZ-8358)
Thanks Avnindra Sharma and Pawan Verma for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768256 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 17:33:42 +00:00
Arun Patidar 47e5f93d78 Implemented: Added CRUD services for PartyClassificationType, PartyContentType, PartyGeoPoint, PartyIcsAvsOverride, PartyIdentificationType, PartyQualType, PartyType, PartyTypeAttr, PaymentAttribute, PaymentBudgetAllocation, PaymentContentType, PaymentGroupType, PaymentMethodType, PaymentType, PaymentTypeAttr, PerfRatingType, PerfReviewItemType, PeriodType, PriorityType and ProdCatalogCategoryType entities.
(OFBIZ-8606)(OFBIZ-8607)(OFBIZ-8608)(OFBIZ-8609)(OFBIZ-8610)(OFBIZ-8611)(OFBIZ-8612)(OFBIZ-8613)(OFBIZ-8614)(OFBIZ-8615)(OFBIZ-8616)(OFBIZ-8647)(OFBIZ-8648)(OFBIZ-8649)(OFBIZ-8650)(OFBIZ-8651)(OFBIZ-8724)
(OFBIZ-8725)(OFBIZ-8726)(OFBIZ-8727)

Thanks: Amit Gadaley and Rishi Solanki for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1767953 13f79535-47bb-0310-9956-ffa450edef68
2016-11-03 19:27:07 +00:00
Deepak Dixit fb13cf999b Improved: Converted PartySkill entity CRUD service to entity-auto
(OFBIZ-8662)
Thanks Pawan Verma for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1767550 13f79535-47bb-0310-9956-ffa450edef68
2016-11-01 19:19:50 +00:00
Arun Patidar f5deecf43e Implemented: Added CRUD services for InvoiceItemAttribute, InvoiceTermAttribute, EmploymentAppSourceType, FacilityType, InventoryItemTempRes, EnumerationType, EntityGroup, EntityGroupEntry, EntitySyncIncludeGroup and InventoryItemAttribute entity.
(OFBIZ-8167) (OFBIZ-8168) (OFBIZ-8169) (OFBIZ-8170) (OFBIZ-8171) (OFBIZ-8208)(OFBIZ-8246)(OFBIZ-8247)(OFBIZ-8259)(OFBIZ-8269)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761231 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 13:31:24 +00:00
Arun Patidar 693a3d3f7b Implemented: Added CRUD services for DocumentType, DocumentTypeAttr and EmplPositionTypeClass entity.
(OFBIZ-8164) (OFBIZ-8165) (OFBIZ-8166)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761199 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:35:30 +00:00
Arun Patidar 1b814bd613 Implemented: Added CRUD services for EmplPositionClassType, ConfigOptionProductOption and Component entity.
(OFBIZ-8049) (OFBIZ-8058)(OFBIZ-8059)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761175 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 10:10:15 +00:00
Arun Patidar 048e9b66e4 Applied patch from jira issue - OFBIZ-7874 - Added CRUD services for AgreementItemType entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758618 13f79535-47bb-0310-9956-ffa450edef68
2016-08-31 15:09:03 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Jacques Le Roux ec66e361e1 A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Jacques Le Roux e27a1c6a18 Completes r1709192 for Changes for "SalaryStep entity missing From and Thru dates" https://issues.apache.org/jira/browse/OFBIZ-5758
This adds the migrateSalaryStep service to migrates data from OldSalaryStep to SalaryStep.
Since revision 1709214 (2015-10-18) the entity SalaryStep has been deprecated.
This service can be used to upgrade existing data from the OldSalaryStep entity to the new SalaryStep entity.
This service must be run only once, else you will get duplicates.

     





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1709272 13f79535-47bb-0310-9956-ffa450edef68
2015-10-18 12:29:37 +00:00
Jacques Le Roux 636e968393 Completes r1709192 for Changes for "SalaryStep entity missing From and Thru dates" https://issues.apache.org/jira/browse/OFBIZ-5758
The dateModified field was not modified (not even before auto-engine was used). I found that while changing updateSalaryStep from auto-engine to simple for lastModifiedByUserLogin and setting the createdByUserLogin field in createalaryStep services. It's now fixed
     





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1709271 13f79535-47bb-0310-9956-ffa450edef68
2015-10-18 12:26:15 +00:00
Jacques Le Roux e6b99c9740 Completes r1709192 for Changes for "SalaryStep entity missing From and Thru dates" https://issues.apache.org/jira/browse/OFBIZ-5758
I'm certainly tired so I did not find a smart way to use entity-auto in createSalaryStep service and also create several salary steps different on the from date, at least using the older simple service works.
     





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1709238 13f79535-47bb-0310-9956-ffa450edef68
2015-10-18 06:10:57 +00:00
Jacques Le Roux b333dc9a14 Changes for "SalaryStep entity missing From and Thru dates" https://issues.apache.org/jira/browse/OFBIZ-5758
I applied the patch I created for the Jira and added 
    <parameter param-name="fromDate"/>
in ListSalarySteps form, to be able to delete a salary step from the screen

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1709192 13f79535-47bb-0310-9956-ffa450edef68
2015-10-17 16:09:43 +00:00
Nicolas Malin 06e92d7fca Converted humanres CRUD service to entity-auto for entity PartyQual, PartyResume, PartySkill, PerfReview, PerfReviewItem, PerformanceNote, Employment, EmploymentApp, PartyBenefit, PayGrade, PayHistory, PayrollPreference, SalaryStep, TerminationReason, UnemploymentClaim, EmplPosition, EmplPositionFulfillment, EmplPositionReportingStruct, EmplPositionResponsibility, ValidResponsibility, SkillType, ResponsibilityType, TerminationType, EmplPositionType, EmplPositionTypeRate, AgreementEmploymentAppl, EmplLeave only on update, EmplLeaveType, JobRequisition, EmploymentApp, JobInterview, JobInterviewType, PersonTraining, TrainingClassType, EmplLeaveReasonType. Issue associate OFBIZ-5760
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643314 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 14:59:47 +00:00
Jacopo Cappellato a22679b352 Fix bug reported and fixed by Igor Ishchenko in OFBIZ-5185: Unable to delete rate associated with employee position
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609389 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 05:10:31 +00:00
Hans Bakker e478604103 more enhancements to performance review
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059755 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 05:41:54 +00:00
Jacques Le Roux ef2c935618 A patch from Pradeep Ruhil "HR Leave Enhancement ." (https://issues.apache.org/jira/browse/OFBIZ-2938) - OFBIZ-2938
In this patch we are doing enhancement in HumanResource Leave Module. 
Initially we can only create new leave application for a partyId. 
But there was not functionality available for approval of leave. 
So in this patch we have given functionality for Leave approval as well as leave creation. 
+ A better French label


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831249 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 10:07:09 +00:00
Jacques Le Roux 835ab9c7c1 Revert r826429, the work at https://issues.apache.org/jira/browse/OFBIZ-2938 was not good enough to be committed. Notably issues with data model changes as noticed by Scott.
See http://markmail.org/thread/vzcj3oaevvxyvek7 for more

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826964 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 05:56:47 +00:00
Jacques Le Roux c28b2bf0ca A patch from Pradeep Ruhil "HR Leave Enhancement " (https://issues.apache.org/jira/browse/OFBIZ-2938) - OFBIZ-2938
In this patch we are doing enhancement in HumanResource Leave Module. Initially we can only create new leave application for a partyId. But there was not functionality available for approval of leave. So in this patch we have given functionality for Leave approval as well as leave creation. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826429 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 13:15:59 +00:00
Jacques Le Roux e0c84350be A patch from Anil Soni "Improvements in HR module." (https://issues.apache.org/jira/browse/OFBIZ-2604) - OFBIZ-2604
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811838 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 17:13:04 +00:00
Jacques Le Roux 1c912ce7cf A patch from Abhinav Vaid " Improvements in Recruitment sub module in HR" (https://issues.apache.org/jira/browse/OFBIZ-2540) - OFBIZ-2540
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811484 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 16:47:22 +00:00
Hans Bakker 8ee21f614a commited patch of OFBIZ-2531 with minor changes, however added initial help screens, initial commit need some more work on the permissions for admin and employee
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802308 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 07:20:30 +00:00
Vikas Mayur 02150938b0 Fixed: Relation Enumeration of entity JobRequisition is not unique for that entity, reported by Hans on dev mailing list.
Also changed entity field names as per best practice and fixed wrong attribute names on services found by chance in the logs.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778587 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 07:15:43 +00:00
Ashish Vijaywargiya 82e1b52445 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.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776961 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 06:02:38 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux 25c5120397 humanres component
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755929 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:22:31 +00:00
Marco Risaliti 9d6f5812d9 Edit party rates screen breaks because it has been not converted to BigDecimal (OFBIZ-2241)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754669 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 14:29:06 +00:00
Hans Bakker be7b5e7989 some corrections and the addition of a profile screenlet to show an overview of the employment information of a party (to be completed)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739215 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 09:14:36 +00:00
Hans Bakker 7ec1fb6789 Rate refactoring, now can have a base rate with diffrent currencies which can be overridden on a party or workeffort level. see OFBIZ-2037 for more info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728894 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 07:26:55 +00:00
Anil Patel ca43853161 Simplified edit employee screen set. More cleanup to follow.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718363 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 20:23:06 +00:00
Ashish Vijaywargiya 8861b3ed3a Adding error*.jsp files.
Controller request modification, improved the service definition and implementation for "fromDate" field.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@714220 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 08:10:23 +00:00
Ashish Vijaywargiya 4e1f4e636e Applied patch from JIRA issue OFBIZ-1659.
Following things are covered in this patch :-

Included LookUps at the required places and done improvements.
Added Employee Leave tab,Create Entity EmplLeave and crud operations by Parimal.

Thanks Harsha Chadhar and Parimal Gain for your work.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661359 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 15:30:53 +00:00
Scott Gray be64ff748c Removed an invalid override, there is no description field on EmplPositionTypeRate
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661259 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 08:41:30 +00:00
Ashish Vijaywargiya 617b28873e Applied patch from JIRA Issue # OFBIZ-1659.
Following things are covered in this patch.
Added tab for AgreementEmploymentAppl.
And added the common decorator pattern for search screen i.e "FindScreenDecorator".

For now we kept AgreementEmploymentAppl entity in the party component(Because other entities like AgreementProductAppl & AgreementWorkEffortAppl is also kept there).

Thanks Harsha Chadhar for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660223 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 16:08:13 +00:00
Ashish Vijaywargiya 3b5dbb89b5 Applied patch from JIRA issue OFBIZ-1659.
In this patch created tab and functionality for EmplPositionType and EmplPositionTypeRate in HR component 

Thanks Harsha Chadhar for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660162 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 11:10:25 +00:00
Ashish Vijaywargiya 759292060a Applied patch from JIRA issue OFBIZ-1659.
Added support for Salary Step with Pay Grade.
Now we can use the amount field from SalaryStep for handling 
the salary of Employee.

Thanks Awdesh Parihar for your patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659946 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 09:48:50 +00:00
Vikas Mayur c872b1212d cleanup in createEmployee service. Now this service calls a simple method createPersonRoleAndContactMechs which is more generic which is also done in other services like createLead, createContact in sfa
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659814 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 13:08:33 +00:00
Ashish Vijaywargiya 0bad98de1c Applied patch from JIRA issue # OFBIZ-1659.
Following things are covered in this patch :-

1) Introduce GlobalHRSettings header item to manage all the "type" data and common data 
in HR module.
2) Added the CRUD operations for TerminationType entity.

Thanks Harsha Chadhar for your patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659434 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 05:38:05 +00:00
Ashish Vijaywargiya 8a3cb19eb0 Applied patch from Parimal Gain for Improvement on HR module for JIRA Issue OFBIZ-1659.
Removed the Java service for creating PartyQualification record.
Now its written in Mini Lang.

Thanks Parimal for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658268 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 14:59:32 +00:00
Ashish Vijaywargiya aabb354e0d Applied patch from JIRA issue :- https://issues.apache.org/jira/browse/OFBIZ-1659
The following points are covered in this patch 
1) Added Resume support for the party.
2) Improved the usability of the Qualification details for party.

Thanks Parimal Gain for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658193 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 10:31:33 +00:00
Vikas Mayur 56b20e783d Applied patch from Parimal Gain for new screens, forms, and services created for ResponsibilityType entity, this patch is part of Jira issue OFBIZ-1486 (https://issues.apache.org/jira/browse/OFBIZ-1486) and also thanks to Mridul Pathak for reviewing this patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@654830 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 14:45:35 +00:00
Anil Patel bda0fc92af Simple screen and service for creating an employee. Thanks Harsha for the Patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652894 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 20:28:03 +00:00