Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Insertion Failed
try
{
new_package = Packages.Insert(new_package);
}
catch (Exception ex)
{
PXProcessing<SOShipment>.SetError(RowIndex, ex.Message));
return false;
}
//Uh-oh
if (new_package == null)
{
PXProcessing<SOShipment>.SetError(RowIndex, "Insert Failed"));
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment