Lots of refactoring for [ adempiere-Feature Requests-1877902 ] Implement JSR 223: Scripting callout
Created MRuleFix bug [ 1871567 ] Wrong value in Payment document Thanks to Alejandro
This commit is contained in:
parent
652a22924f
commit
c338371707
|
@ -246,8 +246,14 @@ public class ReportCtl
|
|||
*/
|
||||
public static boolean startCheckPrint (int C_Payment_ID, boolean IsDirectPrint)
|
||||
{
|
||||
|
||||
// afalcone - [ 1871567 ] Wrong value in Payment document
|
||||
boolean ok = MPaySelectionCheck.deleteGeneratedDraft(Env.getCtx(), C_Payment_ID, null);
|
||||
//
|
||||
|
||||
int C_PaySelectionCheck_ID = 0;
|
||||
MPaySelectionCheck psc = MPaySelectionCheck.getOfPayment(Env.getCtx(), C_Payment_ID, null);
|
||||
|
||||
if (psc != null)
|
||||
C_PaySelectionCheck_ID = psc.getC_PaySelectionCheck_ID();
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue