which file to save orderid to Order_Header table?

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

which file to save orderid to Order_Header table?

edward wang
Hi Folks,

when I placed an order, I found a record is saved in ORDER_HEADER table with
orderid.
But i don't know how this ordreid is generated and which file did.
Thank you,

chwang
Reply | Threaded
Open this post in threaded view
|

Re: which file to save orderid to Order_Header table?

Patrick-4
OrderServices.java @ createOrder

On Fri, Jun 4, 2010 at 12:15 PM, edward wang <[hidden email]> wrote:
> Hi Folks,
>
> when I placed an order, I found a record is saved in ORDER_HEADER table with
> orderid.
> But i don't know how this ordreid is generated and which file did.
> Thank you,
>
> chwang
>
Reply | Threaded
Open this post in threaded view
|

Re: which file to save orderid to Order_Header table?

BJ Freeman
In reply to this post by edward wang
https://demo-trunk.ofbiz.apache.org/webtools/control/ArtifactInfo
is your friend
type in orderID
or
take the hypen out of the table
ORDERHEADER

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
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>


edward wang sent the following on 6/4/2010 10:15 AM:
> Hi Folks,
>
> when I placed an order, I found a record is saved in ORDER_HEADER table with
> orderid.
> But i don't know how this ordreid is generated and which file did.
> Thank you,
>
> chwang
>

Reply | Threaded
Open this post in threaded view
|

Re: which file to save orderid to Order_Header table?

BJ Freeman
you can find the entity by the same name as the table and see the
relationships
https://demo-trunk.ofbiz.apache.org/webtools/control/ViewRelations?entityName=OrderHeader
there is also a section are services
https://demo-trunk.ofbiz.apache.org/webtools/control/ServiceList
they are great tools to increase you knowledge of ofbiz

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
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>


BJ Freeman sent the following on 6/4/2010 10:26 AM:

> https://demo-trunk.ofbiz.apache.org/webtools/control/ArtifactInfo
> is your friend
> type in orderID
> or
> take the hypen out of the table
> ORDERHEADER
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> 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>
>
>
> edward wang sent the following on 6/4/2010 10:15 AM:
>> Hi Folks,
>>
>> when I placed an order, I found a record is saved in ORDER_HEADER table with
>> orderid.
>> But i don't know how this ordreid is generated and which file did.
>> Thank you,
>>
>> chwang
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: which file to save orderid to Order_Header table?

edward wang
Thank you very much.
at line 374L   Map getNextOrderIdResult =
dispatcher.runSync("getNextOrderId", getNextOrderIdContext);

  orderId = (String) getNextOrderIdResult.get("orderId");
could you tell me where to find this function? this one is used to generate
a order id?

chwang

On Fri, Jun 4, 2010 at 11:34 AM, BJ Freeman <[hidden email]> wrote:

> you can find the entity by the same name as the table and see the
> relationships
>
> https://demo-trunk.ofbiz.apache.org/webtools/control/ViewRelations?entityName=OrderHeader
> there is also a section are services
> https://demo-trunk.ofbiz.apache.org/webtools/control/ServiceList
> they are great tools to increase you knowledge of ofbiz
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <
> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> 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
> >
>
>
> BJ Freeman sent the following on 6/4/2010 10:26 AM:
> > https://demo-trunk.ofbiz.apache.org/webtools/control/ArtifactInfo
> > is your friend
> > type in orderID
> > or
> > take the hypen out of the table
> > ORDERHEADER
> >
> > =========================
> > BJ Freeman
> > http://bjfreeman.elance.com
> > Strategic Power Office with Supplier Automation <
> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> > 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
> >
> >
> >
> > edward wang sent the following on 6/4/2010 10:15 AM:
> >> Hi Folks,
> >>
> >> when I placed an order, I found a record is saved in ORDER_HEADER table
> with
> >> orderid.
> >> But i don't know how this ordreid is generated and which file did.
> >> Thank you,
> >>
> >> chwang
> >>
> >
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: which file to save orderid to Order_Header table?

BJ Freeman
if you use an IDE like eclipse
you can hover over and it will tell you in what class path the method is in

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
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>


