Commit Graph
86 Commits
Author SHA1 Message Date
Jacques Le Roux 70ff1c5006 Fixed: createPartyGroupRoleAndContactMechs service not working (OFBIZ-11986)
As Akash Jain reported:

<<While researched on ticket OFBIZ-11896 identified that groovy version of
createPartyGroupRoleAndContactMechs service (converted from mini lang at rev
8af7cf8775 ) is not working.
Identify these two reasons,
    resolvePartyGroupMap called incorrectly
    resolvePostalAddressMap and resolveTelecomNumberMap implemented incorrectly
as 'postalAddress' and 'telecomNumber' map processor
not available into PartyMapProcs.xml.

There may be more reasons along with these two reasons.>>

He was so true to say the later!

There are also some intentionally or automated formattings.

Thanks: Akash for report, Sourabh Jain for shy tentative :)
2020-09-30 14:28:31 +02:00
Sebastian Berg 95f0eda361 Improved: Convert LeadServices.xml mini lang to groovy
(OFBIZ-11572)
2020-05-15 14:41:54 +02:00
Wiebke Pätzold 8af7cf8775 Improved: Converted AccountServices from mini lang to groovy
(OFBIZ-11413)

Added ServiceDefs createPartyContactMechs and createPartyGroupRoleAndContactMechs.
Also converted createPartyGroupRoleAndContactMechs because it is used in AccountServies and needed more return values.
2020-05-15 14:41:54 +02:00
Suraj Khurana f36a15b5a0 Improved: Converted all TrackingCodeOrder related CRUD services from simple to entity-auto (#92)
* Improved: Converted all TrackingCodeOrder related CRUD services from simple to entity-auto
(OFBIZ-11625)
2020-05-02 14:21:10 +05:30
Suraj Khurana 8f77e45f15 Improved: Converted all TrackingCodeOrderReturn related CRUD services from simple to entity-auto (#89)
* Improved: Converted all TrackingCodeOrderReturn related CRUD services from simple to entity-auto
(OFBIZ-11623)
2020-05-01 14:31:03 +05:30
Suraj Khurana 4f90498f5d Improved: Converted all TrackingCodeType entities from simple to entity-auto (#87)
* Improved: Converted all TrackingCodeType entities from simple to entity-auto
(OFBIZ-11615)
2020-05-01 10:44:32 +05:30
Deepak Dixit a2bc33efe0 Improved: Added missing permission check for MarketingCampaignRole update/expire/delete service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857547 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 06:09:25 +00:00
Deepak Dixit bb7b88757e Improved: Convert createMarketingCampaignRole service to entity-auto service
(OFBIZ-9551)
Thanks Suraj Khurana and Nicolas Malin for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857546 13f79535-47bb-0310-9956-ffa450edef68
2019-04-15 06:00:27 +00:00
Nicolas Malin acbd42387c Fixed: Update and clean deprecated code after release 18.12 creation
(OFBIZ-10761)
et all deprecated since='Upcoming Release' to since='Release 18.12'

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1850177 13f79535-47bb-0310-9956-ffa450edef68
2019-01-02 16:48:18 +00:00
Nicolas Malin 9ea367ab4c Improved: Convert createContactList service from simple to entity-auto (OFBIZ-9585)
thanks to Suraj Khurana for this issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825296 13f79535-47bb-0310-9956-ffa450edef68
2018-02-25 09:21:45 +00:00
Deepak Dixit b90e4cfa53 Fixed: Party Id field missing while creating contact list party in the marketing component (OFBIZ-9698)
Thanks Rubia Elza Joshep for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814928 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 08:47:12 +00:00
Nicolas Malin e1aa36e229 Improved: Manage life span of marketing related entites (OFBIZ-9550)
Add life span attributes (fromDate, thruDate) on entities :
1) MarketingCampaignPrice
2) MarketingCampaignPromo
3) MarketingCampaignRole
Complete related CRUD service with align service name on the best pratice for consistency.
The previous service name has been set as deprecated :
* addPromoToMarketingCampaign replace by createMarketingCampaignPromo
* removePromoFromMarketingCampaign replace by deleteMarketingCampaignPromo
* addPriceRuleToMarketingCampaign replace by createMarketingCampaignPrice
* removePriceRuleFromMarketingCampaign replace by deleteMarketingCampaignPrice
These service has been deprecated with release information Upcoming Release to align with Jira ofbiz version
Thanks to Suraj Khurana to suggest this improvement.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1805961 13f79535-47bb-0310-9956-ffa450edef68
2017-08-23 21:23:16 +00:00
Deepak Dixit f71ec58bfb 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@1768253 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 17:25:25 +00:00
Deepak Dixit 8ffec06b64 Fixed: Update Services that sets non-pk fields to null if not passed, if non-pks not passed than it should remain unupaded.
(OFBIZ-8722)

