@ -108,7 +108,7 @@ public class TransactionService {
String drLocation = gLtoGLRequest . getDebitGl ( ) . getPlcLocacode ( ) ;
String drLocation = gLtoGLRequest . getDebitGl ( ) . getPlcLocacode ( ) ;
String crLocation = gLtoGLRequest . getCreditGl ( ) . getPlcLocacode ( ) ;
String crLocation = gLtoGLRequest . getCreditGl ( ) . getPlcLocacode ( ) ;
if ( crGL = = null | | drGL = = null ) {
if ( crGL = = null | | crGL . isEmpty ( ) | | drGL = = null | | drGL . isEmpty ( ) ) {
throw new MissingGLCodeException ( gLtoGLRequest . getPorOrgacode ( ) ) ;
throw new MissingGLCodeException ( gLtoGLRequest . getPorOrgacode ( ) ) ;
}
}
@ -160,7 +160,7 @@ public class TransactionService {
String crAcc = accountToAccountDTO . getCreditAcc ( ) . getMbmBkmsnumber ( ) ;
String crAcc = accountToAccountDTO . getCreditAcc ( ) . getMbmBkmsnumber ( ) ;
String drAcc = accountToAccountDTO . getDebitAcc ( ) . getMbmBkmsnumber ( ) ;
String drAcc = accountToAccountDTO . getDebitAcc ( ) . getMbmBkmsnumber ( ) ;
if ( crAcc = = null | | drAcc = = null ) {
if ( crAcc = = null | | crAcc . isEmpty ( ) | | drAcc = = null | | drAcc . isEmpty ( ) ) {
throw new MissingAccountException ( accountToAccountDTO . getPorOrgacode ( ) ) ;
throw new MissingAccountException ( accountToAccountDTO . getPorOrgacode ( ) ) ;
}
}