Hi ,
I am working on an custom application that interacts with OFBiz using webservices solely. I am able to do quite a lot using this approach and now its time to create the orders in OFBiz system. I am able to create the orders using the OOTB interface and using the resources that are created using the Webservices interface. Since order creation is a relatively complex process affecting too many entities and too many UI screens on OOTB i am bit lost about the proper approach. Since the custom UI that i am creating for the enduser has limited flexibility the parameters for order creation are in strict control , hence i am looking for at least one pathway that shall lead to a successful order creation. Eg there is only one payment choice and only one shipping method to simplify the process. suggestions are solicited. regds mallah. |
Update:
This question was about a sales order creation from shopping basket items. hence we have following info with us 1) product id 2) store id 3) qty 4) unit price 5) shipping method 6) payment method and almost all the pertinent info that are encountered while ordering using the OOTB. regds mallah On Wed, May 9, 2018 at 9:41 PM, Rajesh Mallah <[hidden email]> wrote: > > Hi , > > I am working on an custom application that interacts with OFBiz > using webservices solely. I am able to do quite a lot using this approach > and now its time to create the orders in OFBiz system. > > I am able to create the orders using the OOTB interface and using the > resources that are created using the Webservices interface. > > Since order creation is a relatively complex process affecting too many > entities and too many UI screens on OOTB i am bit lost about the > proper approach. > > Since the custom UI that i am creating for the enduser has limited > flexibility the parameters for order creation are in strict control , hence > i am looking for at least one pathway that shall lead to a successful > order creation. Eg there is only one payment choice and only one > shipping method to simplify the process. > > suggestions are solicited. > > regds > mallah. > > |
In reply to this post by Rajesh Mallah
Check this
org\ofbiz\order\test\SalesOrderTest.java With regards, S K Pradeep Kumar, 9035009495 On Wed, May 9, 2018 at 9:41 PM, Rajesh Mallah <[hidden email]> wrote: > Hi , > > I am working on an custom application that interacts with OFBiz > using webservices solely. I am able to do quite a lot using this approach > and now its time to create the orders in OFBiz system. > > I am able to create the orders using the OOTB interface and using the > resources that are created using the Webservices interface. > > Since order creation is a relatively complex process affecting too many > entities and too many UI screens on OOTB i am bit lost about the > proper approach. > > Since the custom UI that i am creating for the enduser has limited > flexibility the parameters for order creation are in strict control , hence > i am looking for at least one pathway that shall lead to a successful > order creation. Eg there is only one payment choice and only one > shipping method to simplify the process. > > suggestions are solicited. > > regds > mallah. > |
Looks promising thanks a ton Mr Pradeep !
On Wed, May 9, 2018 at 11:01 PM, S K Pradeep Kumar < [hidden email]> wrote: > Check this > > org\ofbiz\order\test\SalesOrderTest.java > > > > With regards, > S K Pradeep Kumar, > 9035009495 > > On Wed, May 9, 2018 at 9:41 PM, Rajesh Mallah <[hidden email]> > wrote: > > > Hi , > > > > I am working on an custom application that interacts with OFBiz > > using webservices solely. I am able to do quite a lot using this approach > > and now its time to create the orders in OFBiz system. > > > > I am able to create the orders using the OOTB interface and using the > > resources that are created using the Webservices interface. > > > > Since order creation is a relatively complex process affecting too many > > entities and too many UI screens on OOTB i am bit lost about the > > proper approach. > > > > Since the custom UI that i am creating for the enduser has limited > > flexibility the parameters for order creation are in strict control , > hence > > i am looking for at least one pathway that shall lead to a successful > > order creation. Eg there is only one payment choice and only one > > shipping method to simplify the process. > > > > suggestions are solicited. > > > > regds > > mallah. > > > |
Hello Friends,
I am creating a new Web service that would create the order from a JSON document. What would be an appropriate class or package / procedure to place such methods that shall survive upgrades to OFBiz ? regds mallah. On Wed, May 9, 2018 at 11:28 PM, Rajesh Mallah <[hidden email]> wrote: > Looks promising thanks a ton Mr Pradeep ! > > On Wed, May 9, 2018 at 11:01 PM, S K Pradeep Kumar < > [hidden email]> wrote: > >> Check this >> >> org\ofbiz\order\test\SalesOrderTest.java >> >> >> >> With regards, >> S K Pradeep Kumar, >> 9035009495 >> >> On Wed, May 9, 2018 at 9:41 PM, Rajesh Mallah <[hidden email]> >> wrote: >> >> > Hi , >> > >> > I am working on an custom application that interacts with OFBiz >> > using webservices solely. I am able to do quite a lot using this >> approach >> > and now its time to create the orders in OFBiz system. >> > >> > I am able to create the orders using the OOTB interface and using the >> > resources that are created using the Webservices interface. >> > >> > Since order creation is a relatively complex process affecting too many >> > entities and too many UI screens on OOTB i am bit lost about the >> > proper approach. >> > >> > Since the custom UI that i am creating for the enduser has limited >> > flexibility the parameters for order creation are in strict control , >> hence >> > i am looking for at least one pathway that shall lead to a successful >> > order creation. Eg there is only one payment choice and only one >> > shipping method to simplify the process. >> > >> > suggestions are solicited. >> > >> > regds >> > mallah. >> > >> > > |
In reply to this post by Rajesh Mallah
I was able to create the order using Webservices . I just
created a copy of testCreateSalesOrder and modified a bit. I am now experimenting to use JSON to send the order information from my non-java application and utilize org.json.* to retrieve the info in the Java land. thanks for the hint again. regds mallah. On Wed, May 9, 2018 at 11:28 PM, Rajesh Mallah <[hidden email]> wrote: > Looks promising thanks a ton Mr Pradeep ! > > On Wed, May 9, 2018 at 11:01 PM, S K Pradeep Kumar < > [hidden email]> wrote: > >> Check this >> >> org\ofbiz\order\test\SalesOrderTest.java >> >> >> >> With regards, >> S K Pradeep Kumar, >> 9035009495 >> >> On Wed, May 9, 2018 at 9:41 PM, Rajesh Mallah <[hidden email]> >> wrote: >> >> > Hi , >> > >> > I am working on an custom application that interacts with OFBiz >> > using webservices solely. I am able to do quite a lot using this >> approach >> > and now its time to create the orders in OFBiz system. >> > >> > I am able to create the orders using the OOTB interface and using the >> > resources that are created using the Webservices interface. >> > >> > Since order creation is a relatively complex process affecting too many >> > entities and too many UI screens on OOTB i am bit lost about the >> > proper approach. >> > >> > Since the custom UI that i am creating for the enduser has limited >> > flexibility the parameters for order creation are in strict control , >> hence >> > i am looking for at least one pathway that shall lead to a successful >> > order creation. Eg there is only one payment choice and only one >> > shipping method to simplify the process. >> > >> > suggestions are solicited. >> > >> > regds >> > mallah. >> > >> > > |
Hello All ,
Finally it was possible to consume the JSON document https://pastebin.com/ZReF5bqg containing the order spec into the newly created Java Service https://pastebin.com/anCAxqiN regds mallah. On Thu, May 10, 2018 at 3:32 PM, Rajesh Mallah <[hidden email]> wrote: > > I was able to create the order using Webservices . I just > created a copy of testCreateSalesOrder and modified a bit. > > I am now experimenting to use JSON to send the order information > from my non-java application and utilize org.json.* to retrieve the info > in the Java land. > > thanks for the hint again. > > regds > mallah. > > > > > > On Wed, May 9, 2018 at 11:28 PM, Rajesh Mallah <[hidden email]> > wrote: > >> Looks promising thanks a ton Mr Pradeep ! >> >> On Wed, May 9, 2018 at 11:01 PM, S K Pradeep Kumar < >> [hidden email]> wrote: >> >>> Check this >>> >>> org\ofbiz\order\test\SalesOrderTest.java >>> >>> >>> >>> With regards, >>> S K Pradeep Kumar, >>> 9035009495 >>> >>> On Wed, May 9, 2018 at 9:41 PM, Rajesh Mallah <[hidden email]> >>> wrote: >>> >>> > Hi , >>> > >>> > I am working on an custom application that interacts with OFBiz >>> > using webservices solely. I am able to do quite a lot using this >>> approach >>> > and now its time to create the orders in OFBiz system. >>> > >>> > I am able to create the orders using the OOTB interface and using the >>> > resources that are created using the Webservices interface. >>> > >>> > Since order creation is a relatively complex process affecting too many >>> > entities and too many UI screens on OOTB i am bit lost about the >>> > proper approach. >>> > >>> > Since the custom UI that i am creating for the enduser has limited >>> > flexibility the parameters for order creation are in strict control , >>> hence >>> > i am looking for at least one pathway that shall lead to a successful >>> > order creation. Eg there is only one payment choice and only one >>> > shipping method to simplify the process. >>> > >>> > suggestions are solicited. >>> > >>> > regds >>> > mallah. >>> > >>> >> >> > |
Thanks for posting good, working code.
On Thu, May 10, 2018 at 9:34 PM, Rajesh Mallah <[hidden email]> wrote: > Hello All , > > Finally it was possible to consume the JSON document > > https://pastebin.com/ZReF5bqg containing the order spec > > into the newly created Java Service > > https://pastebin.com/anCAxqiN > > > regds > mallah. > > > > > > On Thu, May 10, 2018 at 3:32 PM, Rajesh Mallah <[hidden email]> > wrote: > > > > > I was able to create the order using Webservices . I just > > created a copy of testCreateSalesOrder and modified a bit. > > > > I am now experimenting to use JSON to send the order information > > from my non-java application and utilize org.json.* to retrieve the info > > in the Java land. > > > > thanks for the hint again. > > > > regds > > mallah. > > > > > > > > > > > > On Wed, May 9, 2018 at 11:28 PM, Rajesh Mallah <[hidden email]> > > wrote: > > > >> Looks promising thanks a ton Mr Pradeep ! > >> > >> On Wed, May 9, 2018 at 11:01 PM, S K Pradeep Kumar < > >> [hidden email]> wrote: > >> > >>> Check this > >>> > >>> org\ofbiz\order\test\SalesOrderTest.java > >>> > >>> > >>> > >>> With regards, > >>> S K Pradeep Kumar, > >>> 9035009495 > >>> > >>> On Wed, May 9, 2018 at 9:41 PM, Rajesh Mallah <[hidden email] > > > >>> wrote: > >>> > >>> > Hi , > >>> > > >>> > I am working on an custom application that interacts with OFBiz > >>> > using webservices solely. I am able to do quite a lot using this > >>> approach > >>> > and now its time to create the orders in OFBiz system. > >>> > > >>> > I am able to create the orders using the OOTB interface and using the > >>> > resources that are created using the Webservices interface. > >>> > > >>> > Since order creation is a relatively complex process affecting too > many > >>> > entities and too many UI screens on OOTB i am bit lost about the > >>> > proper approach. > >>> > > >>> > Since the custom UI that i am creating for the enduser has limited > >>> > flexibility the parameters for order creation are in strict control , > >>> hence > >>> > i am looking for at least one pathway that shall lead to a successful > >>> > order creation. Eg there is only one payment choice and only one > >>> > shipping method to simplify the process. > >>> > > >>> > suggestions are solicited. > >>> > > >>> > regds > >>> > mallah. > >>> > > >>> > >> > >> > > > |
Free forum by Nabble | Edit this page |