Is it possible to create a new Policy that I can use when trying to update Sales Orders that will bypass credit check and alow me to modify back order, fulfilled and shipped quantites regardless of customer credit situation?
Here is my current code:
public static void updateSalesOrderWs(SalesOrder so)
{
//Get service
DynamicsGP ws = CreateServiceInstance();
//Get Update Policy
Policy soup = new Policy();
soup = ws.GetPolicyByOperation("UpdateSalesOrder", GpContext());
//Update Sales Order
ws.UpdateSalesOrder(so, GpContext(), soup);
}
*This post is locked for comments