edward wang sent the following on 6/4/2010 11:18 AM:

> Thank you very much.
> at line 374L   Map getNextOrderIdResult =
> dispatcher.runSync("getNextOrderId", getNextOrderIdContext);
>
>   orderId = (String) getNextOrderIdResult.get("orderId");
> could you tell me where to find this function? this one is used to generate
> a order id?
>
> chwang
>
> On Fri, Jun 4, 2010 at 11:34 AM, BJ Freeman <[hidden email]> wrote:
>
>> you can find the entity by the same name as the table and see the
>> relationships
>>
>> https://demo-trunk.ofbiz.apache.org/webtools/control/ViewRelations?entityName=OrderHeader
>> there is also a section are services
>> https://demo-trunk.ofbiz.apache.org/webtools/control/ServiceList
>> they are great tools to increase you knowledge of ofbiz
>>
>> =========================
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Supplier Automation <
>> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> 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
>>
>> BJ Freeman sent the following on 6/4/2010 10:26 AM:
>>> https://demo-trunk.ofbiz.apache.org/webtools/control/ArtifactInfo
>>> is your friend
>>> type in orderID
>>> or
>>> take the hypen out of the table
>>> ORDERHEADER
>>>
>>> =========================
>>> BJ Freeman
>>> http://bjfreeman.elance.com
>>> Strategic Power Office with Supplier Automation <
>> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>> 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
>>>
>>>
>>> edward wang sent the following on 6/4/2010 10:15 AM:
>>>> Hi Folks,
>>>>
>>>> when I placed an order, I found a record is saved in ORDER_HEADER table
>> with
>>>> orderid.
>>>> But i don't know how this ordreid is generated and which file did.
>>>> Thank you,
>>>>
>>>> chwang
>>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: which file to save orderid to Order_Header table?

edward wang
Thank you again!

Chwang


On Fri, Jun 4, 2010 at 12:35 PM, BJ Freeman <[hidden email]> wrote:

> if you use an IDE like eclipse
> you can hover over and it will tell you in what class path the method is in
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <
> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> 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
> >
>
>
> edward wang sent the following on 6/4/2010 11:18 AM:
> > Thank you very much.
> > at line 374L   Map getNextOrderIdResult =
> > dispatcher.runSync("getNextOrderId", getNextOrderIdContext);
> >
> >   orderId = (String) getNextOrderIdResult.get("orderId");
> > could you tell me where to find this function? this one is used to
> generate
> > a order id?
> >
> > chwang
> >
> > On Fri, Jun 4, 2010 at 11:34 AM, BJ Freeman <[hidden email]> wrote:
> >
> >> you can find the entity by the same name as the table and see the
> >> relationships
> >>
> >>
> https://demo-trunk.ofbiz.apache.org/webtools/control/ViewRelations?entityName=OrderHeader
> >> there is also a section are services
> >> https://demo-trunk.ofbiz.apache.org/webtools/control/ServiceList
> >> they are great tools to increase you knowledge of ofbiz
> >>
> >> =========================
> >> BJ Freeman
> >> http://bjfreeman.elance.com
> >> Strategic Power Office with Supplier Automation <
> >> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> >> 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
> >>
> >> BJ Freeman sent the following on 6/4/2010 10:26 AM:
> >>> https://demo-trunk.ofbiz.apache.org/webtools/control/ArtifactInfo
> >>> is your friend
> >>> type in orderID
> >>> or
> >>> take the hypen out of the table
> >>> ORDERHEADER
> >>>
> >>> =========================
> >>> BJ Freeman
> >>> http://bjfreeman.elance.com
> >>> Strategic Power Office with Supplier Automation <
> >> http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> >>> 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
> >>>
> >>>
> >>> edward wang sent the following on 6/4/2010 10:15 AM:
> >>>> Hi Folks,
> >>>>
> >>>> when I placed an order, I found a record is saved in ORDER_HEADER
> table
> >> with
> >>>> orderid.
> >>>> But i don't know how this ordreid is generated and which file did.
> >>>> Thank you,
> >>>>
> >>>> chwang
> >>>>
> >>>
> >>
> >
>
>