Search found 5 matches
- Tue Oct 09, 2018 10:14 am
- Forum: General
- Topic: Updating a Task
- Replies: 7
- Views: 3076
Re: Updating a Task
I've tried a few more things. If I dont update anything on the Task object before I try to ApplyChanges through the Order object, I get a "Failed to add item" message in the resulting Exception. If I update the CompletedDate field, i get the first exception I mentioned in this thread. It s...
- Mon Oct 08, 2018 12:23 pm
- Forum: General
- Topic: Updating a Task
- Replies: 7
- Views: 3076
Re: Updating a Task
Just ran some code based off this post:
viewtopic.php?f=6&t=568&p=2400&hilit=Th ... rors#p2400
No messages are being returned, so looks like no errors. But the same exception is still being thrown.
viewtopic.php?f=6&t=568&p=2400&hilit=Th ... rors#p2400
No messages are being returned, so looks like no errors. But the same exception is still being thrown.
- Mon Oct 08, 2018 11:51 am
- Forum: General
- Topic: Updating a Task
- Replies: 7
- Views: 3076
Re: Updating a Task
Regarding my post above. Would a Status of Cancelled on an Order have any impact on the Orders ability to be saved?
- Mon Oct 08, 2018 11:47 am
- Forum: General
- Topic: Updating a Task
- Replies: 7
- Views: 3076
Re: Updating a Task
That's helpful thanks. I'm now trying to save the Order as you mentioned, but its throwing this error. {"The order has unresolved errors. Any outstanding errors must be resolved before the order can be saved."} Where would i find more details on errors associated with the Order that would ...
- Fri Oct 05, 2018 2:08 pm
- Forum: General
- Topic: Updating a Task
- Replies: 7
- Views: 3076
Updating a Task
HI, I'm able to retrieve the correct Order and find the desired Task using the SDK/API in a console app like this: var os = _ss.GetService<IOrderStore>(); var orderinfo = os.Orders.Where(x => x.Number == row.Number).FirstOrDefault(); var order = os.OpenOrder(orderinfo); var tasks = order.GetProperty...