IDEMPIERE-2567 RfQResponseRank's message is hard coding,cannot transl… (#1205)
* IDEMPIERE-2567 RfQResponseRank's message is hard coding,cannot translaten #resolve #fixversion 10 * IDEMPIERE-2567 RfQResponseRank's message is hard coding,cannot translaten #resolve #fixversion 10
This commit is contained in:
parent
1ae1aa040e
commit
31b758cd76
|
@ -0,0 +1,11 @@
|
|||
-- IDEMPIERE-2567 RfQResponseRank's message is hard coding,cannot translate
|
||||
SELECT register_migration_script('202202271650_IDEMPIERE-2567.sql') FROM dual;
|
||||
|
||||
SET SQLBLANKLINES ON
|
||||
SET DEFINE OFF
|
||||
|
||||
-- Feb 27, 2022, 4:50:46 PM CET
|
||||
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Only one completed RfQ Response found',0,0,'Y',TO_TIMESTAMP('2022-02-27 16:50:46','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-02-27 16:50:46','YYYY-MM-DD HH24:MI:SS'),100,200731,'OnlyOneRfQResponse','D','4d2dea2d-b2e9-443f-9aef-27a5d8fafa18')
|
||||
;
|
||||
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
-- IDEMPIERE-2567 RfQResponseRank's message is hard coding,cannot translate
|
||||
SELECT register_migration_script('202202271650_IDEMPIERE-2567.sql') FROM dual;
|
||||
|
||||
-- Feb 27, 2022, 4:50:46 PM CET
|
||||
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Only one completed RfQ Response found',0,0,'Y',TO_TIMESTAMP('2022-02-27 16:50:46','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2022-02-27 16:50:46','YYYY-MM-DD HH24:MI:SS'),100,200731,'OnlyOneRfQResponse','D','4d2dea2d-b2e9-443f-9aef-27a5d8fafa18')
|
||||
;
|
||||
|
||||
|
|
@ -27,6 +27,7 @@ import org.compiere.model.MRfQResponse;
|
|||
import org.compiere.model.MRfQResponseLine;
|
||||
import org.compiere.model.MRfQResponseLineQty;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.Msg;
|
||||
|
||||
/**
|
||||
* Rank RfQ Responses
|
||||
|
@ -90,7 +91,7 @@ public class RfQResponseRank extends SvrProcess
|
|||
{
|
||||
responses[0].setIsSelectedWinner(true);
|
||||
responses[0].saveEx();
|
||||
return "Only one completed RfQ Response found";
|
||||
return Msg.getMsg(Env.getCtx(), "OnlyOneRfQResponse");
|
||||
}
|
||||
|
||||
// Rank
|
||||
|
|
Loading…
Reference in New Issue