Unposted reversed allocation cannot be posted -> set posted flag when reversing
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2985660
This commit is contained in:
parent
a4ded83c4e
commit
135a9d2fd5
|
@ -735,6 +735,8 @@ public final class MAllocationHdr extends X_C_AllocationHdr implements DocAction
|
||||||
|
|
||||||
// Set Inactive
|
// Set Inactive
|
||||||
setIsActive (false);
|
setIsActive (false);
|
||||||
|
if ( !isPosted() )
|
||||||
|
setPosted(true);
|
||||||
setDocumentNo(getDocumentNo()+"^");
|
setDocumentNo(getDocumentNo()+"^");
|
||||||
setDocStatus(DOCSTATUS_Reversed); // for direct calls
|
setDocStatus(DOCSTATUS_Reversed); // for direct calls
|
||||||
if (!save() || isActive())
|
if (!save() || isActive())
|
||||||
|
|
Loading…
Reference in New Issue