The program UP0023 has been deleted or damaged .net API Order Insert

SOLVED

var view = OpenView("OE0520");

view.Cancel();
view.Init();

view.Fields.FieldByName("ORDNUMBER").SetValue(order.OrderNumber, false);
view.Fields.FieldByName("CUSTOMER").SetValue(order.CustomerID, true);

This code is returning the error, "The program UP0023 has been deleted or damaged"  when it hits CUSTOMER. I gathered it's payroll, I have a demo app and I don't see payroll - do I need to  have this to insert an order - or am I missing a setting?

Parents Reply
  • 0 in reply to Vega

    Hi Vega, 

    thanks for the response. I don't see payroll even in my demo app. I don't think it's enabled. Is there something in my order view creation that is causing it to look for payroll, or is that something that just happens by default. It's happening when I try to set the customer, but I have no issues adding a customer using the API

Children