Developer forum

Forum » Development » Order object missing information

Order object missing information


Reply

the order object is missing information on for instance orderState example:

Order o = new Order(_orderID);if (o.StateID == "OS3")

 

 


Works, however if you wanna use o.OrderState.Name its empty cause o.OrderState is completely empty, why is this?  

Replies

 
Reply
Hi Jais

Have you checked if there exists an orderstate with the given OrderStateID? I think this scenario will occur if the orderstate doesn't exist.

 - Lasse

 

You must be logged in to post in the forum