Thanks Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768239 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 16:28:57 +00:00
Deepak Dixit b9efe841ce Improved: Removed duplicate permission serivice for marketing, also renamed facilityManagerPermission service to more generic name facilityPermissionCheck
(OFBIZ-8013)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768190 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:24:54 +00:00
Deepak Dixit 3eca8d6aad Improved: Added generic permission service for following
- facility
- marketting
- return
- entitysync
Also moved  the permission check from implementation level to service defination level

(OFBIZ-8673)(OFBIZ-8673)(OFBIZ-8674)(OFBIZ-8739)(OFBIZ-8823)(OFBIZ-8825)(OFBIZ-8827)(OFBIZ-8850)(OFBIZ-8876)(OFBIZ-8875)(OFBIZ-8824)(OFBIZ-8826)(OFBIZ-8851)

Thanks Nameet Jain for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768188 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:10:57 +00:00
Arun Patidar 462e91ffb6 Implemented: Added CRUD services for CountryAddressFormat, ExampleFeatureApplType, GoodIdentificationType, InventoryItemType, InventoryItemTypeAttr, InvoiceContentType, InvoiceItemTypeAttr, InvoiceItemTypeMap, InvoiceType, NeedType, OrderAdjustmentTypeAttr, SalesOrderItemFact, SegmentGroupType, ShipmentGatewayConfigType, ShipmentGatewayDhl, ShipmentGatewayFedex, ShipmentType, ShippingDocument and ShoppingListType entities.
(OFBIZ-8087) (OFBIZ-8204) (OFBIZ-8245) (OFBIZ-8248) (OFBIZ-8249) (OFBIZ-8257) (OFBIZ-8261) (OFBIZ-8267) (OFBIZ-8270) (OFBIZ-8279) (OFBIZ-8284) (OFBIZ-8437) (OFBIZ-8439) (OFBIZ-8455) (OFBIZ-8460) (OFBIZ-8461)
(OFBIZ-8470) (OFBIZ-8473) (OFBIZ-8478)

Thanks: Rohit Koushal, Aman Mishra, Chinmay Patidar and Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1767101 13f79535-47bb-0310-9956-ffa450edef68
2016-10-29 09:01:09 +00:00
Arun Patidar df0b68f720 Implemented: Added CRUD services for GlFiscalType, GlResourceType, GlXbrlClass, GlResourceType, InvoiceAttribute, InvoiceItemAssocType, InvoiceNote, MarketingCampaignNote, OrderContent, SalesOpportunityCompetitor
(OFBIZ-8237) (OFBIZ-8238) (OFBIZ-8239) (OFBIZ-8240) (OFBIZ-8256) (OFBIZ-8258) (OFBIZ-8268) (OFBIZ-8274) (OFBIZ-8288) (OFBIZ-8431)

Thanks: Rahul Singh Kushwah, Rishi Solanki and Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1766083 13f79535-47bb-0310-9956-ffa450edef68
2016-10-21 17:39:47 +00:00
Pranay Pandey 682a14a7ad Fix for: Profile of contact person not shown on quick add of contact in SFA.
(OFBIZ-7816)

Here 'createContact' service was not returning 'roleTypeId' and it is required to fetch the record from 'RoleTypeAndParty' entity.

Thanks: Aditi for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761118 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 05:42:51 +00:00
Deepak Dixit 4d38999495 (OFBIZ-7620) Applied patch from jira issue
================================
Add "changeByUserLoginId" field for ContactListCommStatus
================================
Thanks Nameet for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758033 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 13:53:17 +00:00
Jacques Le Roux 8862bd2bd4 Reverts r1757130, done for "remove build dependency of Order on Marketing" https://issues.apache.org/jira/browse/OFBIZ-7966
Jacopo has some other objections

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757220 13f79535-47bb-0310-9956-ffa450edef68
2016-08-22 16:11:56 +00:00
Jacques Le Roux a6a7f9818c A modified patch from Pierre Smits for "remove build dependency of Order on Marketing" https://issues.apache.org/jira/browse/OFBIZ-7966
Currently there is a build dependency from order - CheckOutEvents.java on marketing - TrackingCodeEvents.java
The createOrder function (in CheckOutEvents.java) calls the makeTrackingCodeOrders function in TrackingCodeEvents.java

jleroux: I merged parts of the 2 patches, the 2nd was good but missing the makeTrackingCodeOrders service definition. I also fixed the warning about trackingCodeOrdersList creation not being generic


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757130 13f79535-47bb-0310-9956-ffa450edef68
2016-08-22 09:58:35 +00:00
Nicolas Malin 747234bda3 With the suppression of all jar to download them form jcenter, the jpim.jar isn't present.
To resolve this issue we can convert the current use for import/export vcard by an other api ez-vcard (https://github.com/mangstadt/ez-vcard) under bsd licence and present on jcenter.

The refactoring raise some problem on existant code, we will try with Gil to improve the import/export to grow data conversion to functional framework.
Some improve on import :
 * check if more than one email is present before check the prefered else take the one
 * check if more than one phone is present before check the prefered else take the one
 * check if more than one address is present before check the prefered else take the one
 * When you load a party by vcard, initialize a reference by fn attribute on PartyIndentification to escape the second loading
Will need continue improve the import like correct Organization loading, update process, add service to detect already party present
I also improve the screen result to display all parties loaded by the import and all already present.
The solution isn't perfect but it's work and compile, first purpose to delete jpim.jar is done :)
Related issue OFBIZ-7961


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756949 13f79535-47bb-0310-9956-ffa450edef68
2016-08-19 17:33:15 +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 8a110baf4a A slightly modified patch from Chula Lathong for <<Bug on SFA vcard import.>> https://issues.apache.org/jira/browse/OFBIZ-6795
Error occur when create Lead/Contact from Vcard.
This patch will improve importVcard service to able to create Lead/Contact from Vcard and display error messages when Vcard has invalid values.

