Manoj Chaurasia Posted March 7, 2019 Share Posted March 7, 2019 Hi All, I'm attempting to use an upsert command in creating an Order, I have the GUID properly defined for existing orders, but when I attempt to pass NULL to it to create a new order, it returns 'Object reference not set to an instance of an object.'. The database itself is storing null as the value for new orders, however, I'm also adding a IF(ISNULLOREMPTY(orderid),NULL,orderid) ... I've tried changing NULL to "" as well, but that failed. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now