Difference between Sales Order and Purchase Order

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Difference between Sales Order and Purchase Order

Dhiraj Saxena
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 | Threaded
Open this post in threaded view
|

Re: Difference between Sales Order and Purchase Order

jjmbconquista
Sales order is done by the customer and Purchase Order is done from Company to supplier
Dhiraj Saxena wrote
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 | Threaded
Open this post in threaded view
|

Re: Difference between Sales Order and Purchase Order

Dhiraj Saxena
Thanks, but Can you please tell me something as per development point of
view.
What are the different filds processed while we make any one of them.

--
Thanks,
Dhiraj

On Tue, Sep 9, 2008 at 5:06 PM, jjmbconquista <[hidden email]>wrote:

>
> Sales order is done by the customer and Purchase Order is done from Company
> to supplier
>
> Dhiraj Saxena wrote:
> >
> > 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
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Difference-between-Sales-Order-and-Purchase-Order-tp19390335p19390487.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Difference between Sales Order and Purchase Order

jjmbconquista
In general they are similar, you have to look at the code of ofbiz to see how each one is done.
The field orderTypeId, for example, in order sales is set to SALES_ORDER while in purchase order is set to
PURCHASE_ORDER.

see this:

http://svn.apache.org/repos/asf/ofbiz/trunk/applications/order/src/org/ofbiz/order/test/

Dhiraj Saxena wrote
Thanks, but Can you please tell me something as per development point of
view.
What are the different filds processed while we make any one of them.

--
Thanks,
Dhiraj

On Tue, Sep 9, 2008 at 5:06 PM, jjmbconquista <jjmbconquista@yahoo.com.br>wrote:

>
> Sales order is done by the customer and Purchase Order is done from Company
> to supplier
>
> Dhiraj Saxena wrote:
> >
> > 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
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Difference-between-Sales-Order-and-Purchase-Order-tp19390335p19390487.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Difference between Sales Order and Purchase Order

Ravindra Mandre-2
hi Dhiraj ,
In my opinion you can make an order and then find out what are the necessary
fields you required for your order. you can make order by following this
https://demo.hotwaxmedia.com/ordermgr/control/orderentry

here you get both sales order and purchase order.

Regards
Ravindra Mandre
Reply | Threaded
Open this post in threaded view
|

Re: Difference between Sales Order and Purchase Order

BJ Freeman
In reply to this post by Dhiraj Saxena
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
>