this helps in tracing.
https://demo-stable.ofbiz.apache.org/webtools/control/ArtifactInfo
put in
OrderAdjustment
You will see what is returned with getrelated
take a look at createOrderAdjustment
https://demo-stable.ofbiz.apache.org/webtools/control/ArtifactInfo?type=service&uniqueId=createOrderAdjustment
I clicked on recreateOrderAdjustments
https://demo-stable.ofbiz.apache.org/webtools/control/ArtifactInfo?type=service&uniqueId=recreateOrderAdjustments
you will notice that is has ECA associated with it.
http://ofbiz.apache.org/docs/services.html#ECAs

as far as webtools you might look at the
framework/webtools/webapp/webtools/entity/EditEntity.ftl

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation 
<http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Patrick sent the following on 4/15/2010 12:07 PM:
> Everytime I create an OrderHeader, it is somehow automatically
> associated with the only OrderAdjustment row in my DB.
> 
> OrderReadHelper.java
> orderheader.getRelated("OrderAdjustment");  //always returns the
> OrderAdjustment row, why?
> 
> Also, when I create a new OrderAdjustment using webtools I can't
> create an amount.  I understand not being able to edit the amount for
> BI reasons like BJ said, but I don't understand how I am supposed to
> create new OrderAdjustments if I can't access that field.  Thanks in
> advance, I'm rather confused.  Patrick
> 


Reply via email to