Commit Graph
72 Commits
Author SHA1 Message Date
Vikas Mayur b8666af19a Cleanup unwanted code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766642 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 10:20:32 +00:00
David E. Jones bf2497dfd3 Applied patch from Ean Schuessler in OFBIZ-2310, also changed service def for createLead to not require contactMechId out as there was an error from that in testing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766236 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:16:38 +00:00
Andrew Zeneski ffe88f4286 can now attach a new lead/contact to a ContactList when creating (both main create and quick create)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765412 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 23:03:14 +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 a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Marco Risaliti 80f390b7c3 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 21:08:21 +00:00
Jacques Le Roux e653793e35 A patch from Stephen Rufle "Return partyId from createAccount" '(https://issues.apache.org/jira/browse/OFBIZ-2150) - OFBIZ-2150
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739034 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 21:51:06 +00:00
Jacques Le Roux 94225b1a34 Fix issues with now-timestamp-to-env and sequence-id-to-env : their factories names where missing in org.ofbiz.minilang.method.MethodOperation$Factory file
also
<sequenced-id-to-env(.*)env-name => <sequenced-id$1field
<now-timestamp-to-env(.*)env-name => <now-timestamp$1field
both on *SimpleMethods*.xml, *events*.xml, *formula*.xml, *services*.xml, *tests*.xml (previously I only used *events*.xml, *services*.xml, but I guess it's not a big deal for now)




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730433 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 17:47:37 +00:00
Jacques Le Roux 0272162a99 revert both
sequenced-id(.*)field to <sequenced-id-to-env$1env-name
<now-timestamp(.*)field => <now-timestamp-to-env$1env-name
Something is wrong with these 2 tags (inconsistency between xsd and java, I'll look at it)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730397 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 13:59:08 +00:00
Jacques Le Roux a9f5f91014 <get-related-one(.*)value-name => <get-related-one$1value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730374 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 11:08:16 +00:00
Jacques Le Roux 928ce608a1 Reverted 730372 : an error realted to calculate tag has slipped in
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730373 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 11:00:51 +00:00
Jacques Le Roux eae3e26ff2 <get-related-one(.*)value-name => <get-related-one(.*)value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730372 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 10:53:16 +00:00
Jacques Le Roux 25f83d6d12 <property-to-field(.*)field-name => <property-to-field$1field
<store-value value-name => <store-value value-field ... Weird : I have already done this one in r730190 !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730369 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 10:40:29 +00:00
Jacques Le Roux 71a86403b8 <find-by-and(.*)list-name => <find-by-and$1list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730245 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 21:29:24 +00:00
Jacques Le Roux dbc4228779 <now-timestamp-to-env env-name => <now-timestamp field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730194 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:25:18 +00:00
Jacques Le Roux c1dd5bc296 <remove-value value-name => <remove-value value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730191 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:21:47 +00:00
Jacques Le Roux 1d979ede39 <store-value value-name = > <store-value value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730190 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:20:41 +00:00
Jacques Le Roux 79f471e380 <sequenced-id-to-env(.*)env-name => <sequenced-id$1field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730189 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:19:35 +00:00
Jacques Le Roux 75543cad51 <call-service(.*)in-map= => <call-service$1in-map-name=
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730184 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:14:54 +00:00
Jacques Le Roux bbedb431c2 <get-related(.*)value-name => <get-related$1value-field
<get-related(.*)list-name => <get-related$1list
<get-related(.*)\R(.*)list-name => <get-related$1\R$2list-name
<get-related(.*)\R(.*)value-name => <get-related$1\R$2value-field
<calculate field-name => <calculate field
<calcop(.*)field-name => <calcop$1field
<result-to-field(.*)field-name => <result-to-field(.*)field
<result-to-field(.*)field="(.*)"(.*) map-name="(.*)" => <result-to-field$1field="$4.$2"$3
<field-to-request field-name => <field-to-request field

(I had a connection break that's while I put all of them in one sole commit)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730183 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:12:15 +00:00
Jacques Le Roux fabe02ac71 <entity-one(.*)\R(.*)value-name => <entity-one$1\R$2value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730174 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 16:42:38 +00:00
Jacques Le Roux 3e2748adb6 <set-service-fields(.*)\R(.*)map-name => <set-service-fields$2\R$2map-name (needs 2 occurences)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730124 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 13:07:57 +00:00
Jacques Le Roux f0053fd5fb <set-service-fields(.*)map-name => <set-service-fields(.*)map-name (include to-map-name)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730122 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:22:42 +00:00
Jacques Le Roux e2d67f9ac3 <condition-expr(.*)env-name => <condition-expr$1from-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730120 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:18:38 +00:00
Jacques Le Roux 7efc2b4a35 <entity-condition(.*)list-name => <entity-condition$1list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730118 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:17:03 +00:00
Jacques Le Roux 38456812e0 <field-to-result(.*)field-name => <field-to-result$1field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730116 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:14:23 +00:00
Jacques Le Roux e2bbdc2d40 <entity-and(.*)list-name => <entity-and$1list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730114 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:11:33 +00:00
Jacques Le Roux e01e175266 <entity-one(.*)value-name => <entity-one$1value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730111 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:07:14 +00:00
Jacques Le Roux 460b994519 <clear-field(.*)field-name => <clear-field$1field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730109 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:04:24 +00:00
Jacques Le Roux e25c1d9c67 <create-value(.*)value-name => <create-value$1value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730108 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:01:09 +00:00
Jacques Le Roux 4ed4fcf8b9 same but with non
<set-pk-fields(.*)map-name => <set-pk-fields$1map
<set-pk-fields(.*)value-name => <set-pk-fields$1value-field
I was not very clever on this one ;)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730107 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:59:10 +00:00
Jacques Le Roux ec8447c72a <set-pk-fields(.*)map-name => <set-pk-fields$1map
<set-pk-fields(.*)value-name => <set-pk-fields$1value-field

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730104 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:55:26 +00:00
Jacques Le Roux 288c384783 <find-by-primary-key(.*)map-name => <find-by-primary-key$1map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730101 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:51:58 +00:00
Jacques Le Roux 0f82bfeb3d <find-by-primary-key(.*)value-name => <find-by-primary-key$1value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730100 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:49:32 +00:00
Jacques Le Roux 5e38ebc0ea <make-value(.*)value-name => <make-value$1value-field
r730090 was naive fix also <iterate list-name and entry-name to <iterate list and entry

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730098 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:28:24 +00:00
Jacques Le Roux 87c67bc088 <first-from-list(.*)list-name => <first-from-list$1list
and
<first-from-list(.*)entry-name => <first-from-list$1entry


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730096 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:17:32 +00:00
Jacques Le Roux b3a2901d85 <first-from-list list-name => <first-from-list list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730093 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:12:33 +00:00
Jacques Le Roux 55a4536933 <field-map(.*)env-name => <field-map$1from-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730092 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:11:15 +00:00
Jacques Le Roux fb6e05422b <iterate entry-name => <iterate entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730090 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:06:31 +00:00
Scott Gray 50f9be81bc A few sfa fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689214 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 20:40:38 +00:00
Scott Gray 94d7bf4dba Removed a whole pile of filter-list-by-date elements and used the filter-by-date attribute of entity-and instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@678222 13f79535-47bb-0310-9956-ffa450edef68
2008-07-19 21:33:38 +00:00
Scott Gray 5e401fcd53 Updated all simple methods to use the new attributes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667748 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:03:12 +00:00
Hans Bakker 75e1bd58cc fixed the lead to contact convert
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663034 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 08:40:00 +00:00
Hans Bakker fc6e672d81 improved groofy file, updated lead demo data and made createlead compatible and working now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662794 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 13:37:06 +00:00
Vikas Mayur e9798fc0ac Applied patch for testing process of create/update contact list from Jira issue OFBIZ-1681(https://issues.apache.org/jira/browse/OFBIZ-1681)\ Done few improvements - put the precondition - post condition comment at one place etc. \ Thanks Awdesh Parihar, Ratnesh Upadhyay for this patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661596 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 08:52:12 +00:00
Hans Bakker f54a80674a contribution of Ravindra Mandre
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660414 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 07:30:18 +00:00
Vikas Mayur 4595ba3ed2 Patch for adding lead/contact from left bar screen in sfa. This gives the option to create lead/contact by entering minimal fields like firstName, lastName and emailAddress. As the implementation done is same for lead and contact, it can be improved in two ways. (1) Either to move the code to a method which can be called inline in createLead, createContact services (2) By modifying generic method createPersonRoleAndContactMechs so that Address can be bypassed with a flag (Since quick add lead / contact form does not have address fields). I will work on the improvement in next few days. This patch (quickAdd.patch) is applied from Jira issue OFBIZ-1642(https://issues.apache.org/jira/browse/OFBIZ-1642). Thanks Jyotsna Rathore for this patch, special thanks to Mridul Pathak for review and help.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659822 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 13:41:38 +00:00
Vikas Mayur 6c67b74be2 Removed unused files, they are not used anymore. Moved the relevant code to party map processor file. Reported and patch provided by Jyotsna Rathore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658155 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 08:16:41 +00:00
Vikas Mayur ccd6551b49 Patch (SfaMergeLeads.patch) from Jyotsna Rathore for jira issue OFBIZ-1643 (https://issues.apache.org/jira/browse/OFBIZ-1643)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658118 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 06:24:00 +00:00
Vikas Mayur a1ba31492d applied patch (SfaCloneLead.patch) for clone lead functionality in sfa from Jira Issue OFBIZ-1643 (https://issues.apache.org/jira/browse/OFBIZ-1643), Thanks to Jyotsna Rathore for this patch and special thanks to Mridul Pathak for reviewing this work
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657104 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 15:24:05 +00:00