jleroux: I simply changed the importVCard service transaction-timeout from 72000 (20 hours!) to 7200. Also added corresponding French labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724763 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 10:18:00 +00:00
Jacopo Cappellato 3b55a49974 OFBIZ-5012: converted some of the marketing simple services to entity-auto services. Based on a patch contributed by Nicolas Malin, but manually applied and modified in several places because the original patch had some issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1606097 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 13:48:15 +00:00
Adrian Crum e99f864f55 A bunch of work in Marketing Campaign: fixed UI layout, removed redundant and unused services, fixed services that didn't work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1292343 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 15:26:39 +00:00
Adrian Crum d586fc7d9e Removed empty (and apparently unused) Marketing Segment find services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1162498 13f79535-47bb-0310-9956-ffa450edef68
2011-08-28 11:29:18 +00:00
Adrian Crum 4d93f89f5a Converted Marketing Segment CRUD services to entity-auto.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1162496 13f79535-47bb-0310-9956-ffa450edef68
2011-08-28 11:12:57 +00:00
Hans Bakker 4102bee329 update websiteContactlist entity according Jacopo's comments, added services and screens to website and contactlist to maintain the data, a contribution of 'M', an employee of antwebsystems.com
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159508 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 05:57:25 +00:00
Hans Bakker 90f0ed36bd (un)subscribe contactlist did not select active records only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1152073 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 02:00:19 +00:00
Hans Bakker da2464dea3 change baselocation to baseLocation, a suggestion from Nicolas
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1148680 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 10:11:20 +00:00
Hans Bakker 5c79a496d9 correction on commit 1147733 to have the baseurl available in the contactlist email content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1148648 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 08:22:07 +00:00
Hans Bakker a31572006b several improvements and completion of the email contactlist subscribe and unsubscribe functions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052447 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 04:37:20 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Ashish Vijaywargiya a220091a5c Applied patch from jira issue - OFBIZ-3635 - Contact list unsubscription email notification.
Thanks Chandan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930842 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 11:25:08 +00:00
Jacques Le Roux 6d8d5a0fcd Another step in enhancing the importVCard service.
Now it differentiates between a PartyGroup and a Person. 
This enables to load a PostalAddress and a PartyGroup.groupName for now.
Also now the personalTitle may be loaded for a Person.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898473 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 19:19:22 +00:00
Jacques Le Roux b2a7c760e4 Fix VCard Import
I always think that enhanced loops are treating null as empty collection (and I agree with http://www.efsavage.com/blog/posts/java-goofs-enhanced-for-loop/)
Anyway I also put serviceContext as mandatory which was an error

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898266 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 09:16:06 +00:00
Jacques Le Roux 5119c6e181 Enhance the importVCard service to allow to use other services than the one used OOTB.
I have simply added a serviceContext map which may receive the extra parameters needed by other services. These services still need to create a Party.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898030 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 19:49:20 +00:00
Ashish Vijaywargiya 8fdc300081 Applied patch from jira issue OFBIZ-2922 - Update Sign up for Contact List (signUpForContactList) service.
Thanks Surya & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813362 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 10:47:18 +00:00
Anil Patel de59c91ab9 Updated convert lead service to expire relationships. Converting a lead now requires contact person id and partyGroupId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@787920 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 06:14:43 +00:00
Anil Patel 23753c4cd1 cleaned up createlead service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@781921 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 06:14:01 +00:00
Anil Patel 2656823493 Now LeadSource is saved and shown on profile page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778965 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 02:21:26 +00:00
Anil Patel 8555fc06e3 moved Opportunity services to Order component where entity definitions are. Added eca to add Account Party when partyId is entered in create opportunity form.
Updated names of artifacts to match entity they deal with.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778515 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 21:34:04 +00:00
Andrew Zeneski a47b952b6a implemented request URL and configurable view (per contact list) to handle "linked" opt-out requests from within a communication event mailing
inside the comm event message content, include a link like:
<a href="http://localhost:8080/marketing/control/contactListOptOut?communicationEventId=${communicationEventId}">Opt-Out</a>




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774654 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 06:32:21 +00:00
Andrew Zeneski 27842f03c5 since NEWSLETTER type marketing emails do not create unique communication events, added fields to keep track of party/message ID for these messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772850 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 05:59:37 +00:00
Vikas Mayur 4e841ba698 Fix: Error in createContact service, reported on mailing list by Gil
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766637 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 10:08:33 +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