>From a development point of view.
why re-invent the wheel
and
Why not read the code as to how this is done already.
It would also be good if you had an understanding of accounting.
Look in the order component.
applications\order\src\org\ofbiz\order\
a good way to follow this is to find the operation on the demo site
then look in the controller.xml for controller request map
like
    <request-map uri="orderentry">
        <security https="true" auth="true"/>
        <event type="java"
path="org.ofbiz.order.shoppingcart.ShoppingCartEvents"
invoke="routeOrderEntry"/>
        <response name="init" type="view" value="checkinits"/>
        <response name="agreements" type="view" value="orderagreements"/>
        <response name="cart" type="view" value="showcart"/>
        <response name="error" type="view" value="checkinits"/>
    </request-map>
This tells you the code is in

org.ofbiz.order.shoppingcart.ShoppingCartEvents
the method is
routeOrderEntry
if you follow the flow from there you will see show the code handles
Sales and Purchases.

Dhiraj Saxena sent the following on 9/9/2008 4:26 AM:
> Hello All,
> 
> Can anyone tell me about "Difference between Sales Order and Purchase Order"
> as development point of view.
> What things I have to keep in mind when I create any one of them.
> 
> Thanks,
> Dhiraj
> 

Reply via email to