Search found 2 matches

by mkelley
Wed Mar 13, 2024 3:44 pm
Forum: Automation Code Snippets
Topic: automation fail running report
Replies: 1
Views: 1719

Re: automation fail running report

You have called a method on an object that had a null value. Without posting code to the dev forum (simplified and sanitized) in a code block, it will be hard to tell what maybe the cause.
by mkelley
Tue Mar 05, 2024 9:11 am
Forum: Server
Topic: Order is locked by editing user System
Replies: 2
Views: 1343

Re: Order is locked by editing user System

Are you closing those orders?

Example:

orderStore.CloseOrder(order);
order.Dispose();
order = null;

orderStore = null;