Commit 306ec825 authored by SABURI PATEKAR's avatar SABURI PATEKAR

TWASTA Screen Creation JSON FILES,SQL,XML

parent dd924ed0
{
"application": {
"id": "PSM",
"title": "Customer Preferred Distributor",
"description": "Application for mapping customers (hospitals) to their preferred stockists and distributors. Enables management of customer-stockist-distributor relationships for efficient supply chain operations.",
"icon": "business_center",
"theme_color": "#1976d2",
"group": "Sales & Distribution",
"generated": true
},
"navigation": [
{
"id": "Draft_Application.1",
"title": "Preferred Stockist Management",
"parent_id": "",
"icon_image": "supervisor_account",
"description": "Manage mapping of customers (hospitals) to stockists and distributors.",
"obj_name": "PSM_pref_stockist_mgmt",
"obj_type": "-",
"menu_path": "Draft_Application.1",
"functional_specs": "Parent navigation for all activities related to preferred stockist mapping."
},
{
"id": "Draft_Application.1.1",
"title": "Preferred Stockist Master",
"parent_id": "Draft_Application.1",
"icon_image": "assignment",
"description": "Create, view, edit, and delete preferred stockist mappings for hospitals.",
"obj_name": "customer_pref_dist",
"obj_type": "T",
"menu_path": "Draft_Application.1.1",
"functional_specs": "Allows users to search, add, edit, and delete preferred stockist mappings. Each mapping links a hospital (customer) to a stockist and distributor. Includes pophelp for selecting customer, stockist, and distributor codes. Displays computed columns for hospital name, city, stockist name, distributor name, and distributor site. Actions: search, add, edit, delete. Triggers: update-status, send-notification on changes.\nTable Name:CUSTOMER_PREF_DIST\t\t\t\t\nGroup Box Name: Basic\nColumn are included Basic Group Box Only stay below mention of column sequence:\n1\tCUST_CODE\tCHAR(10) PK\tHospital Code\tCustomer Code with Customer_Type as \"R\"\tPophelp\n2\tHOSP_NAME\t\t\tHospital Name\tCompute Columns\t\t\n3\tCITY\t\t\tHospital City\tCompute Columns\t\t\n4\tCUST_CODE__STK\tCHAR(10) PK\tStockist Code\tCustomer Code with Customer_Type as \"S\"\tPophelp\n5\tSTOCK_CUST_NAME\t\t\tStockist CUST_NAME Compute Columns\t\t\t\n6\tCUST_CODE__DIST\tCHAR(10)\tDistributor Code\tCustomer Code with Customer_Type as \"D\"\tPophelp\n7\tDIST_CUST_NAME\t\t\tDistributor CUST_NAME \tCompute Columns\t\t\n8\tSITE_CODE__PBUS\t\t\tDistributor Site (customer.SITE_CODE__PBUS)\tCompute Columns\t\t\ndon't add extra column in basic group box like status.\t\t\t\t\n\ncreate single form only and Basic Group Box Only.\nstay Basic form first add above columns after that stay computed columns after that add Other Information."
}
]
}
\ No newline at end of file
{
"transaction": {
"obj_name": "customer_pref_dist",
"sql_models": [
{
"sql_model": {
"actions": [
"search",
"add",
"edit",
"delete"
],
"columns": [
{
"column": {
"col_id": "1",
"col_type": "CHAR",
"db_name": "CUST_CODE",
"db_size": "10",
"default_function": "",
"default_value": "",
"descr": "Customer Code with Customer_Type as 'R'",
"edit_mask": {
"mask": "pophelp",
"values": []
},
"expression": "",
"format": "",
"group_name": "Basic",
"heading": "Hospital Code",
"hidden": "",
"item_change": "",
"key": true,
"lookup": "CUSTOMER(CUST_NAME, CUST_CODE)",
"mandatory": true,
"name": "CUST_CODE",
"protect": "",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": [
"must_exist_in('CUSTOMER')"
],
"width": 100,
"x": "10",
"y": 100
}
},
{
"column": {
"col_id": "2",
"col_type": "CHAR",
"db_name": "CUST_CODE__STK",
"db_size": "10",
"default_function": "",
"default_value": "",
"descr": "Customer Code with Customer_Type as 'S'",
"edit_mask": {
"mask": "pophelp",
"values": []
},
"expression": "",
"format": "",
"group_name": "Basic",
"heading": "Stockist Code",
"hidden": "",
"item_change": "",
"key": true,
"lookup": "CUSTOMER(CUST_NAME, CUST_CODE)",
"mandatory": true,
"name": "CUST_CODE__STK",
"protect": "",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": [
"must_exist_in('CUSTOMER')"
],
"width": 100,
"x": "20",
"y": 700
}
},
{
"column": {
"col_id": "3",
"col_type": "CHAR",
"db_name": "CUST_CODE__DIST",
"db_size": "10",
"default_function": "",
"default_value": "",
"descr": "Customer Code with Customer_Type as 'D'",
"edit_mask": {
"mask": "pophelp",
"values": []
},
"expression": "",
"format": "",
"group_name": "Basic",
"heading": "Distributor Code",
"hidden": "",
"item_change": "",
"key": false,
"lookup": "CUSTOMER(CUST_NAME, CUST_CODE)",
"mandatory": true,
"name": "CUST_CODE__DIST",
"protect": "",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": [
"must_exist_in('CUSTOMER')"
],
"width": 100,
"x": "30",
"y": 400
}
},
{
"column": {
"col_id": "4",
"col_type": "VARCHAR",
"db_name": "HOSP_NAME",
"db_size": "100",
"default_function": "",
"default_value": "",
"descr": "Hospital Name (from CUSTOMER)",
"edit_mask": "",
"expression": "",
"format": "",
"group_name": "Basic",
"heading": "Hospital Name",
"hidden": "",
"key": false,
"lookup": "",
"mandatory": false,
"name": "HOSP_NAME",
"protect": "1",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": "",
"width": 500,
"x": "40",
"y": 300
}
},
{
"column": {
"col_id": "5",
"col_type": "VARCHAR",
"db_name": "CITY",
"db_size": "50",
"default_function": "",
"default_value": "",
"descr": "Hospital City (from CUSTOMER)",
"edit_mask": "",
"expression": "",
"format": "",
"group_name": "Basic",
"heading": "Hospital City",
"hidden": "",
"key": false,
"lookup": "",
"mandatory": false,
"name": "CITY",
"protect": "1",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": "",
"width": 500,
"x": "50",
"y": 500
}
},
{
"column": {
"col_id": "6",
"col_type": "VARCHAR",
"db_name": "STOCK_CUST_NAME",
"db_size": "100",
"default_function": "",
"default_value": "",
"descr": "Stockist Name (from CUSTOMER)",
"edit_mask": "",
"expression": "",
"format": "",
"group_name": "Basic",
"heading": "Stockist Name",
"hidden": "",
"key": false,
"lookup": "",
"mandatory": false,
"name": "STOCK_CUST_NAME",
"protect": "1",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": "",
"width": 500,
"x": "60",
"y": 200
}
},
{
"column": {
"col_id": "7",
"col_type": "VARCHAR",
"db_name": "DIST_CUST_NAME",
"db_size": "100",
"default_function": "",
"default_value": "",
"descr": "Distributor Name (from CUSTOMER)",
"edit_mask": "",
"expression": "",
"format": "",
"group_name": "Basic",
"heading": "Distributor Name",
"hidden": "",
"key": false,
"lookup": "",
"mandatory": false,
"name": "DIST_CUST_NAME",
"protect": "1",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": "",
"width": 500,
"x": "70",
"y": 600
}
},
{
"column": {
"col_id": "8",
"col_type": "VARCHAR",
"db_name": "SITE_CODE__PBUS",
"db_size": "30",
"default_function": "",
"default_value": "",
"descr": "Distributor Site (from CUSTOMER)",
"edit_mask": "",
"expression": "",
"format": "",
"group_name": "Basic",
"heading": "Distributor Site",
"hidden": "",
"key": false,
"lookup": "",
"mandatory": false,
"name": "SITE_CODE__PBUS",
"protect": "1",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": "",
"width": 300,
"x": "80",
"y": 800
}
},
{
"column": {
"col_id": "9",
"col_type": "DATE",
"db_name": "ADD_DATE",
"db_size": "",
"default_function": "",
"default_value": "today()",
"descr": "Date of creation",
"edit_mask": "",
"expression": "",
"format": "",
"group_name": "Other Information",
"heading": "Add Date",
"hidden": "",
"key": false,
"lookup": "",
"mandatory": false,
"name": "ADD_DATE",
"protect": "1",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": "",
"width": 50,
"x": "90",
"y": 900
}
},
{
"column": {
"col_id": "10",
"col_type": "CHAR",
"db_name": "ADD_USER",
"db_size": "10",
"default_function": "",
"default_value": "logged_in_user()",
"descr": "User who created",
"edit_mask": "",
"expression": "",
"format": "",
"group_name": "Other Information",
"heading": "Add User",
"hidden": "",
"key": false,
"lookup": "",
"mandatory": false,
"name": "ADD_USER",
"protect": "1",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": "",
"width": 100,
"x": "100",
"y": 1000
}
},
{
"column": {
"col_id": "11",
"col_type": "VARCHAR",
"db_name": "ADD_TERM",
"db_size": "15",
"default_function": "",
"default_value": "logged_in_terminal()",
"descr": "Terminal used for creation",
"edit_mask": "",
"expression": "",
"format": "",
"group_name": "Other Information",
"heading": "Add Terminal",
"hidden": "",
"key": false,
"lookup": "",
"mandatory": false,
"name": "ADD_TERM",
"protect": "1",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": "",
"width": 150,
"x": "110",
"y": 1100
}
},
{
"column": {
"col_id": "12",
"col_type": "DATE",
"db_name": "CHG_DATE",
"db_size": "",
"default_function": "",
"default_value": "",
"descr": "Date of last change",
"edit_mask": "",
"expression": "",
"format": "",
"group_name": "Other Information",
"heading": "Change Date",
"hidden": "",
"key": false,
"lookup": "",
"mandatory": false,
"name": "CHG_DATE",
"protect": "1",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": "",
"width": 50,
"x": "120",
"y": 1200
}
},
{
"column": {
"col_id": "13",
"col_type": "CHAR",
"db_name": "CHG_USER",
"db_size": "10",
"default_function": "",
"default_value": "",
"descr": "User who last changed",
"edit_mask": "",
"expression": "",
"format": "",
"group_name": "Other Information",
"heading": "Change User",
"hidden": "",
"key": false,
"lookup": "",
"mandatory": false,
"name": "CHG_USER",
"protect": "1",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": "",
"width": 100,
"x": "130",
"y": 1300
}
},
{
"column": {
"col_id": "14",
"col_type": "VARCHAR",
"db_name": "CHG_TERM",
"db_size": "15",
"default_function": "",
"default_value": "",
"descr": "Terminal used for last change",
"edit_mask": "",
"expression": "",
"format": "",
"group_name": "Other Information",
"heading": "Change Terminal",
"hidden": "",
"key": false,
"lookup": "",
"mandatory": false,
"name": "CHG_TERM",
"protect": "1",
"table_display_name": "Preferred Stockist Mapping",
"table_name": "CUSTOMER_PREF_DIST",
"validations": "",
"width": 150,
"x": "140",
"y": 1400
}
}
],
"cross_updates": [
"business_logic('update_status','Update status in CUSTOMER_PREF_DIST on changes')",
"business_logic('send_notification','Send notification on add/edit/delete of preferred stockist mapping')"
],
"follow_up_actions": [
"on-add-edit,execute:business_logic('update_status','Update status in CUSTOMER_PREF_DIST on add/edit')",
"on-add-edit,execute:business_logic('send_notification','Send notification to relevant users on add/edit')",
"on-delete,execute:business_logic('send_notification','Send notification to relevant users on delete')"
],
"form_descr": "Create, view, edit, and delete preferred stockist mappings for hospitals.",
"form_no": "1",
"form_title": "Pref Stockist Map",
"joins": {
"join_predicates": {
"joins": [
{
"main_table": true,
"table": "CUSTOMER_PREF_DIST",
"table_descr": "Preferred Stockist Mapping"
},
{
"column": "CUST_CODE",
"join_column": "CUST_CODE",
"join_table": "CUSTOMER_PREF_DIST",
"join_type": "inner",
"main_table": false,
"table": "CUSTOMER",
"table_descr": "Hospital Master"
},
{
"column": "CUST_CODE",
"join_column": "CUST_CODE__STK",
"join_table": "CUSTOMER_PREF_DIST",
"join_type": "inner",
"main_table": false,
"table": "CUSTOMER",
"table_descr": "Stockist Master"
},
{
"column": "CUST_CODE",
"join_column": "CUST_CODE__DIST",
"join_table": "CUSTOMER_PREF_DIST",
"join_type": "inner",
"main_table": false,
"table": "CUSTOMER",
"table_descr": "Distributor Master"
}
]
}
}
}
}
],
"actions": []
}
}
\ No newline at end of file
Twasta Screen creation Queries:
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 ','RFQ',5,0,0,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 ('RFQ',5,0,0,0,0,'w_customer_pref_dist','Customer Preferred Distributor','Map Hospital to Stockist and Distributor','RFQ.5.0.0.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',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) values ('w_customer_pref_dist','Cust Pref Dist',null,null,null,null,null,null,'1','F',null,null,null,null,null,null,null,null,null,null,null,'T',null,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);
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) 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);
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 = ''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__STK','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);
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>79741120</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>523</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<name>cust_code</name>
<dbname>customer_pref_dist.cust_code</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
</table_column>
<table_column>
<type size="10">char</type>
<name>cust_code__stk</name>
<dbname>customer_pref_dist.cust_code__stk</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
</table_column>
<table_column>
<type size="10">char</type>
<name>cust_code__dist</name>
<dbname>customer_pref_dist.cust_code__dist</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="100">varchar</type>
<name>hosp_name</name>
<dbname>customer_pref_dist.hosp_name</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="50">varchar</type>
<name>city</name>
<dbname>customer_pref_dist.city</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="100">varchar</type>
<name>stock_cust_name</name>
<dbname>customer_pref_dist.stock_cust_name</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="100">varchar</type>
<name>dist_cust_name</name>
<dbname>customer_pref_dist.dist_cust_name</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="30">varchar</type>
<name>site_code__pbus</name>
<dbname>customer_pref_dist.site_code__pbus</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type>datetime</type>
<name>add_date</name>
<dbname>customer_pref_dist.add_date</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<initial>today()</initial>
</table_column>
<table_column>
<type size="10">char</type>
<name>add_user</name>
<dbname>customer_pref_dist.add_user</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<initial>logged_in_user()</initial>
</table_column>
<table_column>
<type size="15">varchar</type>
<name>add_term</name>
<dbname>customer_pref_dist.add_term</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<initial>logged_in_terminal()</initial>
</table_column>
<table_column>
<type>datetime</type>
<name>chg_date</name>
<dbname>customer_pref_dist.chg_date</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="10">char</type>
<name>chg_user</name>
<dbname>customer_pref_dist.chg_user</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="15">varchar</type>
<name>chg_term</name>
<dbname>customer_pref_dist.chg_term</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<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
FROM CUSTOMER_PREF_DIST
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>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<update>customer_pref_dist</update>
</TableDefinition><TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Hospital Code</text>
<border>0</border>
<color>0</color>
<x>10</x>
<y>100</y>
<height>15</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Stockist Code</text>
<border>0</border>
<color>0</color>
<x>20</x>
<y>700</y>
<height>15</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__stk_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Distributor Code</text>
<border>0</border>
<color>0</color>
<x>30</x>
<y>400</y>
<height>15</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dist_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Hospital Name</text>
<border>0</border>
<color>0</color>
<x>40</x>
<y>300</y>
<height>15</height>
<width>500</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>hosp_name_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Hospital City</text>
<border>0</border>
<color>0</color>
<x>50</x>
<y>500</y>
<height>15</height>
<width>500</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Stockist Name</text>
<border>0</border>
<color>0</color>
<x>60</x>
<y>200</y>
<height>15</height>
<width>500</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_cust_name_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Distributor Name</text>
<border>0</border>
<color>0</color>
<x>70</x>
<y>600</y>
<height>15</height>
<width>500</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dist_cust_name_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Distributor Site</text>
<border>0</border>
<color>0</color>
<x>80</x>
<y>800</y>
<height>15</height>
<width>300</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__pbus_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Add Date</text>
<border>0</border>
<color>0</color>
<x>90</x>
<y>900</y>
<height>15</height>
<width>50</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_date_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Add User</text>
<border>0</border>
<color>0</color>
<x>100</x>
<y>1000</y>
<height>15</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_user_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Add Terminal</text>
<border>0</border>
<color>0</color>
<x>110</x>
<y>1100</y>
<height>15</height>
<width>150</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_term_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Date</text>
<border>0</border>
<color>0</color>
<x>120</x>
<y>1200</y>
<height>15</height>
<width>50</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change User</text>
<border>0</border>
<color>0</color>
<x>130</x>
<y>1300</y>
<height>15</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Terminal</text>
<border>0</border>
<color>0</color>
<x>140</x>
<y>1400</y>
<height>15</height>
<width>150</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>20</x>
<y>100</y>
<height>15</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
<required>yes</required>
</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>20</tabsequence>
<border>5</border>
<color>0</color>
<x>30</x>
<y>700</y>
<height>15</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__stk</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
<required>yes</required>
</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>30</tabsequence>
<border>5</border>
<color>0</color>
<x>40</x>
<y>400</y>
<height>15</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dist</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
<required>yes</required>
</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>50</x>
<y>300</y>
<height>15</height>
<width>500</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>hosp_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>100</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>60</x>
<y>500</y>
<height>15</height>
<width>500</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>50</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>70</x>
<y>200</y>
<height>15</height>
<width>500</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>100</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>80</x>
<y>600</y>
<height>15</height>
<width>500</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dist_cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>100</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>90</x>
<y>800</y>
<height>15</height>
<width>300</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__pbus</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>30</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>100</x>
<y>900</y>
<height>15</height>
<width>50</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_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>110</x>
<y>1000</y>
<height>15</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_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>120</x>
<y>1100</y>
<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>130</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>140</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>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"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>79741120</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>523</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<name>cust_code</name>
<dbname>customer_pref_dist.cust_code</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
</table_column>
<table_column>
<type size="100">varchar</type>
<name>stock_cust_name</name>
<dbname>customer_pref_dist.stock_cust_name</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="100">varchar</type>
<name>hosp_name</name>
<dbname>customer_pref_dist.hosp_name</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="10">char</type>
<name>cust_code__dist</name>
<dbname>customer_pref_dist.cust_code__dist</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="50">varchar</type>
<name>city</name>
<dbname>customer_pref_dist.city</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="100">varchar</type>
<name>dist_cust_name</name>
<dbname>customer_pref_dist.dist_cust_name</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="10">char</type>
<name>cust_code__stk</name>
<dbname>customer_pref_dist.cust_code__stk</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
</table_column>
<table_column>
<type size="30">varchar</type>
<name>site_code__pbus</name>
<dbname>customer_pref_dist.site_code__pbus</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type>datetime</type>
<name>add_date</name>
<dbname>customer_pref_dist.add_date</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<initial>today()</initial>
</table_column>
<table_column>
<type size="10">char</type>
<name>add_user</name>
<dbname>customer_pref_dist.add_user</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<initial>logged_in_user()</initial>
</table_column>
<table_column>
<type size="15">varchar</type>
<name>add_term</name>
<dbname>customer_pref_dist.add_term</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<initial>logged_in_terminal()</initial>
</table_column>
<table_column>
<type>datetime</type>
<name>chg_date</name>
<dbname>customer_pref_dist.chg_date</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="10">char</type>
<name>chg_user</name>
<dbname>customer_pref_dist.chg_user</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<table_column>
<type size="15">varchar</type>
<name>chg_term</name>
<dbname>customer_pref_dist.chg_term</dbname>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
</table_column>
<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
FROM CUSTOMER_PREF_DIST
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>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<update>customer_pref_dist</update><argument>
<table_name>customer_pref_dist</table_name>
<name>cust_code</name>
<type>string</type>
</argument>
<argument>
<table_name>customer_pref_dist</table_name>
<name>cust_code__stk</name>
<type>string</type>
</argument>
</TableDefinition><TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Hospital Code</text>
<border>0</border>
<color>0</color>
<x>10</x>
<y>100</y>
<height>15</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Stockist Name</text>
<border>0</border>
<color>0</color>
<x>60</x>
<y>200</y>
<height>15</height>
<width>500</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_cust_name_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Hospital Name</text>
<border>0</border>
<color>0</color>
<x>40</x>
<y>300</y>
<height>15</height>
<width>500</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>hosp_name_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Distributor Code</text>
<border>0</border>
<color>0</color>
<x>30</x>
<y>400</y>
<height>15</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dist_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Hospital City</text>
<border>0</border>
<color>0</color>
<x>50</x>
<y>500</y>
<height>15</height>
<width>500</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Distributor Name</text>
<border>0</border>
<color>0</color>
<x>70</x>
<y>600</y>
<height>15</height>
<width>500</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dist_cust_name_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Stockist Code</text>
<border>0</border>
<color>0</color>
<x>20</x>
<y>700</y>
<height>15</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__stk_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Distributor Site</text>
<border>0</border>
<color>0</color>
<x>80</x>
<y>800</y>
<height>15</height>
<width>300</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__pbus_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Add Date</text>
<border>0</border>
<color>0</color>
<x>90</x>
<y>900</y>
<height>15</height>
<width>50</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_date_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Add User</text>
<border>0</border>
<color>0</color>
<x>100</x>
<y>1000</y>
<height>15</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_user_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Add Terminal</text>
<border>0</border>
<color>0</color>
<x>110</x>
<y>1100</y>
<height>15</height>
<width>150</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_term_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Date</text>
<border>0</border>
<color>0</color>
<x>120</x>
<y>1200</y>
<height>15</height>
<width>50</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change User</text>
<border>0</border>
<color>0</color>
<x>130</x>
<y>1300</y>
<height>15</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Terminal</text>
<border>0</border>
<color>0</color>
<x>140</x>
<y>1400</y>
<height>15</height>
<width>150</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>10</x>
<y>100</y>
<height>15</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
<required>yes</required>
</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>60</x>
<y>200</y>
<height>15</height>
<width>500</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>stock_cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>100</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>40</x>
<y>300</y>
<height>15</height>
<width>500</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>hosp_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>100</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>20</tabsequence>
<border>5</border>
<color>0</color>
<x>30</x>
<y>400</y>
<height>15</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dist</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
<required>yes</required>
</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>50</x>
<y>500</y>
<height>15</height>
<width>500</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>city</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>50</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>70</x>
<y>600</y>
<height>15</height>
<width>500</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dist_cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>100</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>30</tabsequence>
<border>5</border>
<color>0</color>
<x>20</x>
<y>700</y>
<height>15</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__stk</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<imemode>0</imemode>
<required>yes</required>
</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>80</x>
<y>800</y>
<height>15</height>
<width>300</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__pbus</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>30</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>90</x>
<y>900</y>
<height>15</height>
<width>50</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_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>100</x>
<y>1000</y>
<height>15</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>add_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>110</x>
<y>1100</y>
<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