parent
728199c443
commit
96ecf80f6f
|
|
@ -91,7 +91,7 @@ public class MID_UploadPEB extends SvrProcess{
|
|||
throw new AdempiereException("Business Partner Not Found "+row.getCell(3).getStringCellValue()+" !!!");
|
||||
|
||||
int C_Currency_ID = DB.getSQLValue(get_TrxName(), "SELECT C_Currency_ID FROM C_Currency WHERE ISO_Code =? ", new Object[] { row.getCell(88).getStringCellValue()});
|
||||
if(C_BPartner_ID <=0)
|
||||
if(C_Currency_ID <=0)
|
||||
throw new AdempiereException("Currency Not Found "+row.getCell(88).getStringCellValue()+" !!!");
|
||||
order.setC_BPartner_ID(C_BPartner_ID);
|
||||
order.setC_BPartner_Location_ID(MBPartnerLocation.getForBPartner(getCtx(), C_BPartner_ID, get_TrxName())[0].getC_BPartner_Location_ID());
|
||||
|
|
|
|||
Loading…
Reference in New Issue