Se modifica el mensaje de error en delete para cases OUTPUT e INPUT DOCUMENTS.

This commit is contained in:
Daniel Rojas
2014-03-26 17:08:19 -04:00
parent 1e9eb3317c
commit 4287c4e17e
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ class InputDocument
try {
$oAppDocument = \AppDocumentPeer::retrieveByPK( $inputDocumentUid, 1 );
if (is_null( $oAppDocument ) || $oAppDocument->getAppDocStatus() == 'DELETED') {
throw (new \Exception('This row doesn\'t exist!'));
throw (new \Exception('This input document with id: '.$inputDocumentUid.' doesn\'t exist!'));
}
\G::LoadClass('wsBase');
$ws = new \wsBase();

View File

@@ -102,7 +102,7 @@ class OutputDocument
try {
$oAppDocument = \AppDocumentPeer::retrieveByPK( $applicationDocumentUid, 1 );
if (is_null( $oAppDocument ) || $oAppDocument->getAppDocStatus() == 'DELETED') {
throw (new \Exception('This row doesn\'t exist!'));
throw (new \Exception('This output document with id: '.$applicationDocumentUid.' doesn\'t exist!'));
}
\G::LoadClass('wsBase');
$ws = new \wsBase();