|
Home > Archive > Commerce Server General > April 2005 > Order status codes
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Order status codes
|
|
| Alexander Yushchenko 2005-04-18, 5:51 pm |
| Hello!
We use CS2002 + SP3 + FP1.
Acoording to Business Desk interfaces, possible values of order
status code are: 1,2,4,8,16,32,64 - and this list cannot be extended.
Does this mean that we cannot define more than 7 different order
statuses?
--
Yours faithfully,
Alexander Yushchenko
| |
| Ravi Shankar 2005-04-19, 2:47 am |
| you can go upto 65536. I've used it beyond 64 without any issues.
"Alexander Yushchenko" wrote:
> Hello!
>
> We use CS2002 + SP3 + FP1.
>
> Acoording to Business Desk interfaces, possible values of order
> status code are: 1,2,4,8,16,32,64 - and this list cannot be extended.
>
> Does this mean that we cannot define more than 7 different order
> statuses?
>
> --
> Yours faithfully,
> Alexander Yushchenko
>
| |
| Alexander Yushchenko 2005-04-20, 7:48 am |
| Thank you for your answer!
But how to do this? I did not find the corresponding interfaces in
business desk. Do I need to add values to some table in a database manually?
Ravi Shankar wrote:[vbcol=seagreen]
> you can go upto 65536. I've used it beyond 64 without any issues.
>
> "Alexander Yushchenko" wrote:
>
>
--
Yours faithfully,
Alexander Yushchenko
| |
| Ravi Shankar 2005-04-20, 7:48 am |
| Yep, the values you see are hardcoded in the BizDesk drop list.. so extend
the dropdown defintion by adding more values 
"Alexander Yushchenko" wrote:
> Thank you for your answer!
>
> But how to do this? I did not find the corresponding interfaces in
> business desk. Do I need to add values to some table in a database manually?
>
>
> Ravi Shankar wrote:
>
> --
> Yours faithfully,
> Alexander Yushchenko
>
| |
| Alexander Yushchenko 2005-04-20, 7:48 am |
| That's great!
And one more question: can I use just 1,2,3,4,5,..., or it is
needed to use only 1,2,4,8,16,...?
Ravi Shankar wrote:[vbcol=seagreen]
> Yep, the values you see are hardcoded in the BizDesk drop list.. so extend
> the dropdown defintion by adding more values 
>
> "Alexander Yushchenko" wrote:
>
>
--
Yours faithfully,
Alexander Yushchenko
| |
| Ravi Shankar 2005-04-20, 5:49 pm |
| recommend you use powers of 2 just to be on the safe side.
"Alexander Yushchenko" wrote:
> That's great!
>
> And one more question: can I use just 1,2,3,4,5,..., or it is
> needed to use only 1,2,4,8,16,...?
>
> Ravi Shankar wrote:
>
> --
> Yours faithfully,
> Alexander Yushchenko
>
| |
| SusanH 2005-04-26, 8:47 pm |
| It looks like when some of the objects look for a status, they "add them up"
if they want more than one. If you request an order status of 5, you are
actually requesting any orders with a status of 1 or 4.
I'm not completely sure, but this is what the comments seem to indicate in
our code (which part was written by MSFT consulting), so it is at least a
place to start looking. :-)
"Alexander Yushchenko" wrote:
> That's great!
>
> And one more question: can I use just 1,2,3,4,5,..., or it is
> needed to use only 1,2,4,8,16,...?
| |
| Ravi Shankar 2005-04-27, 2:47 am |
| Correct Susan, You can use the summed up totals in the search options also to
retrieve a list of only those orders matching the status codes. As an example
in one scenario we'd implemented a workflow on the site where multiple Id's
within the same organization would raise a requisition, which their manager
would approve, which would then go to the Purchase Officer who can then
confirm it as a new order. So if the Purchase Officer wants to see the list
of all pending requisitions within the organization then we used the order
search for (new req + approved req + disapproved req ) etc without having to
change much in the "retail" code.
"SusanH" wrote:
> It looks like when some of the objects look for a status, they "add them up"
> if they want more than one. If you request an order status of 5, you are
> actually requesting any orders with a status of 1 or 4.
>
> I'm not completely sure, but this is what the comments seem to indicate in
> our code (which part was written by MSFT consulting), so it is at least a
> place to start looking. :-)
>
> "Alexander Yushchenko" wrote:
>
>
|
|
|
|
|