Created
July 27, 2022 18:44
-
-
Save patrick711/40653d1db0358bfcede94011fb7df22c to your computer and use it in GitHub Desktop.
Insertion Failed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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