HI Luis,
Thank you. but my code gives small syntax error as below.
if (Brand.equalsIgnoreCase ("BK") && CustNo.startsWith("5")){
return "3299970";
} else {
return "3299971";
}else if (Brand.equalsIgnoreCase ("DQ") && CustNo.startsWith("5")){
return "3299972";
} else {
return "3299973";
}else if (Brand.equalsIgnoreCase ("SW") && CustNo.startsWith("5")){
return "3299974";
} else {
return "3299975";
}else if (Brand.equalsIgnoreCase ("SZ") && CustNo.startsWith("5")){
return "3299976";
} else {
return "3299977";
}else if (Brand.equalsIgnoreCase ("PZ") && CustNo.startsWith("5")){
return "3299978";
} else {
return "3299979";
}else (Brand.equalsIgnoreCase ("CF") && CustNo.startsWith("5")){
return "3299980";
} else {
return "3299981";
}