(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
(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
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
(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
(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
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
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
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
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
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
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
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
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
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
[ \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
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
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
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
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
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
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
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
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
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