IDEMPIERE-5165 Remove references to deprecated services accounts (#1145)

This commit is contained in:
Tony Snook 2022-01-26 12:53:24 +11:00 committed by GitHub
parent bfecd412a2
commit dc181deff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -418,8 +418,7 @@ public class Doc_Invoice extends Doc
// Receivables DR
int receivables_ID = getValidCombination_ID(Doc.ACCTTYPE_C_Receivable, as);
// Deprecated IDEMPIERE-362
int receivablesServices_ID = receivables_ID;
int receivablesServices_ID = receivables_ID; // Receivable Services account Deprecated IDEMPIERE-362
if (m_allLinesItem || !as.isPostServices()
|| receivables_ID == receivablesServices_ID)
{
@ -501,7 +500,7 @@ public class Doc_Invoice extends Doc
// Receivables CR
int receivables_ID = getValidCombination_ID (Doc.ACCTTYPE_C_Receivable, as);
int receivablesServices_ID = getValidCombination_ID (Doc.ACCTTYPE_C_Receivable_Services, as);
int receivablesServices_ID = receivables_ID; // Receivable Services account Deprecated IDEMPIERE-362
if (m_allLinesItem || !as.isPostServices()
|| receivables_ID == receivablesServices_ID)
{
@ -607,7 +606,7 @@ public class Doc_Invoice extends Doc
// Liability CR
int payables_ID = getValidCombination_ID (Doc.ACCTTYPE_V_Liability, as);
int payablesServices_ID = payables_ID;
int payablesServices_ID = payables_ID; // Liability Services account Deprecated IDEMPIERE-362
if (m_allLinesItem || !as.isPostServices()
|| payables_ID == payablesServices_ID)
{
@ -714,7 +713,7 @@ public class Doc_Invoice extends Doc
// Liability DR
int payables_ID = getValidCombination_ID (Doc.ACCTTYPE_V_Liability, as);
int payablesServices_ID = getValidCombination_ID (Doc.ACCTTYPE_V_Liability_Services, as);
int payablesServices_ID = payables_ID; // Liability Services account Deprecated IDEMPIERE-362
if (m_allLinesItem || !as.isPostServices()
|| payables_ID == payablesServices_ID)
{