Developer forum

Forum » Ecommerce - Standard features » Can I use EcomOrders.OrderIsExported

Can I use EcomOrders.OrderIsExported

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I am a custom order export routine and would like to mark orders as exported after the export routine has run. Can I use the OrderIsExported field or should I create my own? Would Dynamicweb ever update this field on its own?

Thanks,


Imar


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

You can use that field. We use it in our version of the integration framework, so if you do not use that, there are no problems using that field.

Votes for this answer: 1
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Great, thanks.

 

Imar

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Follow up question: is there any place in the UI where this field shows up? Customer would like to see which orders have been imported and which ones haven't (yet).

Imar

 
Nicolai Høeg Pedersen
Reply

No, it is not, but will be on the misc. tab as of 8.6, TFS#16500

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Thanks!

Imar

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

I've seen the new field in 8.6. Thanks! Any chance this can be backported to the 8.5 branch? Customer would love to have this field as they are having some issues with their integration code but we're not ready to jump to 8.6 yet.

Imar

 
Nicolai Høeg Pedersen
Reply

If you are nice and kind!

I've asked to get it backported.

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Dear Nicolai,

I would be delighted, and so will my customer, if you could please add this field to the 8.5 branch. I'll buy you beers next week in Arhus! ;-)

Imar

 

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Nicolai,

When this came out I checked the field and it was there. However, upon further investigation it seems the field's value is always false. I did some debugging and found out that the route taken by UCOrderEdit that displays the data never fills this field. The code ultimately calls this method:

private void Fill(IDataReader DataReader)

which never reads OrderIsExported from the database. It's little brother:

private void Fill(DataRow dataRow)

does load this field so it looks like an oversight in the method that loads from a DataReader.

Can this be fixed please?

Imar

 
Nicolai Høeg Pedersen
Reply

Did you ever buy those beers?

I've sent the issue for a fix. Still a port to 8.5?

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

>> Did you ever buy those beers?

I ordered them online but since OrderIsExported was never set, it never reached the warehouse ;-) But remind me about this next time I am in DK and I'll correct this. Or come over to the Netherlands or LA and I'll buy you dinner.

>> Still a port to 8.5?

Not for me anymore; we upgraded to 8.6 in the meantime.

Thanks,

Imar

 
Nicolai Høeg Pedersen
Reply

Ah, must have been a Russian piece of code then - they have an export embargo on EU... :-)

Looking forward to Diner crawl @LA

Cheers, Nicolai

 
Nicolai Høeg Pedersen
Reply

Hi Imar

We slept, and I got the fix for this bug back already (Thank you Vladimir), TFS#17275 scheduled for the next 8.6.1.6 hotfix due this week.

BR Nicolai

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Great, thanks.

Imar

 

You must be logged in to post in the forum