Re: Adding agreementId to OrderHeader

2014-05-18 Thread Jacques Le Roux
I don't think so Jacques Le 09/05/2014 11:57, Pierre Smits a écrit : Is there a JIRA issue for this? Regards, Pierre Smits *ORRTIZ.COM http://www.orrtiz.com* Services Solutions for Cloud- Based Manufacturing, Professional Services and Retail Trade http://www.orrtiz.com On Fri, Jul 9,

Re: Adding agreementId to OrderHeader

2014-05-15 Thread Pierre Smits
Is there a JIRA issue for this? Regards, Pierre Smits *ORRTIZ.COM http://www.orrtiz.com* Services Solutions for Cloud- Based Manufacturing, Professional Services and Retail Trade http://www.orrtiz.com On Fri, Jul 9, 2010 at 4:12 AM, BJ Freeman bjf...@free-man.net wrote: Yes the datamodel

Re: Adding agreementId to OrderHeader

2010-07-08 Thread Jacopo Cappellato
BJ, the existing data model (as it is described in the Data Model Resource Book as you have mentioned previously) already takes care of this and I am not planning to change this. My proposal was related to the agreements picked for an order. Jacopo On Jul 8, 2010, at 12:59 AM, BJ Freeman

Re: Adding agreementId to OrderHeader

2010-07-08 Thread Jacopo Cappellato
Scott, Adam, BJ, thanks for your feedback. Based on your comments we will probably need also an AgreementOrderApplPurpose (or Type) entity so that we could have an agreement that governs the terms and prices applied to a customer, the commissions due to a sales rep etc... (unless we just rely

Re: Adding agreementId to OrderHeader

2010-07-08 Thread BJ Freeman
Yes the datamodel that I referenced for partyrelationships is in Ofbiz. However there is no supporting code that creates a partyreleationship between the Company and Party with role of customer and partyrelationshiptype of Customer.(CUSTOMER_REL) So the queries I mentions will not return a list

Re: Adding agreementId to OrderHeader

2010-07-07 Thread Jacopo Cappellato
Thanks Scott, the link was indeed useful. I like the plan of creating the AgreementOrderAppl entity, because it will be definitely very flexible. However the existing order code (ui and business logic) is based on the assumption that one agreement is associated to a cart/order, and I would like

Re: Adding agreementId to OrderHeader

2010-07-07 Thread BJ Freeman
I have the implementation that uses the Sales agreement and a productaggreemt for retail, wholesale, custom. so as you think though the changes you might want to consider hooks to allow this in future. also the agreements are based on partyID role of customeras a relationship with the company

Re: Adding agreementId to OrderHeader

2010-07-07 Thread Scott Gray
Hi Jacopo, I have to admit to not being a big fan of the primary* pattern, for example in the Shipment entity I really feel it has done nothing except cause us to take shortcuts when writing shipping logic. In terms of an Agreement or even a Shipment, what does it actually mean to be the

Re: Adding agreementId to OrderHeader

2010-07-07 Thread Adam Heath
Scott Gray wrote: Hi Jacopo, I have to admit to not being a big fan of the primary* pattern, for example in the Shipment entity I really feel it has done nothing except cause us to take shortcuts when writing shipping logic. In terms of an Agreement or even a Shipment, what does it

Re: Adding agreementId to OrderHeader

2010-07-07 Thread BJ Freeman
how will you get all the companies role of agreements for a particular party that has a partyrelationship of customer? how will you get all the Sales agreements for a partyrelationship of customer with the company under the role of agreements? BJ Freeman sent the following on 7/7/2010 10:19

Re: Adding agreementId to OrderHeader

2010-07-03 Thread Jacopo Cappellato
yes, I will do. Jacopo On Jul 2, 2010, at 8:01 PM, Jacques Le Roux wrote: Pretty logical, I see. Maybe Jacopo will consider it? Thanks Jacques From: BJ Freeman bjf...@free-man.net never saw it as enhanced only following the Data model book. since most told me that features were not

Re: Adding agreementId to OrderHeader

2010-07-03 Thread Scott Gray
Hi Jacopo, Not sure if this is of any use to you: http://ofbiz.135035.n4.nabble.com/orders-and-contracts-td2248364.html#a2248394 Regards Scott HotWax Media http://www.hotwaxmedia.com On 3/07/2010, at 6:24 PM, Jacopo Cappellato wrote: yes, I will do. Jacopo On Jul 2, 2010, at 8:01 PM,

Re: Adding agreementId to OrderHeader

2010-07-03 Thread BJ Freeman
I did not relate and order directly with an agreement so that the order terms were free to me changed on the spot so to speak. These are know as exceptions and need to be approved, like say in a retail establishment where a manager has to approve anything not based on the rules. the also

Adding agreementId to OrderHeader

2010-07-02 Thread Jacopo Cappellato
When an order is initiated, it is possible to select an agreement that will govern the orders (OrderTerms are cloned from AgreementTerms, if the agreement has a price list then the agreement prices are used in place of ProductPrice); however the agreementId is only added to the cart but it is

Re: Adding agreementId to OrderHeader

2010-07-02 Thread Jacques Le Roux
Quick answer: I can't see any problems with that as they are no ways to retrieve the agreementId from the OrderTerms. Jacques From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com When an order is initiated, it is possible to select an agreement that will govern the orders (OrderTerms are

Re: Adding agreementId to OrderHeader

2010-07-02 Thread Jacques Le Roux
Interesting, so you enhanced the OOTB model and actions, right? Jacques From: BJ Freeman bjf...@free-man.net I used the model on page 146 and the example agreementID 10002 since the Agreement has the product agreement, the service matches the product agreement productID and updates the

Re: Adding agreementId to OrderHeader

2010-07-02 Thread BJ Freeman
never saw it as enhanced only following the Data model book. since most told me that features were not complete in ofbiz, I completed them. Since most of my discussion were ignored I just made my own, using the OOTB as a basis. I use what I can of the svn and add on top the way I see it.

Re: Adding agreementId to OrderHeader

2010-07-02 Thread Jacques Le Roux
Pretty logical, I see. Maybe Jacopo will consider it? Thanks Jacques From: BJ Freeman bjf...@free-man.net never saw it as enhanced only following the Data model book. since most told me that features were not complete in ofbiz, I completed them. Since most of my discussion were ignored I

Re: Adding agreementId to OrderHeader

2010-07-02 Thread BJ Freeman
thanks it would be nice if ofbiz was more based on the Data model book. in my opinion some of the shortcuts have really crippled it. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation