You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by edward wang <ch...@gmail.com> on 2010/06/04 19:15:03 UTC

which file to save orderid to Order_Header table?

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

Re: which file to save orderid to Order_Header table?

Posted by Patrick <pa...@gmail.com>.
OrderServices.java @ createOrder

On Fri, Jun 4, 2010 at 12:15 PM, edward wang <ch...@gmail.com> 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
>

Re: which file to save orderid to Order_Header table?

Posted by edward wang <ch...@gmail.com>.
Thank you again!

Chwang


On Fri, Jun 4, 2010 at 12:35 PM, BJ Freeman <bj...@free-man.net> 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 <bj...@free-man.net> 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
> >>>>
> >>>
> >>
> >
>
>

Re: which file to save orderid to Order_Header table?

Posted by BJ Freeman <bj...@free-man.net>.
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 <bj...@free-man.net> 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
>>>>
>>>
>>
> 


Re: which file to save orderid to Order_Header table?

Posted by edward wang <ch...@gmail.com>.
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 <bj...@free-man.net> 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
> >>
> >
> >
>
>

Re: which file to save orderid to Order_Header table?

Posted by BJ Freeman <bj...@free-man.net>.
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
>>
> 
> 


Re: which file to save orderid to Order_Header table?

Posted by BJ Freeman <bj...@free-man.net>.
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
>