case 3738
This commit is contained in:
@@ -1371,6 +1371,8 @@ namespace GZTW.AyaNova.BLL
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//case 3738 if user doesn't reload this object previousstatus is out of whack and following block won't run so set on successful commit below
|
||||||
//case 564
|
//case 564
|
||||||
if (this.mStatus > PurchaseOrderStatus.OpenPartialReceived
|
if (this.mStatus > PurchaseOrderStatus.OpenPartialReceived
|
||||||
&& mPreviousStatus > PurchaseOrderStatus.OpenNotYetOrdered && mPreviousStatus < PurchaseOrderStatus.ClosedPartialReceived)
|
&& mPreviousStatus > PurchaseOrderStatus.OpenNotYetOrdered && mPreviousStatus < PurchaseOrderStatus.ClosedPartialReceived)
|
||||||
@@ -1563,6 +1565,9 @@ namespace GZTW.AyaNova.BLL
|
|||||||
// Commit the transaction
|
// Commit the transaction
|
||||||
transaction.Commit();
|
transaction.Commit();
|
||||||
|
|
||||||
|
//case 3738 it has just been saved successfully so we need to now upate previous status to reflect in db value
|
||||||
|
mPreviousStatus = mStatus;
|
||||||
|
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user