FR [3132075] - Over/Under payment must be enabled by default
https://sourceforge.net/tracker/?func=detail&aid=3132075&group_id=176962&atid=879335
This commit is contained in:
parent
0a8552a42e
commit
65842a7312
|
@ -0,0 +1,9 @@
|
|||
-- Dec 8, 2010 12:41:03 AM COT
|
||||
-- FR3132075-Over/Under payment must be enabled by default
|
||||
UPDATE AD_Column SET DefaultValue='Y',Updated=TO_DATE('2010-12-08 00:41:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7035
|
||||
;
|
||||
|
||||
-- Dec 8, 2010 12:41:07 AM COT
|
||||
ALTER TABLE C_Payment MODIFY IsOverUnderPayment CHAR(1) DEFAULT 'Y'
|
||||
;
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
-- Dec 8, 2010 12:41:03 AM COT
|
||||
-- FR3132075-Over/Under payment must be enabled by default
|
||||
UPDATE AD_Column SET DefaultValue='Y',Updated=TO_TIMESTAMP('2010-12-08 00:41:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7035
|
||||
;
|
||||
|
||||
-- Dec 8, 2010 12:41:07 AM COT
|
||||
ALTER TABLE c_payment ALTER isoverunderpayment SET DEFAULT 'Y'
|
||||
;
|
||||
|
|
@ -63,7 +63,7 @@ public class CalloutPayment extends CalloutEngine
|
|||
//
|
||||
mTab.setValue ("DiscountAmt", Env.ZERO);
|
||||
mTab.setValue ("WriteOffAmt", Env.ZERO);
|
||||
mTab.setValue ("IsOverUnderPayment", Boolean.FALSE);
|
||||
// mTab.setValue ("IsOverUnderPayment", Boolean.FALSE);
|
||||
mTab.setValue ("OverUnderAmt", Env.ZERO);
|
||||
int C_InvoicePaySchedule_ID = 0;
|
||||
if (Env.getContextAsInt (ctx, WindowNo, Env.TAB_INFO, "C_Invoice_ID") == C_Invoice_ID.intValue ()
|
||||
|
|
|
@ -141,7 +141,7 @@ public final class MPayment extends X_C_Payment
|
|||
setDiscountAmt(Env.ZERO);
|
||||
setTaxAmt(Env.ZERO);
|
||||
setWriteOffAmt(Env.ZERO);
|
||||
setIsOverUnderPayment (false);
|
||||
setIsOverUnderPayment (true);
|
||||
setOverUnderAmt(Env.ZERO);
|
||||
//
|
||||
setDateTrx (new Timestamp(System.currentTimeMillis()));
|
||||
|
|
Loading…
Reference in New Issue