2639450 ISINVOICED still 'Y' when delete invoiceline from invoice
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2639450&group_id=176962
This commit is contained in:
parent
a0e0d5d521
commit
79ebed7045
|
@ -867,6 +867,15 @@ public class MInvoiceLine extends X_C_InvoiceLine
|
||||||
{
|
{
|
||||||
if (!success)
|
if (!success)
|
||||||
return success;
|
return success;
|
||||||
|
|
||||||
|
// reset shipment line invoiced flag
|
||||||
|
if ( getM_InOutLine_ID() > 0 )
|
||||||
|
{
|
||||||
|
MInOutLine sLine = new MInOutLine(getCtx(), getM_InOutLine_ID(), get_TrxName());
|
||||||
|
sLine.setIsInvoiced(false);
|
||||||
|
sLine.saveEx();
|
||||||
|
}
|
||||||
|
|
||||||
return updateHeaderTax();
|
return updateHeaderTax();
|
||||||
} // afterDelete
|
} // afterDelete
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue