Commit 72d14314 authored by SABURI PATEKAR's avatar SABURI PATEKAR

updated xml,sql,java file

parent c9196488
CREATE TABLE CUSTOMER_PREF_DIST (
CUST_CODE CHAR(10) NOT NULL,
CUST_CODE__STK CHAR(10) NOT NULL,
CUST_CODE__DIST CHAR(10) NOT NULL,
HOSP_NAME VARCHAR2(100),
CITY VARCHAR2(50),
STOCK_CUST_NAME VARCHAR2(100),
DIST_CUST_NAME VARCHAR2(100),
SITE_CODE__PBUS VARCHAR2(30),
STATUS CHAR(1),
ADD_DATE DATE,
ADD_USER CHAR(10),
ADD_TERM VARCHAR2(15),
CHG_DATE DATE,
CHG_USER CHAR(10),
CHG_TERM VARCHAR2(15),
CONSTRAINT PK_CUSTOMER_PREF_DIST
PRIMARY KEY (CUST_CODE, CUST_CODE__STK)
);
Insert into USER_RIGHTS (PROFILE_ID,APPLICATION,MENU_ROW,MENU_COL,MENU_SUBCOL,LEVEL_4,LEVEL_5,MENU_NAME,RIGHTS,ACC_FILT,DEF_FILT,OBJ_NAME,FAV_OPTION,FAV_ORDER,EXCLUDE_RIGHTS_CHAR,ATTACH_RIGHTS,NO_OFFLINE_ALLWD,MOB_DEPLOY,DEVICE_SECURITY,DEVICE_ACC_CLASS) values ('ADMIN ','SCS',4,1,4,0,0,'Customer Preferred Distributor','*',null,null,'customer_pref_dist',null,null,null,null,null,'B',null,null);
Insert into ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION,MOB_DEPLY,ENT_TYPES) values ('SCS',4,1,4,0,0,'w_customer_pref_dist','Customer Preferred Distributor','Map Hospital to Stockist and Distributor','SCS.4.1.4.0.0','assignment.png',null,null,'T',null,null,null,'B',null,null,null,'0 ');
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('customer_pref_dist',1,'ibase/resource/objaction/add.svg','Add New','a','a','A','Add','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'1','0',null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('customer_pref_dist',3,'ibase/resource/objaction/edit.svg','Editing Existing Record','a','a','E','Edit','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2','000',null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('customer_pref_dist',61,'ibase/resource/objaction/add.svg','Adding New','a','a','A','Add','1',null,null,'S',null,to_date('11-09-23','DD-MM-RR'),null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'1','0',null,null);
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG,VALUE_COL,NO_ART_COL,CHG_DATE,CHG_USER,CHG_TERM) values ('w_customer_pref_dist','Customer Mapping',null,null,null,null,null,null,'1','F',null,null,null,null,null,null,null,null,null,null,null,'T','<html>
<div style="width:100%;overflow:hidden;margin-bottom:2px">
<span style="float:left"><b>Customer:</b> {cust_name}({cust_code})</span>
<span style="float:right"><b>Stockist:</b> {cust_name_1}({cust_code__stk})</span>
</div>
<div style="width:100%;overflow:hidden;margin-bottom:2px">
<span style="float:left"><b>Distributor:</b> {cust_name_2}({cust_code__dist})</span>
<span style="float:right"><b>Added On:</b> {add_date}</span>
</div>
</html>',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'assignment.png',null,null,null,null,null,null,null,null,null);
Insert into TRANSETUP (TRAN_WINDOW,SAVE_FLAG,VAL_FLAG,KEY_FLAG,KEY_STRING,UDF_1,UDF_2,UDF_3,UDF_4,UDF_5,REPEATE_ADD,CHG_DATE,CHG_USER,CHG_TERM,EDI_OPTION,SITE_ACC_COL,CONFIRM_COL,CONFIRM_VAL,REPEAT_ADD_DET,REPEATADDDET,LOAD_MODE,AUTO_CONFIRM,LEDG_POST_CONF,CHG_DATE_ON_CONF,TRAN_ID_COL,MAIL_OPTION,CONFIRM_MODE,GARBAGE_OPT,VAL_FLAG_EDI,VERIFY_PASSWORD,CUST_ACC_COL,SALES_PERS_ACC_COL,SUPP_ACC_COL,ITEM_SER_ACC_CODE,EMP_ACC_COL,ITEM_SER_ACC_COL,WORKFLOW_OPT,TABLE_NAME,APPLICATION,TABLE_DESC,TRAN_DATE_COL,TRAN_ID__FROM,TRAN_ID__TO,TABLE_NAME_DET1,TABLE_NAME_DET2,TABLE_NAME_DET3,MULTITIRE_OPT,REF_SER,VIEW_MODE,TAX_FORMS,SIGN_STATUS,USER_TRAN_WINDOW,OBJ_NAME__PARENT,IGNOREERRLIST_ONLOAD,CHILDDATA_ARGOPT,EDIT_TMPLT,WRKFLW_INIT,EDITTAX,FORMAL_ARGS,AUDIT_TRAIL_OPT,EDIT_OPT,CACHE_OPT,OPTIMIZE_MODE,EDIT_EXPR,RATE_COL,QTY_COL,EDIT_EXPR_INP,RCP_CACHE_STATUS,PRINT_CONTROL,TRANSFER_MODE,PROFILE_ID__RES,TRAN_COMPL_MSG,PERIOD_OPTION,WRKFLW_PRIORITY,EXEC_TYPE,DISP_META_DATA,ALLOW_ATTACH,START_FORM,ISATTACHMENT,HEADER_FORM_NO,CONFIRM_DATE_COL,CONFIRM_BY_COL,MSG_ONSAVE,WF_STATUS,RESTART_FORM,CMS_PATH,BROW_DATA_DEF,DEF_VIEW,VIEW_OPTS,ISGWTINITIATED,DEFAULT_DATA_ROW,IN_WF_VAL,IN_WF_COL,CANCEL_VAL,CANCEL_COL,THUMB_ALT_COL,THUMB_IMAGE_COL,THUMB_OBJ,ATTACH_COUNT_MIN,FUNCTION_TYPE,COMPL_ACTION,DEFAULT_EDITOR,MSG_NO,OBJ_TYPE,STATUS_COL,ENABLE_EDITOR,OFFLINE_OPT,CLOSE_COL,CLOSE_VAL,THREAD_KEY_COL,LOAD_ORDER,SYNC_FROM_APP,TITLE,FORM_NO,OBJ_NAME) values ('w_customer_pref_dist',null,null,'M',null,null,null,null,null,null,null,to_date('27-02-26','DD-MM-RR'),'System ','System',null,null,null,null,null,null,null,null,null,null,'CUST_CODE,CUST_CODE__STK',null,null,null,null,null,null,null,null,null,null,null,null,'CUSTOMER_PREF_DIST',null,null,null,null,null,null,null,null,null,null,'F',null,null,null,null,null,null,null,null,null,null,'2',null,null,null,null,null,null,null,null,'N',null,null,null,'M',null,null,null,null,null,null,null,null,null,null,null,null,null,'Y',null,null,null,null,null,null,null,null,null,null,null,null,null,null,'compact',null,null,null,null,null,null,null,null,null,null,null,null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('CUST_CODE','W_CUSTOMER_PREF_DIST','SELECT CUST_CODE,CUST_NAME FROM CUSTOMER WHERE CUST_TYPE = ''R''','customer_pref_dist','Customer',0,0,to_date('31-03-22','DD-MM-RR'),'Saburi ','BASE ','1',null,null,1,'L',null,null,null,null,0,'2',null,'3','Icon','cust_code','cust_name','2 ',null,null,null,null,null,null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('CUST_CODE__DIST','W_CUSTOMER_PREF_DIST','SELECT CUST_CODE,CUST_NAME FROM CUSTOMER WHERE CUST_TYPE = ''D''','customer_pref_dist','Customer',0,0,to_date('31-03-22','DD-MM-RR'),'Saburi ','BASE ','1',null,null,1,'L',null,null,null,null,0,'2',null,'3','Icon','cust_code','cust_name','2 ',null,null,null,null,null,null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('CUST_CODE__STK','W_CUSTOMER_PREF_DIST','SELECT CUST_CODE,CUST_NAME FROM CUSTOMER WHERE CUST_TYPE = ''S''','customer_pref_dist','Customer',0,0,to_date('31-03-22','DD-MM-RR'),'Saburi ','BASE ','1',null,null,1,'L',null,null,null,null,0,'2',null,'3','Icon','cust_code','cust_name','2 ',null,null,null,null,null,null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) values ('VCCUSTCODE','Customer Code with Customer_Type as ''R'' does''t exists','Customer Code with Customer_Type as ''R'' does''t exists','E','Y',null,null,null,to_date('02-03-26','DD-MM-RR'),'System ','System',null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) values ('VCCUSTSTK','Customer Code with Customer_Type as ''S'' does''t exists','Customer Code with Customer_Type as ''S'' does''t exists','E','Y',null,null,null,to_date('02-03-26','DD-MM-RR'),'System ','System',null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) values ('VCUSTDIST','Customer Code with Customer_Type as ''D'' does''t exists','Customer Code with Customer_Type as ''D'' does''t exists','E','Y',null,null,null,to_date('02-03-26','DD-MM-RR'),'System ','System',null,null);
Insert into GENMST (FLD_NAME,MOD_NAME,DESCR,ERROR_CD,BLANK_OPT,FLD_TYPE,FLD_MIN,FLD_MAX,VAL_TYPE,CHG_DATE,CHG_USER,CHG_TERM,VAL_TABLE,SQL_INPUT,FLD_WIDTH,UDF_USAGE_1,UDF_USAGE_2,UDF_USAGE_3,VAL_STAGE,OBJ_NAME,FORM_NO,ACTION,USER_ID,TRAN_ID,UDF_STR1_DESCR,UDF_STR2_DESCR,UDF_STR3_DESCR,EXEC_SEQ) values ('CUST_CODE','W_CUSTOMER_PREF_DIST','Customer Code with Customer_Type as ''R'' ','VCCUSTCODE','N','C','CUSTOMER','1','L',to_date('02-MAR-26','DD-MON-RR'),'System ','System',null,null,100,null,null,null,null,'customer_pref_dist','1','EDIT','System','F0000000000000001409',null,null,null,0);
Insert into GENMST (FLD_NAME,MOD_NAME,DESCR,ERROR_CD,BLANK_OPT,FLD_TYPE,FLD_MIN,FLD_MAX,VAL_TYPE,CHG_DATE,CHG_USER,CHG_TERM,VAL_TABLE,SQL_INPUT,FLD_WIDTH,UDF_USAGE_1,UDF_USAGE_2,UDF_USAGE_3,VAL_STAGE,OBJ_NAME,FORM_NO,ACTION,USER_ID,TRAN_ID,UDF_STR1_DESCR,UDF_STR2_DESCR,UDF_STR3_DESCR,EXEC_SEQ) values ('CUST_CODE__STK','W_CUSTOMER_PREF_DIST','Customer Code with Customer_Type as ''S'' ','VCCUSTSTK','N','C','CUSTOMER','1','L',to_date('02-MAR-26','DD-MON-RR'),'System ','System',null,null,100,null,null,null,null,'customer_pref_dist','1','EDIT','System','00000000000000004166',null,null,null,0);
Insert into GENMST (FLD_NAME,MOD_NAME,DESCR,ERROR_CD,BLANK_OPT,FLD_TYPE,FLD_MIN,FLD_MAX,VAL_TYPE,CHG_DATE,CHG_USER,CHG_TERM,VAL_TABLE,SQL_INPUT,FLD_WIDTH,UDF_USAGE_1,UDF_USAGE_2,UDF_USAGE_3,VAL_STAGE,OBJ_NAME,FORM_NO,ACTION,USER_ID,TRAN_ID,UDF_STR1_DESCR,UDF_STR2_DESCR,UDF_STR3_DESCR,EXEC_SEQ) values ('CUST_CODE__DIST','W_CUSTOMER_PREF_DIST','Customer Code with Customer_Type as ''D'' ','VCUSTDIST','N','C','CUSTOMER','1','L',to_date('02-MAR-26','DD-MON-RR'),'System ','System',null,null,100,null,null,null,null,'customer_pref_dist','1','EDIT','System','00000000000000004167',null,null,null,0);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT,FIELD_NAME,FORM_NO) values ('customer_pref_dist','post_item_change','1','poic_default_ejb',null,'0',to_date('16-03-26','DD-MM-RR'),'base ','BASE','2','JB','ibase.webitm.ejb.dis.CustomerPrefDistIC',null,null,null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT,FIELD_NAME,FORM_NO) values ('customer_pref_dist','post_validate','1','post_gen_val',null,'0',to_date('02-03-26','DD-MM-RR'),'System ','System','2','JB','ibase.webitm.ejb.sys.GenValidate',null,null,null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY,EXEC_AT,JS_ARG) values ('customer_pref_dist','1 ','cust_code','Y',null,null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY,EXEC_AT,JS_ARG) values ('customer_pref_dist','1 ','cust_code__dist','Y',null,null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY,EXEC_AT,JS_ARG) values ('customer_pref_dist','1 ','cust_code__stk','Y',null,null);
package ibase.webitm.ejb.dis;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import org.w3c.dom.CDATASection;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.BaseLogger;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.utility.ITMException;
public class CustomerPrefDistIC extends ValidatorEJB implements ValidatorLocal,ValidatorRemote
{
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
E12GenericUtility genericUtility = new E12GenericUtility();
DistCommon distCommon = new DistCommon();
FinCommon finCommon = new FinCommon();
public String itemChanged(String xmString, String xmString1, String xmString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException
{
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String errString = null;
BaseLogger.log("3", getUserInfo(), null, "currFrmXmlStr 40::"+xmString);
BaseLogger.log("3", getUserInfo(), null, "hdrFrmXmlStr 41::"+xmString1);
BaseLogger.log("3", getUserInfo(), null, "allFrmXmlStr 42::"+xmString2);
try
{
if (xmString != null && xmString.trim().length()!=0)
{
dom = genericUtility.parseString(xmString);
}
if (xmString1 != null && xmString1.trim().length()!=0)
{
dom1 = genericUtility.parseString(xmString1);
}
if (xmString2 != null && xmString2.trim().length()!=0)
{
dom2 = genericUtility.parseString(xmString2);
}
errString = itemChanged( dom, dom1, dom2, objContext, currentColumn, editFlag, xtraParams );
System.out.println ( "ErrString :" + errString);
}
catch (Exception e)
{
System.out.println ( "Exception : ItemChanged(String,String):" + e.getMessage() + ":" );
e.printStackTrace();
throw new ITMException(e);
}
return errString;
}
public String itemChanged( Document dom , Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams ) throws RemoteException,ITMException
{
BaseLogger.log("3", getUserInfo(), null, "itemChanged called::");
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
String childNodeName = null;
int ctr = 0;
int childNodeListLength = 0;
StringBuffer valueXmlString = new StringBuffer();
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
int currentFormNo = 0;
Timestamp todaysDate = null;
SimpleDateFormat sdf = null;
String currentDateTime = "", loginSite = "", loginCode = "";
String quotNo = "";
String custCode = "";
String custCodeStk = "";
String custCodeDist = "";
String city = "";
String custName = "";
String stockCustName = "";
String distCustName = "";
String distSiteCode = "";
try
{
conn = getConnection();
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
loginCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
todaysDate = new java.sql.Timestamp(System.currentTimeMillis());
currentDateTime = sdf.format(todaysDate);
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
NodeList custNodeList = dom.getElementsByTagName("cust_code");
if (custNodeList != null && custNodeList.getLength() > 0)
{
Node custNode = custNodeList.item(0);
if (custNode != null && custNode.getFirstChild() != null)
{
custCode = custNode.getFirstChild().getNodeValue();
}
}
BaseLogger.log("3", getUserInfo(), null, "custCode ::: " + custCode);
NodeList stkNodeList = dom.getElementsByTagName("cust_code__stk");
if (stkNodeList != null && stkNodeList.getLength() > 0)
{
Node stkNode = stkNodeList.item(0);
if (stkNode != null && stkNode.getFirstChild() != null)
{
custCodeStk = stkNode.getFirstChild().getNodeValue();
}
}
NodeList distNodeList = dom.getElementsByTagName("cust_code__dist");
if (distNodeList != null && distNodeList.getLength() > 0)
{
Node distNode = distNodeList.item(0);
if (distNode != null && distNode.getFirstChild() != null)
{
custCodeDist = distNode.getFirstChild().getNodeValue();
}
}
BaseLogger.log("3", getUserInfo(), null, "custCodeStk ::: " + custCodeStk);
BaseLogger.log("3", getUserInfo(), null, "custCodeDist ::: " + custCodeDist);
if (custCode != null && custCode.trim().length() > 0)
{
String sql = "SELECT CUST_NAME, CITY FROM CUSTOMER WHERE CUST_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, custCode);
rs = pstmt.executeQuery();
if (rs.next())
{
custName = rs.getString("CUST_NAME");
city = rs.getString("CITY");
}
}
if (custCodeStk != null && custCodeStk.trim().length() > 0)
{
String sqlStk = "SELECT CUST_NAME FROM CUSTOMER WHERE CUST_CODE = ?";
pstmt = conn.prepareStatement(sqlStk);
pstmt.setString(1, custCodeStk);
rs = pstmt.executeQuery();
if (rs.next())
{
stockCustName = rs.getString("CUST_NAME");
}
}
if (custCodeDist != null && custCodeDist.trim().length() > 0)
{
String sqlDist = "SELECT CUST_NAME, SITE_CODE__PBUS FROM CUSTOMER WHERE CUST_CODE = ?";
pstmt = conn.prepareStatement(sqlDist);
pstmt.setString(1, custCodeDist);
rs = pstmt.executeQuery();
if (rs.next())
{
distCustName = rs.getString("CUST_NAME");
distSiteCode = rs.getString("SITE_CODE__PBUS");
}
}
BaseLogger.log("3", getUserInfo(), null, "stockCustName ::: " + stockCustName);
BaseLogger.log("3", getUserInfo(), null, "distCustName ::: " + distCustName);
BaseLogger.log("3", getUserInfo(), null, " " + custName);
valueXmlString.append("<?xml version=\"1.0\"?>\r\n<Root>\r\n<Header>\r\n<editFlag>");
valueXmlString.append(editFlag).append("</editFlag>\r\n</Header>\r\n");
switch (currentFormNo)
{
case 1:
{
valueXmlString.append("<Detail1>");
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
ctr = 0; // 🔥 IMPORTANT RESET
childNodeListLength = childNodeList.getLength();
do
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
ctr++;
}
while ((ctr < childNodeListLength) && (!childNodeName.equals(currentColumn)));
BaseLogger.log("3", getUserInfo(), null, "CURRENT COLUMN [" + currentColumn + "]");
if (currentColumn.equalsIgnoreCase("cust_code"))
{
valueXmlString.append("<cust_name>")
.append("<![CDATA[" + custName + "]]>")
.append("</cust_name>");
valueXmlString.append("<city>")
.append("<![CDATA[" + city + "]]>")
.append("</city>");
}
if (currentColumn.equalsIgnoreCase("cust_code__stk"))
{
valueXmlString.append("<cust_name_1>")
.append("<![CDATA[" + stockCustName + "]]>")
.append("</cust_name_1>");
}
if (currentColumn.equalsIgnoreCase("cust_code__dist"))
{
valueXmlString.append("<cust_name_2>")
.append("<![CDATA[" + distCustName + "]]>")
.append("</cust_name_2>");
valueXmlString.append("<site_code__pbus>")
.append("<![CDATA[" + distSiteCode + "]]>")
.append("</site_code__pbus>");
}
valueXmlString.append("</Detail1>");
}
break;
}
valueXmlString.append("</Root>\r\n");
}
catch (Exception e)
{
BaseLogger.log("3", getUserInfo(), null, "Exception from itemchanged method --[" + e.getMessage() + "]");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if (conn != null)
{
conn.close();
conn = null;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
BaseLogger.log("3", getUserInfo(), null, "Exception from itemchanged method --[" + e.getMessage() + "]");
e.printStackTrace();
throw new ITMException(e);
}
}
return valueXmlString.toString();
}
public String checkNull(String inputStr) throws ITMException
{
try
{
if(inputStr != null && inputStr.trim().length() > 0)
{
return inputStr.trim();
}
else
{
return "";
}
}
catch(Exception e)
{
BaseLogger.log("3", getUserInfo(), null, "Exception in checknull--["+e.getMessage()+"]");
e.printStackTrace();
throw new ITMException(e);
}
}
private static void setNodeValue(Document dom, String nodeName, String nodeVal) throws Exception {
Node tempNode = dom.getElementsByTagName(nodeName).item(0);
if (tempNode != null) {
if (tempNode.getFirstChild() == null) {
CDATASection cDataSection = dom.createCDATASection(nodeVal);
tempNode.appendChild(cDataSection);
} else {
tempNode.getFirstChild().setNodeValue(nodeVal);
}
}
tempNode = null;
}
private static String getAbsString(String str) {
return (str == null || str.trim().length() == 0 || "null".equalsIgnoreCase(str.trim()) ? "" : str.trim());
}
public double checkNullForDouble(String inputStr) throws ITMException
{
double retVal = 0.0;
try
{
if(inputStr == null || inputStr.trim().length() == 0)
{
retVal = 0.0;
}
else
{
retVal = Double.parseDouble(inputStr);
}
}
catch(Exception e)
{
BaseLogger.log("3", getUserInfo(), null, "Exception in checknull--["+e.getMessage()+"]");
e.printStackTrace();
retVal = 0.0;
throw new ITMException(e);
}
return retVal;
}
private String checkDouble(String input) {
if (input == null || input.trim().length() == 0) {
input = "0";
}
return input;
}
private String errorType(Connection conn , String errorCode)
{
String msgType = "";
PreparedStatement pstmt = null ;
ResultSet rs = null;
try
{
String sql = "SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,errorCode);
rs = pstmt.executeQuery();
while(rs.next())
{
msgType = rs.getString("MSG_TYPE");
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
}
catch(Exception ex)
{
ex.printStackTrace();
}
finally
{
try
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
e.printStackTrace();
}
}
return msgType;
}
private boolean isExist(Connection conn, String tableName, String columnName, String value)
throws ITMException, RemoteException {
PreparedStatement pstmt = null;
ResultSet rs = null;
String sql = "";
boolean status = false;
try {
sql = "SELECT count(*) from " + tableName + " where " + columnName + " = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, value);
rs = pstmt.executeQuery();
if (rs.next()) {
if (rs.getBoolean(1)) {
status = true;
}
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
} catch (Exception e) {
BaseLogger.log("3", getUserInfo(), null, "Exception in isExist ");
e.printStackTrace();
throw new ITMException(e);
}
BaseLogger.log("3", getUserInfo(), null, "returning String from isExist ");
return status;
}
}
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>79741120</color> <color>1073741824</color>
<processing>0</processing> <processing>1</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
</BaseDefinition> <grid.lines>0</grid.lines>
<Summary> </BaseDefinition>
<height>0</height> <Header>
<color>536870912</color> <height>20</height>
</Summary> <color>536870912</color>
<Footer> </Header>
<height>0</height> <Summary>
<color>536870912</color> <height>0</height>
</Footer> <color>536870912</color>
<Detail> </Summary>
<height>523</height> <Footer>
<color>536870912</color> <height>0</height>
</Detail> <color>536870912</color>
<TableDefinition> </Footer>
<table_column> <Detail>
<type size="10">char</type> <height>23</height>
<name>cust_code</name> <color>536870912</color>
<dbname>customer_pref_dist.cust_code</dbname> </Detail>
<update>yes</update> <TableDefinition>
<updatewhereclause>yes</updatewhereclause> <table_column>
<key>yes</key> <type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column> <key>yes</key>
<table_column> <name>cust_code</name>
<type size="10">char</type> <dbname>customer_pref_dist.cust_code</dbname>
<name>cust_code__stk</name> </table_column>
<dbname>customer_pref_dist.cust_code__stk</dbname> <table_column>
<update>yes</update> <type size="10">char</type>
<updatewhereclause>yes</updatewhereclause> <update>yes</update>
<key>yes</key> <updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>cust_code__stk</name>
</table_column> <dbname>customer_pref_dist.cust_code__stk</dbname>
<table_column> </table_column>
<type size="10">char</type> <table_column>
<name>cust_code__dist</name> <type size="10">char</type>
<dbname>customer_pref_dist.cust_code__dist</dbname> <update>yes</update>
<update>yes</update> <updatewhereclause>yes</updatewhereclause>
<updatewhereclause>yes</updatewhereclause> <name>cust_code__dist</name>
<dbname>customer_pref_dist.cust_code__dist</dbname>
</table_column>
</table_column> <table_column>
<table_column> <type>datetime</type>
<type size="100">varchar</type> <update>yes</update>
<name>hosp_name</name> <updatewhereclause>yes</updatewhereclause>
<dbname>customer_pref_dist.hosp_name</dbname> <name>add_date</name>
<update>yes</update> <dbname>customer_pref_dist.add_date</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<table_column>
<type size="10">char</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type size="50">varchar</type> <name>add_user</name>
<name>city</name> <dbname>customer_pref_dist.add_user</dbname>
<dbname>customer_pref_dist.city</dbname> </table_column>
<update>yes</update> <table_column>
<updatewhereclause>yes</updatewhereclause> <type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column> <name>add_term</name>
<table_column> <dbname>customer_pref_dist.add_term</dbname>
<type size="100">varchar</type> </table_column>
<name>stock_cust_name</name> <table_column>
<dbname>customer_pref_dist.stock_cust_name</dbname> <type>datetime</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>customer_pref_dist.chg_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="100">varchar</type> <type size="10">char</type>
<name>dist_cust_name</name> <update>yes</update>
<dbname>customer_pref_dist.dist_cust_name</dbname> <updatewhereclause>yes</updatewhereclause>
<update>yes</update> <name>chg_user</name>
<updatewhereclause>yes</updatewhereclause> <dbname>customer_pref_dist.chg_user</dbname>
</table_column>
<table_column>
</table_column> <type size="15">char</type>
<table_column> <update>yes</update>
<type size="30">varchar</type> <updatewhereclause>yes</updatewhereclause>
<name>site_code__pbus</name> <name>chg_term</name>
<dbname>customer_pref_dist.site_code__pbus</dbname> <dbname>customer_pref_dist.chg_term</dbname>
<update>yes</update> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<type size="50">char</type>
<updatewhereclause>yes</updatewhereclause>
</table_column> <name>cust_name</name>
<table_column> <dbname>customer.cust_name</dbname>
<type>datetime</type> </table_column>
<name>add_date</name> <table_column>
<dbname>customer_pref_dist.add_date</dbname> <type size="20">char</type>
<update>yes</update> <updatewhereclause>yes</updatewhereclause>
<updatewhereclause>yes</updatewhereclause> <name>city</name>
<initial>today()</initial> <dbname>customer.city</dbname>
</table_column>
</table_column> <table_column>
<table_column> <type size="50">char</type>
<type size="10">char</type> <updatewhereclause>yes</updatewhereclause>
<name>add_user</name> <name>cust_name_1</name>
<dbname>customer_pref_dist.add_user</dbname> <dbname>customer.cust_name</dbname>
<update>yes</update> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<initial>logged_in_user()</initial> <type size="50">char</type>
<updatewhereclause>yes</updatewhereclause>
</table_column> <name>cust_name_2</name>
<table_column> <dbname>customer.cust_name</dbname>
<type size="15">varchar</type> </table_column>
<name>add_term</name> <table_column>
<dbname>customer_pref_dist.add_term</dbname> <type size="5">char</type>
<update>yes</update> <updatewhereclause>yes</updatewhereclause>
<updatewhereclause>yes</updatewhereclause> <name>site_code__pbus</name>
<initial>logged_in_terminal()</initial> <dbname>customer.site_code__pbus</dbname>
</table_column>
</table_column> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;customer_pref_dist&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_a&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_b&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_c&quot; ) COLUMN(NAME=&quot;customer_pref_dist.cust_code&quot;) COLUMN(NAME=&quot;customer_pref_dist.cust_code__stk&quot;) COLUMN(NAME=&quot;customer_pref_dist.cust_code__dist&quot;) COLUMN(NAME=&quot;customer_pref_dist.add_date&quot;) COLUMN(NAME=&quot;customer_pref_dist.add_user&quot;) COLUMN(NAME=&quot;customer_pref_dist.add_term&quot;) COLUMN(NAME=&quot;customer_pref_dist.chg_date&quot;) COLUMN(NAME=&quot;customer_pref_dist.chg_user&quot;) COLUMN(NAME=&quot;customer_pref_dist.chg_term&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) COLUMN(NAME=&quot;customer_a.city&quot;) COLUMN(NAME=&quot;customer_c.cust_name&quot;) COLUMN(NAME=&quot;customer_b.cust_name&quot;) COLUMN(NAME=&quot;customer_c.site_code__pbus&quot;) JOIN (LEFT=&quot;customer_pref_dist.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer_a.cust_code&quot; OUTER1 =&quot;customer_pref_dist.cust_code&quot; ) JOIN (LEFT=&quot;customer_pref_dist.cust_code__stk&quot; OP =&quot;=&quot;RIGHT=&quot;customer_b.cust_code&quot; OUTER1 =&quot;customer_pref_dist.cust_code__stk&quot; ) JOIN (LEFT=&quot;customer_pref_dist.cust_code__dist&quot; OP =&quot;=&quot;RIGHT=&quot;customer_c.cust_code&quot; OUTER1 =&quot;customer_pref_dist.cust_code__dist&quot; )) </retrieve>
<table_column> <update>customer_pref_dist</update>
<type>datetime</type> <updatewhere>1</updatewhere>
<name>chg_date</name> <updatekeyinplace>no</updatekeyinplace>
<dbname>customer_pref_dist.chg_date</dbname> </TableDefinition>
<update>yes</update> <TextObject>
<updatewhereclause>yes</updatewhereclause> <band>Header</band>
<alignment>2</alignment>
<text>Customer :</text>
</table_column> <border>2</border>
<table_column> <color>33554432</color>
<type size="10">char</type> <x>2</x>
<name>chg_user</name> <y>2</y>
<dbname>customer_pref_dist.chg_user</dbname> <height>16</height>
<update>yes</update> <width>66</width>
<updatewhereclause>yes</updatewhereclause> <html>
<valueishtml>0</valueishtml>
</html>
</table_column> <name>cust_code_t</name>
<table_column> <visible>1</visible>
<type size="15">varchar</type> <font>
<name>chg_term</name> <face>Arial</face>
<dbname>customer_pref_dist.chg_term</dbname> <height>-10</height>
<update>yes</update> <weight>400</weight>
<updatewhereclause>yes</updatewhereclause> <family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</table_column> </font>
<retrieve>SELECT CUSTOMER_PREF_DIST.CUST_CODE AS CUST_CODE, CUSTOMER_PREF_DIST.CUST_CODE__STK AS CUST_CODE__STK, CUSTOMER_PREF_DIST.CUST_CODE__DIST AS CUST_CODE__DIST, CUSTOMER_PREF_DIST.HOSP_NAME AS HOSP_NAME, CUSTOMER_PREF_DIST.CITY AS CITY, CUSTOMER_PREF_DIST.STOCK_CUST_NAME AS STOCK_CUST_NAME, CUSTOMER_PREF_DIST.DIST_CUST_NAME AS DIST_CUST_NAME, CUSTOMER_PREF_DIST.SITE_CODE__PBUS AS SITE_CODE__PBUS, CUSTOMER_PREF_DIST.ADD_DATE AS ADD_DATE, CUSTOMER_PREF_DIST.ADD_USER AS ADD_USER, CUSTOMER_PREF_DIST.ADD_TERM AS ADD_TERM, CUSTOMER_PREF_DIST.CHG_DATE AS CHG_DATE, CUSTOMER_PREF_DIST.CHG_USER AS CHG_USER, CUSTOMER_PREF_DIST.CHG_TERM AS CHG_TERM <background>
FROM CUSTOMER_PREF_DIST <mode>1</mode>
LEFT JOIN CUSTOMER ON CUSTOMER_PREF_DIST.CUST_CODE = CUSTOMER.CUST_CODE LEFT JOIN CUSTOMER ON CUSTOMER_PREF_DIST.CUST_CODE__STK = CUSTOMER.CUST_CODE LEFT JOIN CUSTOMER ON CUSTOMER_PREF_DIST.CUST_CODE__DIST = CUSTOMER.CUST_CODE</retrieve> <color>536870912</color>
<updatewhere>0</updatewhere> </background>
<updatekeyinplace>no</updatekeyinplace> </TextObject>
<update>customer_pref_dist</update> <TextObject>
</TableDefinition><TextObject> <band>Header</band>
<band>Detail</band> <alignment>2</alignment>
<alignment>1</alignment> <text>Stockist :</text>
<text>Hospital Code</text> <border>2</border>
<border>0</border> <color>33554432</color>
<color>0</color> <x>70</x>
<x>10</x> <y>2</y>
<y>100</y> <height>16</height>
<height>15</height> <width>89</width>
<width>100</width> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>cust_code__stk_t</name>
<name>cust_code_t</name> <visible>1</visible>
<visible>1</visible> <font>
<font> <face>Arial</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>2</mode> <color>536870912</color>
<color>79741120</color> </background>
</background> </TextObject>
</TextObject> <TextObject>
<TextObject> <band>Header</band>
<band>Detail</band> <alignment>2</alignment>
<alignment>1</alignment> <text>Distributor :</text>
<text>Stockist Code</text> <border>2</border>
<border>0</border> <color>33554432</color>
<color>0</color> <x>161</x>
<x>20</x> <y>2</y>
<y>700</y> <height>16</height>
<height>15</height> <width>92</width>
<width>100</width> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>cust_code__dist_t</name>
<name>cust_code__stk_t</name> <visible>1</visible>
<visible>1</visible> <font>
<font> <face>Arial</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>2</mode> <color>536870912</color>
<color>79741120</color> </background>
</background> </TextObject>
</TextObject> <TextObject>
<TextObject> <band>Header</band>
<band>Detail</band> <alignment>2</alignment>
<alignment>1</alignment> <text>Add Date</text>
<text>Distributor Code</text> <border>2</border>
<border>0</border> <color>33554432</color>
<color>0</color> <x>255</x>
<x>30</x> <y>2</y>
<y>400</y> <height>16</height>
<height>15</height> <width>132</width>
<width>100</width> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>add_date_t</name>
<name>cust_code__dist_t</name> <visible>1</visible>
<visible>1</visible> <font>
<font> <face>Arial</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>2</mode> <color>536870912</color>
<color>79741120</color> </background>
</background> </TextObject>
</TextObject> <TextObject>
<TextObject> <band>Header</band>
<band>Detail</band> <alignment>2</alignment>
<alignment>1</alignment> <text>Add User</text>
<text>Hospital Name</text> <border>2</border>
<border>0</border> <color>33554432</color>
<color>0</color> <x>389</x>
<x>40</x> <y>2</y>
<y>300</y> <height>16</height>
<height>15</height> <width>66</width>
<width>500</width> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>add_user_t</name>
<name>hosp_name_t</name> <visible>1</visible>
<visible>1</visible> <font>
<font> <face>Arial</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>2</mode> <color>536870912</color>
<color>79741120</color> </background>
</background> </TextObject>
</TextObject> <TextObject>
<TextObject> <band>Header</band>
<band>Detail</band> <alignment>2</alignment>
<alignment>1</alignment> <text>Add Term</text>
<text>Hospital City</text> <border>2</border>
<border>0</border> <color>33554432</color>
<color>0</color> <x>457</x>
<x>50</x> <y>2</y>
<y>500</y> <height>16</height>
<height>15</height> <width>96</width>
<width>500</width> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>add_term_t</name>
<name>city_t</name> <visible>1</visible>
<visible>1</visible> <font>
<font> <face>Arial</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>2</mode> <color>536870912</color>
<color>79741120</color> </background>
</background> </TextObject>
</TextObject> <TextObject>
<TextObject> <band>Header</band>
<band>Detail</band> <alignment>2</alignment>
<alignment>1</alignment> <text>Chg Date</text>
<text>Stockist Name</text> <border>2</border>
<border>0</border> <color>33554432</color>
<color>0</color> <x>555</x>
<x>60</x> <y>2</y>
<y>200</y> <height>16</height>
<height>15</height> <width>132</width>
<width>500</width> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>chg_date_t</name>
<name>stock_cust_name_t</name> <visible>1</visible>
<visible>1</visible> <font>
<font> <face>Arial</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>2</mode> <color>536870912</color>
<color>79741120</color> </background>
</background> </TextObject>
</TextObject> <TextObject>
<TextObject> <band>Header</band>
<band>Detail</band> <alignment>2</alignment>
<alignment>1</alignment> <text>Chg User</text>
<text>Distributor Name</text> <border>2</border>
<border>0</border> <color>33554432</color>
<color>0</color> <x>689</x>
<x>70</x> <y>2</y>
<y>600</y> <height>16</height>
<height>15</height> <width>66</width>
<width>500</width> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>chg_user_t</name>
<name>dist_cust_name_t</name> <visible>1</visible>
<visible>1</visible> <font>
<font> <face>Arial</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>2</mode> <color>536870912</color>
<color>79741120</color> </background>
</background> </TextObject>
</TextObject> <TextObject>
<TextObject> <band>Header</band>
<band>Detail</band> <alignment>2</alignment>
<alignment>1</alignment> <text>Chg Term</text>
<text>Distributor Site</text> <border>2</border>
<border>0</border> <color>33554432</color>
<color>0</color> <x>757</x>
<x>80</x> <y>2</y>
<y>800</y> <height>16</height>
<height>15</height> <width>96</width>
<width>300</width> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>chg_term_t</name>
<name>site_code__pbus_t</name> <visible>1</visible>
<visible>1</visible> <font>
<font> <face>Arial</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>2</mode> <color>536870912</color>
<color>79741120</color> </background>
</background> </TextObject>
</TextObject> <ColumnObject>
<TextObject> <band>Detail</band>
<band>Detail</band> <id>1</id>
<alignment>1</alignment> <alignment>0</alignment>
<text>Add Date</text> <tabsequence>10</tabsequence>
<border>0</border> <border>2</border>
<color>0</color> <color>33554432</color>
<x>90</x> <x>2</x>
<y>900</y> <y>2</y>
<height>15</height> <height>19</height>
<width>50</width> <width>66</width>
<html> <format>[general]</format>
<valueishtml>0</valueishtml> <html>
</html> <valueishtml>0</valueishtml>
<name>add_date_t</name> </html>
<visible>1</visible> <name>cust_code</name>
<font> <visible>1</visible>
<face>Times New Roman</face> <EditStyle style="edit">
<height>-10</height> <limit>10</limit>
<weight>400</weight> <case>any</case>
<family>1</family> <focusrectangle>no</focusrectangle>
<pitch>2</pitch> <autoselect>yes</autoselect>
<charset>0</charset> <autohscroll>yes</autohscroll>
</font> <imemode>0</imemode>
<background> </EditStyle>
<mode>2</mode> <font>
<color>79741120</color> <face>Arial</face>
</background> <height>-10</height>
</TextObject> <weight>400</weight>
<TextObject> <family>2</family>
<band>Detail</band> <pitch>2</pitch>
<alignment>1</alignment> <charset>0</charset>
<text>Add User</text> </font>
<border>0</border> <background>
<color>0</color> <mode>1</mode>
<x>100</x> <color>536870912</color>
<y>1000</y> </background>
<height>15</height> </ColumnObject>
<width>100</width> <ColumnObject>
<html> <band>Detail</band>
<valueishtml>0</valueishtml> <id>2</id>
</html> <alignment>0</alignment>
<name>add_user_t</name> <tabsequence>20</tabsequence>
<visible>1</visible> <border>2</border>
<font> <color>33554432</color>
<face>Times New Roman</face> <x>70</x>
<height>-10</height> <y>2</y>
<weight>400</weight> <height>19</height>
<family>1</family> <width>89</width>
<pitch>2</pitch> <format>[general]</format>
<charset>0</charset> <html>
</font> <valueishtml>0</valueishtml>
<background> </html>
<mode>2</mode> <name>cust_code__stk</name>
<color>79741120</color> <visible>1</visible>
</background> <EditStyle style="edit">
</TextObject> <limit>10</limit>
<TextObject> <case>any</case>
<band>Detail</band> <focusrectangle>no</focusrectangle>
<alignment>1</alignment> <autoselect>yes</autoselect>
<text>Add Terminal</text> <autohscroll>yes</autohscroll>
<border>0</border> <imemode>0</imemode>
<color>0</color> </EditStyle>
<x>110</x> <font>
<y>1100</y> <face>Arial</face>
<height>15</height> <height>-10</height>
<width>150</width> <weight>400</weight>
<html> <family>2</family>
<valueishtml>0</valueishtml> <pitch>2</pitch>
</html> <charset>0</charset>
<name>add_term_t</name> </font>
<visible>1</visible> <background>
<font> <mode>1</mode>
<face>Times New Roman</face> <color>536870912</color>
<height>-10</height> </background>
<weight>400</weight> </ColumnObject>
<family>1</family> <ColumnObject>
<pitch>2</pitch> <band>Detail</band>
<charset>0</charset> <id>3</id>
</font> <alignment>0</alignment>
<background> <tabsequence>30</tabsequence>
<mode>2</mode> <border>2</border>
<color>79741120</color> <color>33554432</color>
</background> <x>161</x>
</TextObject> <y>2</y>
<TextObject> <height>19</height>
<band>Detail</band> <width>92</width>
<alignment>1</alignment> <format>[general]</format>
<text>Change Date</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>0</color> </html>
<x>120</x> <name>cust_code__dist</name>
<y>1200</y> <visible>1</visible>
<height>15</height> <EditStyle style="edit">
<width>50</width> <limit>10</limit>
<html> <case>any</case>
<valueishtml>0</valueishtml> <focusrectangle>no</focusrectangle>
</html> <autoselect>yes</autoselect>
<name>chg_date_t</name> <autohscroll>yes</autohscroll>
<visible>1</visible> <imemode>0</imemode>
<font> </EditStyle>
<face>Times New Roman</face> <font>
<height>-10</height> <face>Arial</face>
<weight>400</weight> <height>-10</height>
<family>1</family> <weight>400</weight>
<pitch>2</pitch> <family>2</family>
<charset>0</charset> <pitch>2</pitch>
</font> <charset>0</charset>
<background> </font>
<mode>2</mode> <background>
<color>79741120</color> <mode>1</mode>
</background> <color>536870912</color>
</TextObject> </background>
<TextObject> </ColumnObject>
<band>Detail</band> <ColumnObject>
<alignment>1</alignment> <band>Detail</band>
<text>Change User</text> <id>4</id>
<border>0</border> <alignment>0</alignment>
<color>0</color> <tabsequence>40</tabsequence>
<x>130</x> <border>2</border>
<y>1300</y> <color>33554432</color>
<height>15</height> <x>255</x>
<width>100</width> <y>2</y>
<html> <height>19</height>
<valueishtml>0</valueishtml> <width>132</width>
</html> <format>[shortdate] [time]</format>
<name>chg_user_t</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<font> </html>
<face>Times New Roman</face> <name>add_date</name>
<height>-10</height> <visible>1</visible>
<weight>400</weight> <EditStyle style="edit">
<family>1</family> <limit>0</limit>
<pitch>2</pitch> <case>any</case>
<charset>0</charset> <focusrectangle>no</focusrectangle>
</font> <autoselect>yes</autoselect>
<background> <autohscroll>yes</autohscroll>
<mode>2</mode> <imemode>0</imemode>
<color>79741120</color> </EditStyle>
</background> <font>
</TextObject> <face>Arial</face>
<TextObject> <height>-10</height>
<band>Detail</band> <weight>400</weight>
<alignment>1</alignment> <family>2</family>
<text>Change Terminal</text> <pitch>2</pitch>
<border>0</border> <charset>0</charset>
<color>0</color> </font>
<x>140</x> <background>
<y>1400</y> <mode>1</mode>
<height>15</height> <color>536870912</color>
<width>150</width> </background>
<html> </ColumnObject>
<valueishtml>0</valueishtml> <ColumnObject>
</html> <band>Detail</band>
<name>chg_term_t</name> <id>5</id>
<visible>1</visible> <alignment>0</alignment>
<font> <tabsequence>50</tabsequence>
<face>Times New Roman</face> <border>2</border>
<height>-10</height> <color>33554432</color>
<weight>400</weight> <x>389</x>
<family>1</family> <y>2</y>
<pitch>2</pitch> <height>19</height>
<charset>0</charset> <width>66</width>
</font> <format>[general]</format>
<background> <html>
<mode>2</mode> <valueishtml>0</valueishtml>
<color>79741120</color> </html>
</background> <name>add_user</name>
</TextObject> <visible>1</visible>
<ColumnObject> <EditStyle style="edit">
<band>Detail</band> <limit>10</limit>
<id>2</id> <case>any</case>
<alignment>0</alignment> <focusrectangle>no</focusrectangle>
<tabsequence>10</tabsequence> <autoselect>yes</autoselect>
<border>5</border> <autohscroll>yes</autohscroll>
<color>0</color> <imemode>0</imemode>
<x>20</x> </EditStyle>
<y>100</y> <font>
<height>15</height> <face>Arial</face>
<width>100</width> <height>-10</height>
<format>[general]</format> <weight>400</weight>
<html> <family>2</family>
<valueishtml>0</valueishtml> <pitch>2</pitch>
</html> <charset>0</charset>
<name>cust_code</name> </font>
<visible>1</visible> <background>
<EditStyle style="edit"> <mode>1</mode>
<limit>10</limit> <color>536870912</color>
<case>upper</case> </background>
<focusrectangle>no</focusrectangle> </ColumnObject>
<autoselect>yes</autoselect> <ColumnObject>
<imemode>0</imemode> <band>Detail</band>
<required>yes</required> <id>6</id>
</EditStyle> <alignment>0</alignment>
<font> <tabsequence>60</tabsequence>
<face>Times New Roman</face> <border>2</border>
<height>-10</height> <color>33554432</color>
<weight>400</weight> <x>457</x>
<family>1</family> <y>2</y>
<pitch>2</pitch> <height>19</height>
<charset>0</charset> <width>96</width>
</font> <format>[general]</format>
<background> <html>
<mode>2</mode> <valueishtml>0</valueishtml>
<color>16777215</color> </html>
</background> <name>add_term</name>
</ColumnObject> <visible>1</visible>
<ColumnObject> <EditStyle style="edit">
<band>Detail</band> <limit>15</limit>
<id>2</id> <case>any</case>
<alignment>0</alignment> <focusrectangle>no</focusrectangle>
<tabsequence>20</tabsequence> <autoselect>yes</autoselect>
<border>5</border> <autohscroll>yes</autohscroll>
<color>0</color> <imemode>0</imemode>
<x>30</x> </EditStyle>
<y>700</y> <font>
<height>15</height> <face>Arial</face>
<width>100</width> <height>-10</height>
<format>[general]</format> <weight>400</weight>
<html> <family>2</family>
<valueishtml>0</valueishtml> <pitch>2</pitch>
</html> <charset>0</charset>
<name>cust_code__stk</name> </font>
<visible>1</visible> <background>
<EditStyle style="edit"> <mode>1</mode>
<limit>10</limit> <color>536870912</color>
<case>upper</case> </background>
<focusrectangle>no</focusrectangle> </ColumnObject>
<autoselect>yes</autoselect> <ColumnObject>
<imemode>0</imemode> <band>Detail</band>
<required>yes</required> <id>7</id>
</EditStyle> <alignment>0</alignment>
<font> <tabsequence>70</tabsequence>
<face>Times New Roman</face> <border>2</border>
<height>-10</height> <color>33554432</color>
<weight>400</weight> <x>555</x>
<family>1</family> <y>2</y>
<pitch>2</pitch> <height>19</height>
<charset>0</charset> <width>132</width>
</font> <format>[shortdate] [time]</format>
<background> <html>
<mode>2</mode> <valueishtml>0</valueishtml>
<color>16777215</color> </html>
</background> <name>chg_date</name>
</ColumnObject> <visible>1</visible>
<ColumnObject> <EditStyle style="edit">
<band>Detail</band> <limit>0</limit>
<id>2</id> <case>any</case>
<alignment>0</alignment> <focusrectangle>no</focusrectangle>
<tabsequence>30</tabsequence> <autoselect>yes</autoselect>
<border>5</border> <autohscroll>yes</autohscroll>
<color>0</color> <imemode>0</imemode>
<x>40</x> </EditStyle>
<y>400</y> <font>
<height>15</height> <face>Arial</face>
<width>100</width> <height>-10</height>
<format>[general]</format> <weight>400</weight>
<html> <family>2</family>
<valueishtml>0</valueishtml> <pitch>2</pitch>
</html> <charset>0</charset>
<name>cust_code__dist</name> </font>
<visible>1</visible> <background>
<EditStyle style="edit"> <mode>1</mode>
<limit>10</limit> <color>536870912</color>
<case>upper</case> </background>
<focusrectangle>no</focusrectangle> </ColumnObject>
<autoselect>yes</autoselect> <ColumnObject>
<imemode>0</imemode> <band>Detail</band>
<required>yes</required> <id>8</id>
</EditStyle> <alignment>0</alignment>
<font> <tabsequence>80</tabsequence>
<face>Times New Roman</face> <border>2</border>
<height>-10</height> <color>33554432</color>
<weight>400</weight> <x>689</x>
<family>1</family> <y>2</y>
<pitch>2</pitch> <height>19</height>
<charset>0</charset> <width>66</width>
</font> <format>[general]</format>
<background> <html>
<mode>2</mode> <valueishtml>0</valueishtml>
<color>16777215</color> </html>
</background> <name>chg_user</name>
</ColumnObject> <visible>1</visible>
<ColumnObject> <EditStyle style="edit">
<band>Detail</band> <limit>10</limit>
<id>2</id> <case>any</case>
<alignment>0</alignment> <focusrectangle>no</focusrectangle>
<tabsequence>32766</tabsequence> <autoselect>yes</autoselect>
<border>5</border> <autohscroll>yes</autohscroll>
<color>0</color> <imemode>0</imemode>
<x>50</x> </EditStyle>
<y>300</y> <font>
<height>15</height> <face>Arial</face>
<width>500</width> <height>-10</height>
<format>[general]</format> <weight>400</weight>
<html> <family>2</family>
<valueishtml>0</valueishtml> <pitch>2</pitch>
</html> <charset>0</charset>
<name>hosp_name</name> </font>
<visible>1</visible> <background>
<EditStyle style="edit"> <mode>1</mode>
<limit>100</limit> <color>536870912</color>
<case>upper</case> </background>
<focusrectangle>no</focusrectangle> </ColumnObject>
<autoselect>yes</autoselect> <ColumnObject>
<imemode>0</imemode> <band>Detail</band>
<id>9</id>
</EditStyle> <alignment>0</alignment>
<font> <tabsequence>90</tabsequence>
<face>Times New Roman</face> <border>2</border>
<height>-10</height> <color>33554432</color>
<weight>400</weight> <x>757</x>
<family>1</family> <y>2</y>
<pitch>2</pitch> <height>19</height>
<charset>0</charset> <width>96</width>
</font> <format>[general]</format>
<background> <html>
<mode>2</mode> <valueishtml>0</valueishtml>
<color>16777215</color> </html>
</background> <name>chg_term</name>
</ColumnObject> <visible>1</visible>
<ColumnObject> <EditStyle style="edit">
<band>Detail</band> <limit>15</limit>
<id>2</id> <case>any</case>
<alignment>0</alignment> <focusrectangle>no</focusrectangle>
<tabsequence>32766</tabsequence> <autoselect>yes</autoselect>
<border>5</border> <autohscroll>yes</autohscroll>
<color>0</color> <imemode>0</imemode>
<x>60</x> </EditStyle>
<y>500</y> <font>
<height>15</height> <face>Arial</face>
<width>500</width> <height>-10</height>
<format>[general]</format> <weight>400</weight>
<html> <family>2</family>
<valueishtml>0</valueishtml> <pitch>2</pitch>
</html> <charset>0</charset>
<name>city</name> </font>
<visible>1</visible> <background>
<EditStyle style="edit"> <mode>1</mode>
<limit>50</limit> <color>536870912</color>
<case>upper</case> </background>
<focusrectangle>no</focusrectangle> </ColumnObject>
<autoselect>yes</autoselect> <ColumnObject>
<imemode>0</imemode> <band>Detail</band>
<id>10</id>
</EditStyle> <alignment>0</alignment>
<font> <tabsequence>32766</tabsequence>
<face>Times New Roman</face> <border>0</border>
<height>-10</height> <color>33554432</color>
<weight>400</weight> <x>856</x>
<family>1</family> <y>0</y>
<pitch>2</pitch> <height>16</height>
<charset>0</charset> <width>293</width>
</font> <html>
<background> <valueishtml>0</valueishtml>
<mode>2</mode> </html>
<color>16777215</color> <name>cust_name</name>
</background> <visible>1</visible>
</ColumnObject> <font>
<ColumnObject> <face>Arial</face>
<band>Detail</band> <height>-10</height>
<id>2</id> <weight>400</weight>
<alignment>0</alignment> <family>2</family>
<tabsequence>32766</tabsequence> <pitch>2</pitch>
<border>5</border> <charset>0</charset>
<color>0</color> </font>
<x>70</x> <background>
<y>200</y> <mode>1</mode>
<height>15</height> <color>536870912</color>
<width>500</width> </background>
<format>[general]</format> </ColumnObject>
<html> <TextObject>
<valueishtml>0</valueishtml> <band>Header</band>
</html> <alignment>0</alignment>
<name>stock_cust_name</name> <text>Customer Name</text>
<visible>1</visible> <border>0</border>
<EditStyle style="edit"> <color>33554432</color>
<limit>100</limit> <x>855</x>
<case>upper</case> <y>1</y>
<focusrectangle>no</focusrectangle> <height>19</height>
<autoselect>yes</autoselect> <width>294</width>
<imemode>0</imemode> <html>
<valueishtml>0</valueishtml>
</EditStyle> </html>
<font> <name>cust_name_t</name>
<face>Times New Roman</face> <visible>1</visible>
<height>-10</height> <font>
<weight>400</weight> <face>Arial</face>
<family>1</family> <height>-12</height>
<pitch>2</pitch> <weight>400</weight>
<charset>0</charset> <family>2</family>
</font> <pitch>2</pitch>
<background> <charset>0</charset>
<mode>2</mode> </font>
<color>16777215</color> <background>
</background> <mode>2</mode>
</ColumnObject> <color>1073741824</color>
<ColumnObject> </background>
<band>Detail</band> </TextObject>
<id>2</id> <ColumnObject>
<alignment>0</alignment> <band>Detail</band>
<tabsequence>32766</tabsequence> <id>11</id>
<border>5</border> <alignment>0</alignment>
<color>0</color> <tabsequence>32766</tabsequence>
<x>80</x> <border>0</border>
<y>600</y> <color>33554432</color>
<height>15</height> <x>1152</x>
<width>500</width> <y>0</y>
<format>[general]</format> <height>16</height>
<html> <width>116</width>
<valueishtml>0</valueishtml> <html>
</html> <valueishtml>0</valueishtml>
<name>dist_cust_name</name> </html>
<visible>1</visible> <name>city</name>
<EditStyle style="edit"> <visible>1</visible>
<limit>100</limit> <font>
<case>upper</case> <face>Arial</face>
<focusrectangle>no</focusrectangle> <height>-10</height>
<autoselect>yes</autoselect> <weight>400</weight>
<imemode>0</imemode> <family>2</family>
<pitch>2</pitch>
</EditStyle> <charset>0</charset>
<font> </font>
<face>Times New Roman</face> <background>
<height>-10</height> <mode>1</mode>
<weight>400</weight> <color>536870912</color>
<family>1</family> </background>
<pitch>2</pitch> </ColumnObject>
<charset>0</charset> <TextObject>
</font> <band>Header</band>
<background> <alignment>0</alignment>
<mode>2</mode> <text>City</text>
<color>16777215</color> <border>0</border>
</background> <color>33554432</color>
</ColumnObject> <x>1151</x>
<ColumnObject> <y>1</y>
<band>Detail</band> <height>19</height>
<id>2</id> <width>117</width>
<alignment>0</alignment> <html>
<tabsequence>32766</tabsequence> <valueishtml>0</valueishtml>
<border>5</border> </html>
<color>0</color> <name>city_t</name>
<x>90</x> <visible>1</visible>
<y>800</y> <font>
<height>15</height> <face>Arial</face>
<width>300</width> <height>-12</height>
<format>[general]</format> <weight>400</weight>
<html> <family>2</family>
<valueishtml>0</valueishtml> <pitch>2</pitch>
</html> <charset>0</charset>
<name>site_code__pbus</name> </font>
<visible>1</visible> <background>
<EditStyle style="edit"> <mode>2</mode>
<limit>30</limit> <color>1073741824</color>
<case>upper</case> </background>
<focusrectangle>no</focusrectangle> </TextObject>
<autoselect>yes</autoselect> <ColumnObject>
<imemode>0</imemode> <band>Detail</band>
<id>12</id>
</EditStyle> <alignment>0</alignment>
<font> <tabsequence>32766</tabsequence>
<face>Times New Roman</face> <border>0</border>
<height>-10</height> <color>33554432</color>
<weight>400</weight> <x>1271</x>
<family>1</family> <y>0</y>
<pitch>2</pitch> <height>16</height>
<charset>0</charset> <width>293</width>
</font> <html>
<background> <valueishtml>0</valueishtml>
<mode>2</mode> </html>
<color>16777215</color> <name>cust_name_1</name>
</background> <visible>1</visible>
</ColumnObject> <font>
<ColumnObject> <face>Arial</face>
<band>Detail</band> <height>-10</height>
<id>2</id> <weight>400</weight>
<alignment>0</alignment> <family>2</family>
<tabsequence>32766</tabsequence> <pitch>2</pitch>
<border>5</border> <charset>0</charset>
<color>0</color> </font>
<x>100</x> <background>
<y>900</y> <mode>1</mode>
<height>15</height> <color>536870912</color>
<width>50</width> </background>
<format>dd/mm/yy</format> </ColumnObject>
<html> <TextObject>
<valueishtml>0</valueishtml> <band>Header</band>
</html> <alignment>0</alignment>
<name>add_date</name> <text>Stockist Name :</text>
<visible>1</visible> <border>0</border>
<EditStyle style="editmask"> <color>33554432</color>
<mask>dd/mm/yy</mask> <x>1270</x>
<focusrectangle>no</focusrectangle> <y>1</y>
<imemode>0</imemode> <height>19</height>
<width>294</width>
</EditStyle> <html>
<font> <valueishtml>0</valueishtml>
<face>Times New Roman</face> </html>
<height>-10</height> <name>customer_cust_name_1_t</name>
<weight>400</weight> <visible>1</visible>
<family>1</family> <font>
<pitch>2</pitch> <face>Arial</face>
<charset>0</charset> <height>-12</height>
</font> <weight>400</weight>
<background> <family>2</family>
<mode>2</mode> <pitch>2</pitch>
<color>16777215</color> <charset>0</charset>
</background> </font>
</ColumnObject> <background>
<ColumnObject> <mode>2</mode>
<band>Detail</band> <color>1073741824</color>
<id>2</id> </background>
<alignment>0</alignment> </TextObject>
<tabsequence>32766</tabsequence> <ColumnObject>
<border>5</border> <band>Detail</band>
<color>0</color> <id>13</id>
<x>110</x> <alignment>0</alignment>
<y>1000</y> <tabsequence>32766</tabsequence>
<height>15</height> <border>0</border>
<width>100</width> <color>33554432</color>
<format>[general]</format> <x>1567</x>
<html> <y>0</y>
<valueishtml>0</valueishtml> <height>16</height>
</html> <width>293</width>
<name>add_user</name> <html>
<visible>1</visible> <valueishtml>0</valueishtml>
<EditStyle style="edit"> </html>
<limit>10</limit> <name>cust_name_2</name>
<case>upper</case> <visible>1</visible>
<focusrectangle>no</focusrectangle> <font>
<autoselect>yes</autoselect> <face>Arial</face>
<imemode>0</imemode> <height>-10</height>
<weight>400</weight>
</EditStyle> <family>2</family>
<font> <pitch>2</pitch>
<face>Times New Roman</face> <charset>0</charset>
<height>-10</height> </font>
<weight>400</weight> <background>
<family>1</family> <mode>1</mode>
<pitch>2</pitch> <color>536870912</color>
<charset>0</charset> </background>
</font> </ColumnObject>
<background> <TextObject>
<mode>2</mode> <band>Header</band>
<color>16777215</color> <alignment>0</alignment>
</background> <text>Distributor Name :</text>
</ColumnObject> <border>0</border>
<ColumnObject> <color>33554432</color>
<band>Detail</band> <x>1566</x>
<id>2</id> <y>1</y>
<alignment>0</alignment> <height>19</height>
<tabsequence>32766</tabsequence> <width>294</width>
<border>5</border> <html>
<color>0</color> <valueishtml>0</valueishtml>
<x>120</x> </html>
<y>1100</y> <name>cust_name_2_t</name>
<height>15</height> <visible>1</visible>
<width>150</width> <font>
<format>[general]</format> <face>Arial</face>
<html> <height>-12</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>2</family>
<name>add_term</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<EditStyle style="edit"> </font>
<limit>15</limit> <background>
<case>upper</case> <mode>2</mode>
<focusrectangle>no</focusrectangle> <color>1073741824</color>
<autoselect>yes</autoselect> </background>
<imemode>0</imemode> </TextObject>
<ColumnObject>
</EditStyle> <band>Detail</band>
<font> <id>14</id>
<face>Times New Roman</face> <alignment>0</alignment>
<height>-10</height> <tabsequence>32766</tabsequence>
<weight>400</weight> <border>0</border>
<family>1</family> <color>33554432</color>
<pitch>2</pitch> <x>1863</x>
<charset>0</charset> <y>0</y>
</font> <height>16</height>
<background> <width>224</width>
<mode>2</mode> <html>
<color>16777215</color> <valueishtml>0</valueishtml>
</background> </html>
</ColumnObject> <name>site_code__pbus</name>
<ColumnObject> <visible>1</visible>
<band>Detail</band> <font>
<id>2</id> <face>Arial</face>
<alignment>0</alignment> <height>-10</height>
<tabsequence>32766</tabsequence> <weight>400</weight>
<border>5</border> <family>2</family>
<color>0</color> <pitch>2</pitch>
<x>130</x> <charset>0</charset>
<y>1200</y> </font>
<height>15</height> <background>
<width>50</width> <mode>1</mode>
<format>dd/mm/yy</format> <color>536870912</color>
<html> </background>
<valueishtml>0</valueishtml> </ColumnObject>
</html> <TextObject>
<name>chg_date</name> <band>Header</band>
<visible>1</visible> <alignment>0</alignment>
<EditStyle style="editmask"> <text>Site</text>
<mask>dd/mm/yy</mask> <border>0</border>
<focusrectangle>no</focusrectangle> <color>33554432</color>
<imemode>0</imemode> <x>1862</x>
<y>1</y>
</EditStyle> <height>19</height>
<font> <width>225</width>
<face>Times New Roman</face> <html>
<height>-10</height> <valueishtml>0</valueishtml>
<weight>400</weight> </html>
<family>1</family> <name>site_code__pbus_t</name>
<pitch>2</pitch> <visible>1</visible>
<charset>0</charset> <font>
</font> <face>Arial</face>
<background> <height>-12</height>
<mode>2</mode> <weight>400</weight>
<color>16777215</color> <family>2</family>
</background> <pitch>2</pitch>
</ColumnObject> <charset>0</charset>
<ColumnObject> </font>
<band>Detail</band> <background>
<id>2</id> <mode>2</mode>
<alignment>0</alignment> <color>1073741824</color>
<tabsequence>32766</tabsequence> </background>
<border>5</border> </TextObject>
<color>0</color> <HtmlTable>
<x>140</x> <border>1</border>
<y>1300</y> </HtmlTable>
<height>15</height> <HtmlGen>
<width>100</width> <clientevents>1</clientevents>
<format>[general]</format> <clientvalidation>1</clientvalidation>
<html> <clientcomputedfields>1</clientcomputedfields>
<valueishtml>0</valueishtml> <clientformatting>0</clientformatting>
</html> <clientscriptable>0</clientscriptable>
<name>chg_user</name> <generatejavascript>1</generatejavascript>
<visible>1</visible> <encodeselflinkargs>1</encodeselflinkargs>
<EditStyle style="edit"> <netscapelayers>0</netscapelayers>
<limit>10</limit> </HtmlGen>
<case>upper</case> <Export.XML>
<focusrectangle>no</focusrectangle> <headgroups>1</headgroups>
<autoselect>yes</autoselect> <includewhitespace>0</includewhitespace>
<imemode>0</imemode> <metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</EditStyle> </Export.XML>
<font> <Import.XML>
<face>Times New Roman</face> </Import.XML>
<height>-10</height> <Export.PDF>
<weight>400</weight> <method>0</method>
<family>1</family> <distill.custompostscript>0</distill.custompostscript>
<pitch>2</pitch> <xslfop.print>0</xslfop.print>
<charset>0</charset> </Export.PDF>
</font> </Sybase_eDataWindow>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>150</x>
<y>1400</y>
<height>15</height>
<width>150</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>79741120</color> <color>1073741824</color>
<processing>0</processing> <processing>0</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
</BaseDefinition> </BaseDefinition>
<Summary> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>523</height> <height>387</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<name>cust_code</name> <update>yes</update>
<dbname>customer_pref_dist.cust_code</dbname> <updatewhereclause>yes</updatewhereclause>
<update>yes</update> <key>yes</key>
<updatewhereclause>yes</updatewhereclause> <name>cust_code</name>
<key>yes</key> <dbname>customer_pref_dist.cust_code</dbname>
</table_column>
<table_column>
</table_column> <type size="10">char</type>
<table_column> <update>yes</update>
<type size="100">varchar</type> <updatewhereclause>yes</updatewhereclause>
<name>stock_cust_name</name> <key>yes</key>
<dbname>customer_pref_dist.stock_cust_name</dbname> <name>cust_code__stk</name>
<update>yes</update> <dbname>customer_pref_dist.cust_code__stk</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<table_column>
<type size="10">char</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type size="100">varchar</type> <name>cust_code__dist</name>
<name>hosp_name</name> <dbname>customer_pref_dist.cust_code__dist</dbname>
<dbname>customer_pref_dist.hosp_name</dbname> </table_column>
<update>yes</update> <table_column>
<updatewhereclause>yes</updatewhereclause> <type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column> <name>add_date</name>
<table_column> <dbname>customer_pref_dist.add_date</dbname>
<type size="10">char</type> </table_column>
<name>cust_code__dist</name> <table_column>
<dbname>customer_pref_dist.cust_code__dist</dbname> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>add_user</name>
<dbname>customer_pref_dist.add_user</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="50">varchar</type> <type size="15">char</type>
<name>city</name> <update>yes</update>
<dbname>customer_pref_dist.city</dbname> <updatewhereclause>yes</updatewhereclause>
<update>yes</update> <name>add_term</name>
<updatewhereclause>yes</updatewhereclause> <dbname>customer_pref_dist.add_term</dbname>
</table_column>
<table_column>
</table_column> <type>datetime</type>
<table_column> <update>yes</update>
<type size="100">varchar</type> <updatewhereclause>yes</updatewhereclause>
<name>dist_cust_name</name> <name>chg_date</name>
<dbname>customer_pref_dist.dist_cust_name</dbname> <dbname>customer_pref_dist.chg_date</dbname>
<update>yes</update> </table_column>
<updatewhereclause>yes</updatewhereclause> <table_column>
<type size="10">char</type>
<update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>chg_user</name>
<type size="10">char</type> <dbname>customer_pref_dist.chg_user</dbname>
<name>cust_code__stk</name> </table_column>
<dbname>customer_pref_dist.cust_code__stk</dbname> <table_column>
<update>yes</update> <type size="15">char</type>
<updatewhereclause>yes</updatewhereclause> <update>yes</update>
<key>yes</key> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>customer_pref_dist.chg_term</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="30">varchar</type> <type size="50">char</type>
<name>site_code__pbus</name> <updatewhereclause>yes</updatewhereclause>
<dbname>customer_pref_dist.site_code__pbus</dbname> <name>cust_name</name>
<update>yes</update> <dbname>customer.cust_name</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<table_column>
<type size="20">char</type>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>city</name>
<type>datetime</type> <dbname>customer.city</dbname>
<name>add_date</name> </table_column>
<dbname>customer_pref_dist.add_date</dbname> <table_column>
<update>yes</update> <type size="50">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<initial>today()</initial> <name>cust_name_1</name>
<dbname>customer.cust_name</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="50">char</type>
<name>add_user</name> <updatewhereclause>yes</updatewhereclause>
<dbname>customer_pref_dist.add_user</dbname> <name>cust_name_2</name>
<update>yes</update> <dbname>customer.cust_name</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<initial>logged_in_user()</initial> <table_column>
<type size="5">char</type>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <name>site_code__pbus</name>
<type size="15">varchar</type> <dbname>customer.site_code__pbus</dbname>
<name>add_term</name> </table_column>
<dbname>customer_pref_dist.add_term</dbname> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;customer_pref_dist&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_a&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_b&quot; ) TABLE(NAME=&quot;customer&quot; ALIAS=&quot;customer_c&quot; ) COLUMN(NAME=&quot;customer_pref_dist.cust_code&quot;) COLUMN(NAME=&quot;customer_pref_dist.cust_code__stk&quot;) COLUMN(NAME=&quot;customer_pref_dist.cust_code__dist&quot;) COLUMN(NAME=&quot;customer_pref_dist.add_date&quot;) COLUMN(NAME=&quot;customer_pref_dist.add_user&quot;) COLUMN(NAME=&quot;customer_pref_dist.add_term&quot;) COLUMN(NAME=&quot;customer_pref_dist.chg_date&quot;) COLUMN(NAME=&quot;customer_pref_dist.chg_user&quot;) COLUMN(NAME=&quot;customer_pref_dist.chg_term&quot;) COLUMN(NAME=&quot;customer_a.cust_name&quot;) COLUMN(NAME=&quot;customer_a.city&quot;) COLUMN(NAME=&quot;customer_b.cust_name&quot;) COLUMN(NAME=&quot;customer_c.cust_name&quot;) COLUMN(NAME=&quot;customer_c.site_code__pbus&quot;) JOIN (LEFT=&quot;customer_pref_dist.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer_a.cust_code&quot; OUTER1 =&quot;customer_pref_dist.cust_code&quot; ) JOIN (LEFT=&quot;customer_pref_dist.cust_code__stk&quot; OP =&quot;=&quot;RIGHT=&quot;customer_b.cust_code&quot; OUTER1 =&quot;customer_pref_dist.cust_code__stk&quot; ) JOIN (LEFT=&quot;customer_pref_dist.cust_code__dist&quot; OP =&quot;=&quot;RIGHT=&quot;customer_c.cust_code&quot; OUTER1 =&quot;customer_pref_dist.cust_code__dist&quot; )WHERE( EXP1 =&quot;customer_pref_dist.cust_code&quot; OP =&quot;=&quot; EXP2 =&quot;:cust_code&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;customer_pref_dist.cust_code__stk&quot; OP =&quot;=&quot; EXP2 =&quot;:cust_code__stk&quot; ) ) ARG(NAME = &quot;cust_code&quot; TYPE = string) ARG(NAME = &quot;cust_code__stk&quot; TYPE = string) </retrieve>
<update>yes</update> <update>customer_pref_dist</update>
<updatewhereclause>yes</updatewhereclause> <updatewhere>1</updatewhere>
<initial>logged_in_terminal()</initial> <updatekeyinplace>no</updatekeyinplace>
<argument>
</table_column> <name>cust_code</name>
<table_column> <type>string</type>
<type>datetime</type> </argument>
<name>chg_date</name> <argument>
<dbname>customer_pref_dist.chg_date</dbname> <name>cust_code__stk</name>
<update>yes</update> <type>string</type>
<updatewhereclause>yes</updatewhereclause> </argument>
</TableDefinition>
<GroupBox>
</table_column> <band>Detail</band>
<table_column> <text>Basic</text>
<type size="10">char</type> <border>2</border>
<name>chg_user</name> <color>33554432</color>
<dbname>customer_pref_dist.chg_user</dbname> <x>55</x>
<update>yes</update> <y>9</y>
<updatewhereclause>yes</updatewhereclause> <height>150</height>
<width>591</width>
<name>gb_1</name>
</table_column> <visible>1</visible>
<table_column> <font>
<type size="15">varchar</type> <face>Arial</face>
<name>chg_term</name> <height>-10</height>
<dbname>customer_pref_dist.chg_term</dbname> <weight>400</weight>
<update>yes</update> <family>2</family>
<updatewhereclause>yes</updatewhereclause> <pitch>2</pitch>
<charset>0</charset>
</font>
</table_column> <background>
<retrieve>SELECT CUSTOMER_PREF_DIST.CUST_CODE AS CUST_CODE, CUSTOMER_PREF_DIST.STOCK_CUST_NAME AS STOCK_CUST_NAME, CUSTOMER_PREF_DIST.HOSP_NAME AS HOSP_NAME, CUSTOMER_PREF_DIST.CUST_CODE__DIST AS CUST_CODE__DIST, CUSTOMER_PREF_DIST.CITY AS CITY, CUSTOMER_PREF_DIST.DIST_CUST_NAME AS DIST_CUST_NAME, CUSTOMER_PREF_DIST.CUST_CODE__STK AS CUST_CODE__STK, CUSTOMER_PREF_DIST.SITE_CODE__PBUS AS SITE_CODE__PBUS, CUSTOMER_PREF_DIST.ADD_DATE AS ADD_DATE, CUSTOMER_PREF_DIST.ADD_USER AS ADD_USER, CUSTOMER_PREF_DIST.ADD_TERM AS ADD_TERM, CUSTOMER_PREF_DIST.CHG_DATE AS CHG_DATE, CUSTOMER_PREF_DIST.CHG_USER AS CHG_USER, CUSTOMER_PREF_DIST.CHG_TERM AS CHG_TERM <mode>2</mode>
FROM CUSTOMER_PREF_DIST <color>1073741824</color>
LEFT JOIN CUSTOMER ON CUSTOMER_PREF_DIST.CUST_CODE = CUSTOMER.CUST_CODE LEFT JOIN CUSTOMER ON CUSTOMER_PREF_DIST.CUST_CODE__STK = CUSTOMER.CUST_CODE LEFT JOIN CUSTOMER ON CUSTOMER_PREF_DIST.CUST_CODE__DIST = CUSTOMER.CUST_CODE WHERE CUSTOMER_PREF_DIST.CUST_CODE = ? AND CUSTOMER_PREF_DIST.CUST_CODE__STK = ? </retrieve> </background>
<updatewhere>0</updatewhere> </GroupBox>
<updatekeyinplace>no</updatekeyinplace> <GroupBox>
<update>customer_pref_dist</update><argument> <band>Detail</band>
<table_name>customer_pref_dist</table_name> <text>Others</text>
<name>cust_code</name> <border>2</border>
<type>string</type> <color>33554432</color>
</argument> <x>52</x>
<argument> <y>166</y>
<table_name>customer_pref_dist</table_name> <height>213</height>
<name>cust_code__stk</name> <width>300</width>
<type>string</type> <name>gb_2</name>
</argument> <visible>1</visible>
</TableDefinition><TextObject> <font>
<band>Detail</band> <face>Arial</face>
<alignment>1</alignment> <height>-10</height>
<text>Hospital Code</text> <weight>400</weight>
<border>0</border> <family>2</family>
<color>0</color> <pitch>2</pitch>
<x>10</x> <charset>0</charset>
<y>100</y> </font>
<height>15</height> <background>
<width>100</width> <mode>2</mode>
<html> <color>1073741824</color>
<valueishtml>0</valueishtml> </background>
</html> </GroupBox>
<name>cust_code_t</name> <TextObject>
<visible>1</visible> <band>Detail</band>
<font> <alignment>1</alignment>
<face>Times New Roman</face> <text>Add Date:</text>
<height>-10</height> <border>2</border>
<weight>400</weight> <color>33554432</color>
<family>1</family> <x>91</x>
<pitch>2</pitch> <y>181</y>
<charset>0</charset> <height>16</height>
</font> <width>96</width>
<background> <html>
<mode>2</mode> <valueishtml>0</valueishtml>
<color>79741120</color> </html>
</background> <name>add_date_t</name>
</TextObject> <visible>1</visible>
<TextObject> <font>
<band>Detail</band> <face>Arial</face>
<alignment>1</alignment> <height>-10</height>
<text>Stockist Name</text> <weight>400</weight>
<border>0</border> <family>2</family>
<color>0</color> <pitch>2</pitch>
<x>60</x> <charset>0</charset>
<y>200</y> </font>
<height>15</height> <background>
<width>500</width> <mode>1</mode>
<html> <color>536870912</color>
<valueishtml>0</valueishtml> </background>
</html> </TextObject>
<name>stock_cust_name_t</name> <ColumnObject>
<visible>1</visible> <band>Detail</band>
<font> <id>4</id>
<face>Times New Roman</face> <alignment>0</alignment>
<height>-10</height> <tabsequence>40</tabsequence>
<weight>400</weight> <border>2</border>
<family>1</family> <color>33554432</color>
<pitch>2</pitch> <x>191</x>
<charset>0</charset> <y>181</y>
</font> <height>19</height>
<background> <width>132</width>
<mode>2</mode> <format>[shortdate] [time]</format>
<color>79741120</color> <html>
</background> <valueishtml>0</valueishtml>
</TextObject> </html>
<TextObject> <name>add_date</name>
<band>Detail</band> <visible>1</visible>
<alignment>1</alignment> <EditStyle style="edit">
<text>Hospital Name</text> <limit>0</limit>
<border>0</border> <case>any</case>
<color>0</color> <focusrectangle>no</focusrectangle>
<x>40</x> <autoselect>yes</autoselect>
<y>300</y> <autohscroll>yes</autohscroll>
<height>15</height> <imemode>0</imemode>
<width>500</width> </EditStyle>
<html> <font>
<valueishtml>0</valueishtml> <face>Arial</face>
</html> <height>-10</height>
<name>hosp_name_t</name> <weight>400</weight>
<visible>1</visible> <family>2</family>
<font> <pitch>2</pitch>
<face>Times New Roman</face> <charset>0</charset>
<height>-10</height> </font>
<weight>400</weight> <background>
<family>1</family> <mode>1</mode>
<pitch>2</pitch> <color>536870912</color>
<charset>0</charset> </background>
</font> </ColumnObject>
<background> <TextObject>
<mode>2</mode> <band>Detail</band>
<color>79741120</color> <alignment>1</alignment>
</background> <text>Add User:</text>
</TextObject> <border>2</border>
<TextObject> <color>33554432</color>
<band>Detail</band> <x>91</x>
<alignment>1</alignment> <y>215</y>
<text>Distributor Code</text> <height>16</height>
<border>0</border> <width>96</width>
<color>0</color> <html>
<x>30</x> <valueishtml>0</valueishtml>
<y>400</y> </html>
<height>15</height> <name>add_user_t</name>
<width>100</width> <visible>1</visible>
<html> <font>
<valueishtml>0</valueishtml> <face>Arial</face>
</html> <height>-10</height>
<name>cust_code__dist_t</name> <weight>400</weight>
<visible>1</visible> <family>2</family>
<font> <pitch>2</pitch>
<face>Times New Roman</face> <charset>0</charset>
<height>-10</height> </font>
<weight>400</weight> <background>
<family>1</family> <mode>1</mode>
<pitch>2</pitch> <color>536870912</color>
<charset>0</charset> </background>
</font> </TextObject>
<background> <ColumnObject>
<mode>2</mode> <band>Detail</band>
<color>79741120</color> <id>5</id>
</background> <alignment>0</alignment>
</TextObject> <tabsequence>50</tabsequence>
<TextObject> <border>2</border>
<band>Detail</band> <color>33554432</color>
<alignment>1</alignment> <x>191</x>
<text>Hospital City</text> <y>215</y>
<border>0</border> <height>19</height>
<color>0</color> <width>66</width>
<x>50</x> <format>[general]</format>
<y>500</y> <html>
<height>15</height> <valueishtml>0</valueishtml>
<width>500</width> </html>
<html> <name>add_user</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <EditStyle style="edit">
<name>city_t</name> <limit>10</limit>
<visible>1</visible> <case>any</case>
<font> <focusrectangle>no</focusrectangle>
<face>Times New Roman</face> <autoselect>yes</autoselect>
<height>-10</height> <autohscroll>yes</autohscroll>
<weight>400</weight> <imemode>0</imemode>
<family>1</family> </EditStyle>
<pitch>2</pitch> <font>
<charset>0</charset> <face>Arial</face>
</font> <height>-10</height>
<background> <weight>400</weight>
<mode>2</mode> <family>2</family>
<color>79741120</color> <pitch>2</pitch>
</background> <charset>0</charset>
</TextObject> </font>
<TextObject> <background>
<band>Detail</band> <mode>1</mode>
<alignment>1</alignment> <color>536870912</color>
<text>Distributor Name</text> </background>
<border>0</border> </ColumnObject>
<color>0</color> <TextObject>
<x>70</x> <band>Detail</band>
<y>600</y> <alignment>1</alignment>
<height>15</height> <text>Add Term:</text>
<width>500</width> <border>2</border>
<html> <color>33554432</color>
<valueishtml>0</valueishtml> <x>91</x>
</html> <y>249</y>
<name>dist_cust_name_t</name> <height>16</height>
<visible>1</visible> <width>96</width>
<font> <html>
<face>Times New Roman</face> <valueishtml>0</valueishtml>
<height>-10</height> </html>
<weight>400</weight> <name>add_term_t</name>
<family>1</family> <visible>1</visible>
<pitch>2</pitch> <font>
<charset>0</charset> <face>Arial</face>
</font> <height>-10</height>
<background> <weight>400</weight>
<mode>2</mode> <family>2</family>
<color>79741120</color> <pitch>2</pitch>
</background> <charset>0</charset>
</TextObject> </font>
<TextObject> <background>
<band>Detail</band> <mode>1</mode>
<alignment>1</alignment> <color>536870912</color>
<text>Stockist Code</text> </background>
<border>0</border> </TextObject>
<color>0</color> <ColumnObject>
<x>20</x> <band>Detail</band>
<y>700</y> <id>6</id>
<height>15</height> <alignment>0</alignment>
<width>100</width> <tabsequence>60</tabsequence>
<html> <border>2</border>
<valueishtml>0</valueishtml> <color>33554432</color>
</html> <x>191</x>
<name>cust_code__stk_t</name> <y>249</y>
<visible>1</visible> <height>19</height>
<font> <width>96</width>
<face>Times New Roman</face> <format>[general]</format>
<height>-10</height> <html>
<weight>400</weight> <valueishtml>0</valueishtml>
<family>1</family> </html>
<pitch>2</pitch> <name>add_term</name>
<charset>0</charset> <visible>1</visible>
</font> <EditStyle style="edit">
<background> <limit>15</limit>
<mode>2</mode> <case>any</case>
<color>79741120</color> <focusrectangle>no</focusrectangle>
</background> <autoselect>yes</autoselect>
</TextObject> <autohscroll>yes</autohscroll>
<TextObject> <imemode>0</imemode>
<band>Detail</band> </EditStyle>
<alignment>1</alignment> <font>
<text>Distributor Site</text> <face>Arial</face>
<border>0</border> <height>-10</height>
<color>0</color> <weight>400</weight>
<x>80</x> <family>2</family>
<y>800</y> <pitch>2</pitch>
<height>15</height> <charset>0</charset>
<width>300</width> </font>
<html> <background>
<valueishtml>0</valueishtml> <mode>1</mode>
</html> <color>536870912</color>
<name>site_code__pbus_t</name> </background>
<visible>1</visible> </ColumnObject>
<font> <TextObject>
<face>Times New Roman</face> <band>Detail</band>
<height>-10</height> <alignment>1</alignment>
<weight>400</weight> <text>Chg Date:</text>
<family>1</family> <border>2</border>
<pitch>2</pitch> <color>33554432</color>
<charset>0</charset> <x>91</x>
</font> <y>283</y>
<background> <height>16</height>
<mode>2</mode> <width>96</width>
<color>79741120</color> <html>
</background> <valueishtml>0</valueishtml>
</TextObject> </html>
<TextObject> <name>chg_date_t</name>
<band>Detail</band> <visible>1</visible>
<alignment>1</alignment> <font>
<text>Add Date</text> <face>Arial</face>
<border>0</border> <height>-10</height>
<color>0</color> <weight>400</weight>
<x>90</x> <family>2</family>
<y>900</y> <pitch>2</pitch>
<height>15</height> <charset>0</charset>
<width>50</width> </font>
<html> <background>
<valueishtml>0</valueishtml> <mode>1</mode>
</html> <color>536870912</color>
<name>add_date_t</name> </background>
<visible>1</visible> </TextObject>
<font> <ColumnObject>
<face>Times New Roman</face> <band>Detail</band>
<height>-10</height> <id>7</id>
<weight>400</weight> <alignment>0</alignment>
<family>1</family> <tabsequence>70</tabsequence>
<pitch>2</pitch> <border>2</border>
<charset>0</charset> <color>33554432</color>
</font> <x>191</x>
<background> <y>283</y>
<mode>2</mode> <height>19</height>
<color>79741120</color> <width>132</width>
</background> <format>[shortdate] [time]</format>
</TextObject> <html>
<TextObject> <valueishtml>0</valueishtml>
<band>Detail</band> </html>
<alignment>1</alignment> <name>chg_date</name>
<text>Add User</text> <visible>1</visible>
<border>0</border> <EditStyle style="edit">
<color>0</color> <limit>0</limit>
<x>100</x> <case>any</case>
<y>1000</y> <focusrectangle>no</focusrectangle>
<height>15</height> <autoselect>yes</autoselect>
<width>100</width> <autohscroll>yes</autohscroll>
<html> <imemode>0</imemode>
<valueishtml>0</valueishtml> </EditStyle>
</html> <font>
<name>add_user_t</name> <face>Arial</face>
<visible>1</visible> <height>-10</height>
<font> <weight>400</weight>
<face>Times New Roman</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>1</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>536870912</color>
<background> </background>
<mode>2</mode> </ColumnObject>
<color>79741120</color> <TextObject>
</background> <band>Detail</band>
</TextObject> <alignment>1</alignment>
<TextObject> <text>Chg User:</text>
<band>Detail</band> <border>2</border>
<alignment>1</alignment> <color>33554432</color>
<text>Add Terminal</text> <x>91</x>
<border>0</border> <y>317</y>
<color>0</color> <height>16</height>
<x>110</x> <width>96</width>
<y>1100</y> <html>
<height>15</height> <valueishtml>0</valueishtml>
<width>150</width> </html>
<html> <name>chg_user_t</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>add_term_t</name> <face>Arial</face>
<visible>1</visible> <height>-10</height>
<font> <weight>400</weight>
<face>Times New Roman</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>1</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>536870912</color>
<background> </background>
<mode>2</mode> </TextObject>
<color>79741120</color> <ColumnObject>
</background> <band>Detail</band>
</TextObject> <id>8</id>
<TextObject> <alignment>0</alignment>
<band>Detail</band> <tabsequence>80</tabsequence>
<alignment>1</alignment> <border>2</border>
<text>Change Date</text> <color>33554432</color>
<border>0</border> <x>191</x>
<color>0</color> <y>317</y>
<x>120</x> <height>19</height>
<y>1200</y> <width>66</width>
<height>15</height> <format>[general]</format>
<width>50</width> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>chg_user</name>
<name>chg_date_t</name> <visible>1</visible>
<visible>1</visible> <EditStyle style="edit">
<font> <limit>10</limit>
<face>Times New Roman</face> <case>any</case>
<height>-10</height> <focusrectangle>no</focusrectangle>
<weight>400</weight> <autoselect>yes</autoselect>
<family>1</family> <autohscroll>yes</autohscroll>
<pitch>2</pitch> <imemode>0</imemode>
<charset>0</charset> </EditStyle>
</font> <font>
<background> <face>Arial</face>
<mode>2</mode> <height>-10</height>
<color>79741120</color> <weight>400</weight>
</background> <family>2</family>
</TextObject> <pitch>2</pitch>
<TextObject> <charset>0</charset>
<band>Detail</band> </font>
<alignment>1</alignment> <background>
<text>Change User</text> <mode>1</mode>
<border>0</border> <color>536870912</color>
<color>0</color> </background>
<x>130</x> </ColumnObject>
<y>1300</y> <TextObject>
<height>15</height> <band>Detail</band>
<width>100</width> <alignment>1</alignment>
<html> <text>Chg Term:</text>
<valueishtml>0</valueishtml> <border>2</border>
</html> <color>33554432</color>
<name>chg_user_t</name> <x>91</x>
<visible>1</visible> <y>351</y>
<font> <height>16</height>
<face>Times New Roman</face> <width>96</width>
<height>-10</height> <html>
<weight>400</weight> <valueishtml>0</valueishtml>
<family>1</family> </html>
<pitch>2</pitch> <name>chg_term_t</name>
<charset>0</charset> <visible>1</visible>
</font> <font>
<background> <face>Arial</face>
<mode>2</mode> <height>-10</height>
<color>79741120</color> <weight>400</weight>
</background> <family>2</family>
</TextObject> <pitch>2</pitch>
<TextObject> <charset>0</charset>
<band>Detail</band> </font>
<alignment>1</alignment> <background>
<text>Change Terminal</text> <mode>1</mode>
<border>0</border> <color>536870912</color>
<color>0</color> </background>
<x>140</x> </TextObject>
<y>1400</y> <ColumnObject>
<height>15</height> <band>Detail</band>
<width>150</width> <id>9</id>
<html> <alignment>0</alignment>
<valueishtml>0</valueishtml> <tabsequence>90</tabsequence>
</html> <border>2</border>
<name>chg_term_t</name> <color>33554432</color>
<visible>1</visible> <x>191</x>
<font> <y>351</y>
<face>Times New Roman</face> <height>19</height>
<height>-10</height> <width>96</width>
<weight>400</weight> <format>[general]</format>
<family>1</family> <html>
<pitch>2</pitch> <valueishtml>0</valueishtml>
<charset>0</charset> </html>
</font> <name>chg_term</name>
<background> <visible>1</visible>
<mode>2</mode> <EditStyle style="edit">
<color>79741120</color> <limit>15</limit>
</background> <case>any</case>
</TextObject> <focusrectangle>no</focusrectangle>
<ColumnObject> <autoselect>yes</autoselect>
<band>Detail</band> <autohscroll>yes</autohscroll>
<id>2</id> <imemode>0</imemode>
<alignment>0</alignment> </EditStyle>
<tabsequence>10</tabsequence> <font>
<border>5</border> <face>Arial</face>
<color>0</color> <height>-10</height>
<x>10</x> <weight>400</weight>
<y>100</y> <family>2</family>
<height>15</height> <pitch>2</pitch>
<width>100</width> <charset>0</charset>
<format>[general]</format> </font>
<html> <background>
<valueishtml>0</valueishtml> <mode>1</mode>
</html> <color>536870912</color>
<name>cust_code</name> </background>
<visible>1</visible> </ColumnObject>
<EditStyle style="edit"> <TextObject>
<limit>10</limit> <band>Detail</band>
<case>upper</case> <alignment>1</alignment>
<focusrectangle>no</focusrectangle> <text>Distributor :</text>
<autoselect>yes</autoselect> <border>2</border>
<imemode>0</imemode> <color>33554432</color>
<required>yes</required> <x>91</x>
</EditStyle> <y>104</y>
<font> <height>16</height>
<face>Times New Roman</face> <width>96</width>
<height>-10</height> <html>
<weight>400</weight> <valueishtml>0</valueishtml>
<family>1</family> </html>
<pitch>2</pitch> <name>cust_code__dist_t</name>
<charset>0</charset> <visible>1</visible>
</font> <font>
<background> <face>Arial</face>
<mode>2</mode> <height>-10</height>
<color>16777215</color> <weight>400</weight>
</background> <family>2</family>
</ColumnObject> <pitch>2</pitch>
<ColumnObject> <charset>0</charset>
<band>Detail</band> </font>
<id>2</id> <background>
<alignment>0</alignment> <mode>1</mode>
<tabsequence>32766</tabsequence> <color>536870912</color>
<border>5</border> </background>
<color>0</color> </TextObject>
<x>60</x> <ColumnObject>
<y>200</y> <band>Detail</band>
<height>15</height> <id>3</id>
<width>500</width> <alignment>0</alignment>
<format>[general]</format> <tabsequence>30</tabsequence>
<html> <border>2</border>
<valueishtml>0</valueishtml> <color>33554432</color>
</html> <x>191</x>
<name>stock_cust_name</name> <y>104</y>
<visible>1</visible> <height>16</height>
<EditStyle style="edit"> <width>106</width>
<limit>100</limit> <format>[general]</format>
<case>upper</case> <html>
<focusrectangle>no</focusrectangle> <valueishtml>0</valueishtml>
<autoselect>yes</autoselect> </html>
<imemode>0</imemode> <name>cust_code__dist</name>
<visible>1</visible>
</EditStyle> <EditStyle style="edit">
<font> <limit>10</limit>
<face>Times New Roman</face> <case>any</case>
<height>-10</height> <focusrectangle>no</focusrectangle>
<weight>400</weight> <autoselect>yes</autoselect>
<family>1</family> <autohscroll>yes</autohscroll>
<pitch>2</pitch> <imemode>0</imemode>
<charset>0</charset> </EditStyle>
</font> <font>
<background> <face>Arial</face>
<mode>2</mode> <height>-10</height>
<color>16777215</color> <weight>400</weight>
</background> <family>2</family>
</ColumnObject> <pitch>2</pitch>
<ColumnObject> <charset>0</charset>
<band>Detail</band> </font>
<id>2</id> <background>
<alignment>0</alignment> <mode>1</mode>
<tabsequence>32766</tabsequence> <color>536870912</color>
<border>5</border> </background>
<color>0</color> </ColumnObject>
<x>40</x> <TextObject>
<y>300</y> <band>Detail</band>
<height>15</height> <alignment>1</alignment>
<width>500</width> <text>Stockist :</text>
<format>[general]</format> <border>2</border>
<html> <color>33554432</color>
<valueishtml>0</valueishtml> <x>91</x>
</html> <y>73</y>
<name>hosp_name</name> <height>16</height>
<visible>1</visible> <width>96</width>
<EditStyle style="edit"> <html>
<limit>100</limit> <valueishtml>0</valueishtml>
<case>upper</case> </html>
<focusrectangle>no</focusrectangle> <name>cust_code__stk_t</name>
<autoselect>yes</autoselect> <visible>1</visible>
<imemode>0</imemode> <font>
<face>Arial</face>
</EditStyle> <height>-10</height>
<font> <weight>400</weight>
<face>Times New Roman</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>1</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>536870912</color>
<background> </background>
<mode>2</mode> </TextObject>
<color>16777215</color> <ColumnObject>
</background> <band>Detail</band>
</ColumnObject> <id>2</id>
<ColumnObject> <alignment>0</alignment>
<band>Detail</band> <tabsequence>20</tabsequence>
<id>2</id> <border>2</border>
<alignment>0</alignment> <color>33554432</color>
<tabsequence>20</tabsequence> <x>191</x>
<border>5</border> <y>73</y>
<color>0</color> <height>16</height>
<x>30</x> <width>106</width>
<y>400</y> <format>[general]</format>
<height>15</height> <html>
<width>100</width> <valueishtml>0</valueishtml>
<format>[general]</format> </html>
<html> <name>cust_code__stk</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <EditStyle style="edit">
<name>cust_code__dist</name> <limit>10</limit>
<visible>1</visible> <case>any</case>
<EditStyle style="edit"> <focusrectangle>no</focusrectangle>
<limit>10</limit> <autoselect>yes</autoselect>
<case>upper</case> <autohscroll>yes</autohscroll>
<focusrectangle>no</focusrectangle> <imemode>0</imemode>
<autoselect>yes</autoselect> </EditStyle>
<imemode>0</imemode> <font>
<required>yes</required> <face>Arial</face>
</EditStyle> <height>-10</height>
<font> <weight>400</weight>
<face>Times New Roman</face> <family>2</family>
<height>-10</height> <pitch>2</pitch>
<weight>400</weight> <charset>0</charset>
<family>1</family> </font>
<pitch>2</pitch> <background>
<charset>0</charset> <mode>1</mode>
</font> <color>536870912</color>
<background> </background>
<mode>2</mode> </ColumnObject>
<color>16777215</color> <TextObject>
</background> <band>Detail</band>
</ColumnObject> <alignment>1</alignment>
<ColumnObject> <text>Customer :</text>
<band>Detail</band> <border>2</border>
<id>2</id> <color>33554432</color>
<alignment>0</alignment> <x>91</x>
<tabsequence>32766</tabsequence> <y>36</y>
<border>5</border> <height>16</height>
<color>0</color> <width>96</width>
<x>50</x> <html>
<y>500</y> <valueishtml>0</valueishtml>
<height>15</height> </html>
<width>500</width> <name>cust_code_t</name>
<format>[general]</format> <visible>1</visible>
<html> <font>
<valueishtml>0</valueishtml> <face>Arial</face>
</html> <height>-10</height>
<name>city</name> <weight>400</weight>
<visible>1</visible> <family>2</family>
<EditStyle style="edit"> <pitch>2</pitch>
<limit>50</limit> <charset>0</charset>
<case>upper</case> </font>
<focusrectangle>no</focusrectangle> <background>
<autoselect>yes</autoselect> <mode>1</mode>
<imemode>0</imemode> <color>536870912</color>
</background>
</EditStyle> </TextObject>
<font> <ColumnObject>
<face>Times New Roman</face> <band>Detail</band>
<height>-10</height> <id>1</id>
<weight>400</weight> <alignment>0</alignment>
<family>1</family> <tabsequence>10</tabsequence>
<pitch>2</pitch> <border>2</border>
<charset>0</charset> <color>33554432</color>
</font> <x>191</x>
<background> <y>36</y>
<mode>2</mode> <height>19</height>
<color>16777215</color> <width>106</width>
</background> <format>[general]</format>
</ColumnObject> <html>
<ColumnObject> <valueishtml>0</valueishtml>
<band>Detail</band> </html>
<id>2</id> <name>cust_code</name>
<alignment>0</alignment> <visible>1</visible>
<tabsequence>32766</tabsequence> <EditStyle style="edit">
<border>5</border> <limit>10</limit>
<color>0</color> <case>any</case>
<x>70</x> <focusrectangle>no</focusrectangle>
<y>600</y> <autoselect>yes</autoselect>
<height>15</height> <autohscroll>yes</autohscroll>
<width>500</width> <imemode>0</imemode>
<format>[general]</format> </EditStyle>
<html> <font>
<valueishtml>0</valueishtml> <face>Arial</face>
</html> <height>-10</height>
<name>dist_cust_name</name> <weight>400</weight>
<visible>1</visible> <family>2</family>
<EditStyle style="edit"> <pitch>2</pitch>
<limit>100</limit> <charset>0</charset>
<case>upper</case> </font>
<focusrectangle>no</focusrectangle> <background>
<autoselect>yes</autoselect> <mode>1</mode>
<imemode>0</imemode> <color>536870912</color>
</background>
</EditStyle> </ColumnObject>
<font> <ColumnObject>
<face>Times New Roman</face> <band>Detail</band>
<height>-10</height> <id>12</id>
<weight>400</weight> <alignment>0</alignment>
<family>1</family> <tabsequence>32766</tabsequence>
<pitch>2</pitch> <border>2</border>
<charset>0</charset> <color>33554432</color>
</font> <x>301</x>
<background> <y>73</y>
<mode>2</mode> <height>16</height>
<color>16777215</color> <width>130</width>
</background> <html>
</ColumnObject> <valueishtml>0</valueishtml>
<ColumnObject> </html>
<band>Detail</band> <name>cust_name_1</name>
<id>2</id> <visible>1</visible>
<alignment>0</alignment> <font>
<tabsequence>30</tabsequence> <face>Arial</face>
<border>5</border> <height>-10</height>
<color>0</color> <weight>400</weight>
<x>20</x> <family>2</family>
<y>700</y> <pitch>2</pitch>
<height>15</height> <charset>0</charset>
<width>100</width> </font>
<format>[general]</format> <background>
<html> <mode>1</mode>
<valueishtml>0</valueishtml> <color>536870912</color>
</html> </background>
<name>cust_code__stk</name> </ColumnObject>
<visible>1</visible> <ColumnObject>
<EditStyle style="edit"> <band>Detail</band>
<limit>10</limit> <id>13</id>
<case>upper</case> <alignment>0</alignment>
<focusrectangle>no</focusrectangle> <tabsequence>32766</tabsequence>
<autoselect>yes</autoselect> <border>2</border>
<imemode>0</imemode> <color>33554432</color>
<required>yes</required> <x>301</x>
</EditStyle> <y>104</y>
<font> <height>16</height>
<face>Times New Roman</face> <width>130</width>
<height>-10</height> <html>
<weight>400</weight> <valueishtml>0</valueishtml>
<family>1</family> </html>
<pitch>2</pitch> <name>cust_name_2</name>
<charset>0</charset> <visible>1</visible>
</font> <font>
<background> <face>Arial</face>
<mode>2</mode> <height>-10</height>
<color>16777215</color> <weight>400</weight>
</background> <family>2</family>
</ColumnObject> <pitch>2</pitch>
<ColumnObject> <charset>0</charset>
<band>Detail</band> </font>
<id>2</id> <background>
<alignment>0</alignment> <mode>1</mode>
<tabsequence>32766</tabsequence> <color>536870912</color>
<border>5</border> </background>
<color>0</color> </ColumnObject>
<x>80</x> <ColumnObject>
<y>800</y> <band>Detail</band>
<height>15</height> <id>10</id>
<width>300</width> <alignment>0</alignment>
<format>[general]</format> <tabsequence>32766</tabsequence>
<html> <border>2</border>
<valueishtml>0</valueishtml> <color>33554432</color>
</html> <x>301</x>
<name>site_code__pbus</name> <y>36</y>
<visible>1</visible> <height>19</height>
<EditStyle style="edit"> <width>130</width>
<limit>30</limit> <html>
<case>upper</case> <valueishtml>0</valueishtml>
<focusrectangle>no</focusrectangle> </html>
<autoselect>yes</autoselect> <name>cust_name</name>
<imemode>0</imemode> <visible>1</visible>
<font>
</EditStyle> <face>Arial</face>
<font> <height>-10</height>
<face>Times New Roman</face> <weight>400</weight>
<height>-10</height> <family>2</family>
<weight>400</weight> <pitch>2</pitch>
<family>1</family> <charset>0</charset>
<pitch>2</pitch> </font>
<charset>0</charset> <background>
</font> <mode>1</mode>
<background> <color>536870912</color>
<mode>2</mode> </background>
<color>16777215</color> </ColumnObject>
</background> <ColumnObject>
</ColumnObject> <band>Detail</band>
<ColumnObject> <id>11</id>
<band>Detail</band> <alignment>0</alignment>
<id>2</id> <tabsequence>32766</tabsequence>
<alignment>0</alignment> <border>2</border>
<tabsequence>32766</tabsequence> <color>33554432</color>
<border>5</border> <x>435</x>
<color>0</color> <y>36</y>
<x>90</x> <height>19</height>
<y>900</y> <width>118</width>
<height>15</height> <html>
<width>50</width> <valueishtml>0</valueishtml>
<format>dd/mm/yy</format> </html>
<html> <name>city</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>add_date</name> <face>Arial</face>
<visible>1</visible> <height>-10</height>
<EditStyle style="editmask"> <weight>400</weight>
<mask>dd/mm/yy</mask> <family>2</family>
<focusrectangle>no</focusrectangle> <pitch>2</pitch>
<imemode>0</imemode> <charset>0</charset>
</font>
</EditStyle> <background>
<font> <mode>1</mode>
<face>Times New Roman</face> <color>536870912</color>
<height>-10</height> </background>
<weight>400</weight> </ColumnObject>
<family>1</family> <ColumnObject>
<pitch>2</pitch> <band>Detail</band>
<charset>0</charset> <id>14</id>
</font> <alignment>0</alignment>
<background> <tabsequence>32766</tabsequence>
<mode>2</mode> <border>2</border>
<color>16777215</color> <color>33554432</color>
</background> <x>435</x>
</ColumnObject> <y>104</y>
<ColumnObject> <height>16</height>
<band>Detail</band> <width>118</width>
<id>2</id> <html>
<alignment>0</alignment> <valueishtml>0</valueishtml>
<tabsequence>32766</tabsequence> </html>
<border>5</border> <name>site_code__pbus</name>
<color>0</color> <visible>1</visible>
<x>100</x> <font>
<y>1000</y> <face>Arial</face>
<height>15</height> <height>-10</height>
<width>100</width> <weight>400</weight>
<format>[general]</format> <family>2</family>
<html> <pitch>2</pitch>
<valueishtml>0</valueishtml> <charset>0</charset>
</html> </font>
<name>add_user</name> <background>
<visible>1</visible> <mode>1</mode>
<EditStyle style="edit"> <color>536870912</color>
<limit>10</limit> </background>
<case>upper</case> </ColumnObject>
<focusrectangle>no</focusrectangle> <HtmlTable>
<autoselect>yes</autoselect> <border>1</border>
<imemode>0</imemode> </HtmlTable>
<HtmlGen>
</EditStyle> <clientevents>1</clientevents>
<font> <clientvalidation>1</clientvalidation>
<face>Times New Roman</face> <clientcomputedfields>1</clientcomputedfields>
<height>-10</height> <clientformatting>0</clientformatting>
<weight>400</weight> <clientscriptable>0</clientscriptable>
<family>1</family> <generatejavascript>1</generatejavascript>
<pitch>2</pitch> <encodeselflinkargs>1</encodeselflinkargs>
<charset>0</charset> <netscapelayers>0</netscapelayers>
</font> </HtmlGen>
<background> <Export.XML>
<mode>2</mode> <headgroups>1</headgroups>
<color>16777215</color> <includewhitespace>0</includewhitespace>
</background> <metadatatype>0</metadatatype>
</ColumnObject> <savemetadata>0</savemetadata>
<ColumnObject> </Export.XML>
<band>Detail</band> <Import.XML>
<id>2</id> </Import.XML>
<alignment>0</alignment> <Export.PDF>
<tabsequence>32766</tabsequence> <method>0</method>
<border>5</border> <distill.custompostscript>0</distill.custompostscript>
<color>0</color> <xslfop.print>0</xslfop.print>
<x>110</x> </Export.PDF>
<y>1100</y> </Sybase_eDataWindow>
<height>15</height>
<width>150</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>120</x>
<y>1200</y>
<height>15</height>
<width>50</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<focusrectangle>no</focusrectangle>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>130</x>
<y>1300</y>
<height>15</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>140</x>
<y>1400</y>
<height>15</height>
<width>150</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>5</x>
<y>100</y>
<height>419</height>
<width>651</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Other Information</text>
<border>2</border>
<color>33554432</color>
<x>5</x>
<y>900</y>
<height>419</height>
<width>651</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment