--HG--
branch : EDII
This commit is contained in:
hodianto 2019-09-06 08:36:03 +07:00
parent 92a72fccbf
commit 6018df204f
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ public class MID_UploadTPB extends SvrProcess{
int C_BPartner_ID = 0;
int C_Currency_ID = 0;
if(AJU_DocType_Value.equals("40")) {
if(AJU_DocType_Value.equals("40") || AJU_DocType_Value.equals("262")) {
C_BPartner_ID = DB.getSQLValue(get_TrxName(), "SELECT C_BPartner_ID FROM C_Bpartner WHERE Name =? AND AD_Client_ID =? AND ISVendor='Y' ", new Object[] { dataRow.getCell(93).getStringCellValue(), getAD_Client_ID()});
C_Currency_ID = DB.getSQLValue(get_TrxName(), "SELECT C_Currency_ID FROM C_Currency WHERE ISO_Code =? ", new Object[] { "IDR" });
}else {