newsisAP

43.82.124.62

admin/12345

lync账号:

[email protected]

ap\5109v20471

3E4r5t6y

host添加:

146.215.40.21 dev.ap-newsis.sony-asia.com

121.100.37.223 ap-newsis.sony-asia.com

dev环境:

146.215.42.8  dneadmin sony1234
/project/ibm/WebSphere/AppServer/profiles/AppSrv01/logs/server1/

tail -fn500  /project/ibm/WebSphere/AppServer/profiles/AppSrv01/logs/server1/SystemOut.log

tail -fn500  /project/ibm/WebSphere/AppServer/profiles/AppSrv01/logs/server1/SystemErr.log

/project/ibm/WebSphere/AppServer/profiles/AppSrv01/installedApps/gednis01Node01Cell/newsisAP_NZ_war.ear/newsisAP_NZ.war   --项目目录

/project/ibm/HTTPServer/newsis/newsisNZ --静态文件

http://dev.ap-newsis.sony-asia.com/FileSystem/filemanager.jsp?uploadflag=0&certPath=/project/ibm/WebSphere/AppServer/profiles/AppSrv01/installedApps/gednis01Node01Cell/newsisAP_NZ_war.ear/newsisAP_NZ.war --文件管理

https://146.215.42.8:9043/ibm/console/logon.jsp  --was页面

/software/ibm/dropzone

http://dev.ap-newsis.sony-asia.com/newsisNZ/index.jsp

https://dev.ap-newsis.sony-asia.com/newsisNZ/common/dicInit.jsp  --小工具

https://dev.ap-newsis.sony-asia.com/newsisNZ/  npc/tools/testInterface.jsp

https://dev.ap-newsis.sony-asia.com/common/demoJco.jsp --sap在线查看日志

//com

jdbc:oracle:thin:@146.215.42.8:1525:newsisdv

sisuser

qa环境:

146.215.111.98 dneadmin admin1234

/project/ibm/WebSphere/AppServer/profiles/AppSrv01/logs/newsis01/

tail -f500 /project/ibm/WebSphere/AppServer/profiles/AppSrv01/logs/newsis01/SystemOut.log

tail -f500 /project/ibm/WebSphere/AppServer/profiles/AppSrv01/logs/newsis01/SystemErr.log

tail -f /home/dneadmin/sea_info.log

/project/ibm/WebSphere/AppServer/profiles/AppSrv01/installedApps/geqnis02Cell01 --项目目录

https://qa.ap-newsis.sony-asia.com

User: Trang

PW: Tman_123

ssc账户:SSCNoel/Sony.1234

smtp:43.82.203.133

username=APses_AXUSER04s  
password=  [email protected]

pd环境:

https://ap-newsis.sony-asia.com/index.jsp

146.215.111.96 dneadmin admin1234

tail -f500 /product/ibm/WebSphere/AppServer/profiles/AppSrv01/logs/newsis01/SystemOut.log

tail -f500 /product/ibm/WebSphere/AppServer/profiles/AppSrv01/logs/newsis02/SystemOut.log

146.215.108.167 dneadmin admin1234

tail -f500 /product/ibm/WebSphere/AppServer/profiles/AppSrv02/logs/newsis04/SystemOut.log

tail -f500 /product/ibm/WebSphere/AppServer/profiles/AppSrv02/logs/newsis05/SystemOut.log

/product/ibm/WebSphere/AppServer/profiles/AppSrv01/logs/newsis01

/product/ibm/WebSphere/AppServer/profiles/AppSrv01/logs/newsis02

jdbc:oracle:thin:@146.215.108.154:1532:NEWSIS_PROD

//in

sisinappl

prd4livesisin

//wf

siscomappl

prd4livesiscom

//vn

sisvnappl

prd4livesisvn

jira问题:

http://43.82.112.16:8086/secure/IssueNavigator.jspa?mode=hide&requestId=10170

wuwj   123456

svn:  

https://ewv80401-svn.scm.sony.co.jp:8477/Z00080_NeWSIS

密码都是 q-w12345

吴伟杰:5109V20459  [email protected]

代码配置:

update ts_mail_config set ISSEND=1  //设置流程发邮件

ConstantInterface.java 接口配置

ts_npc_interface_run_config  npc接口配置表

npcInterface.xml  //37   //149  npc接口配置(true||false)

select * from ts_npc_if_column_format

select * from ts_npc_if_row_format    //接口txt对应文件位和栏位对应关系表

C:\Program Files\eclipse\incoming\SG\AUTO

npc 接口公用方法AppBaseGetImpl.java

禁止自动发邮件定时任务(多线程):ThreadWatchdog.java 注释掉checkAndDispatch方法里面

InterfaceRunningLog: InterfaceRunningLog.java 注释掉writeLog方法里面

注释掉xxxList:ControlAction.java //444

PTSI就是MY

修改国家:

Operate.java -- getAllCountryCode()

applicationContext.xml

web.xml

npcSpringBeans.xml

IN是印度

ID是印度尼西亚

npcPartPriceCommonServiceAD

========================标签======================

<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %>

<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> 
<%@ taglib uri=" http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ taglib uri= "/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>

<%@ taglib uri="/WEB-INF/tlds/common.tld" prefix="comtld" %>

<comtld:DropDownItemList value="" text="all"></comtld:DropDownItemList>

<comtld:DropDownList name="orderStatus" sysCode="ORDER_STATUS" etc="class=‘form‘"></comtld:DropDownList>

<comtld:DropDownList name="status" etc="class=‘form‘ style=‘width:170‘" sysCode="RUTURN_STUTAS" sysItems="S,J,L,R,A,Z,M,K,T" >

======================修改的配置文件=========================

hibernate-config-vietnam.xml     --都改完了

<!--add by wwj-->

<value>hbm/ASCVendorMaintainceForm.hbm.xml</value>

<value>hbm/IrisConfigureForm.hbm.xml</value>

<!--end by wwj-->

applicationContextVN.xml     --都改完了

<!-- add by wwj -->

<value>hbm3/ASCVendorMaintainceForm.hbm.xml</value>

<!-- end by wwj -->

===============================================

================= ASC&&SSC Vendor============================

ASCAndSSCVendorAction.java method=homePage

ascSscVendorList.jsp

===================ASC Manual RpOC============================

ascManualRpocAction.do?method=pageInit

ascManualRPOC.jsp

======================= ASC Manual RPSI==============================

Stock Management ---- NPC Incoming --- Npc Local Vendor Inbound

Local RPSI Inbound

localRpsiReceiveInboundAction.do?method=pageInit

ascManualRPSI.jsp

ascManualRPSI.js

===========================iris=========================

TS_IRIS_CONFIG

irisConfigureAction.do?method=initManager

irisConfigureManager.jsp

控制iris:

Y:IRIS -> change to Parts repair

N:Non-Parts repair

P:Product Exchange

ispart :partNo = "1"; //1==NPR

ispart :partNo = "2"; //2==PE

ispart :partNo = "3"; //3==PR 零件状态为issued,维修用零件了

根据modelCode(页面取值)和ispart在TS_IRIS_CONFIG表中获取CONTROL_CODE

//当为1的时候只控制condCode

//当为2的时候只控制condCode,defCode

//当为3的时候只控制symCode,secCode,repCode

//当为4的时候只控制symCode,defCode,secCode,repCode

其他走默认

合理搭配:

1和3

1和4

2和3

当为前面的时候考虑后面的情况组合:

1---3 4

2---3

3-- 1 2

4-- 1

1 Symptom Code

2 Condition Code

3 Section Code

4 Defect Code

5 Repair Code

DicInit.java method=getIrisCode()

CommonSearch.java method=IRIS_CONFIG_GET()

repairCDetail.jsp //大的维修页面

chartwo.jsp // iris页面

receive.jsp

CommonSearch.java IRIS_CODE_MAP_GET

/repairAction.do?method=repairDetail

//初始化iris页面

String[] arr = irisConfigureBo.getControlCode("1", rsf.getModelCode());

<div align="center" id="Layer9" style="position: (set页面)

RepairServiceForm

rsf.getModelCode()

RepairHandleAction

<jsp:include page="chartwo.jsp" flush="true"/>

modifyIRISStatus(){//页面add

resetIRISSelect()

irisChangeButtonClick(){ //判断是select 还是input

changePartNo() //ajax 去后台取数据

showIrisDialog( //小页面

resetIRISSelect(){ //下拉框

showIRISUpdate(//Edit页面

document.forms[0].irisInputPartCode.value

if(irisPartSelectDIV.style.display == "none")

irisConfigureBo

document.getElementById("conditionCodeId").setAttribute(‘disabled‘,‘‘);

document.getElementById("conditionCodeId2").setAttribute(‘disabled‘,‘‘);

document.getElementById("hcontrolCode").value

<input type="hidden" id="hcondCode"></input>

conditionCodeId

document.getElementById("conditionCodeId").value

document.getElementById("symptomCodeId").value

document.getElementById("defectCodeId").value

document.getElementById("sectionCodeId").value

document.getElementById("repairCodeId").value

PE CODE 18026221PE

REPAIR_CODE,SECTION_CODE,SYMPTOM_CODE,DEFECT_CODE,CONDITION_CODE

j40000170 4

j40000158 3

j40000160 2

j440000163 1

=======================isSSC===========================

charthr.jsp Estimation

EstimationAction

estimationList.jsp

estimationView.jsp

//判断是ASC还是SSC

CommonSearch cs = ((CommonSearch)SpringContextUtil.getBean("commonSearch"));

Long orgCode = getSessionContainer(request).getOrgCode();

boolean isSSC = cs.isSSC(orgCode);

<%@ include file="xxx.jsp"%>

URL 协议 方法 结果 类型 已接收 已花费 发起程序 等候‎‎ 开始‎‎ 请求‎‎ 响应‎‎ 已读取缓存‎‎ 差距‎‎

/newsisAP/ascBalanceConfirmAction.do?method=list&queryFlag=N&forward=ASCBalanceConfirmList&left=1&OWASP_CSRFTOKEN=0EAD-AE38-KFGH-737I-401D-8ID4-0OCH-XRZ1 HTTP POST 200 text/html 15.06 KB 125 ms 单击 2906 0 31 94 0 31

ASCBalanceConfirmAction

======================Credit Control=========================

--page OutBound

StockOutOperateAction.java judgeSalestatus

StockOutBo

failureSalestatus

stockOutOperateList.jsp

f_print()

function judgeSalestatus()       chkIdsNo

function pre_print(){

failureSalestatus.jsp

--Parts Sales List

sellRegisterSaleList.jsp

sellRegisterSaleListAction.do?method=sellRegisterSaleDetail

sellRegisterSaleDetailList.jsp

function creditStatus()

sellRegisterSaleListAction.do?method=creditStatus

creditStatus.jsp

=====================打印Form===========================

repaireForm:

repairDeliverCDetail.jsp

打单子

repairHandleAction.do?method=repairDeliverDetailSave

//判断是否为SSC

cn.com.sony.newsis.repair.form.RepairServiceForm    TD_SERVICE_FORM

REPAIR_TYPE

rsf.setCurrentStatus("D");

deliver -> repairDeliverDetailSave

reprint -> repairDeliverPrint

repairAction.do?method=repairDeliverDetail

userPay -> TAX Invoice

noUserPay -> Repair Certificate

http://www.blogjava.net/jjshcc/category/46277.html?Show=All

http://www.cnblogs.com/bastard/archive/2012/02/06/2340544.html

taxInvoicePrint.jsp

contractServiceJobAction.do?method=taxInvoicePrint

---------------------------------为上面取数据----------------

repairCDetail.jsp

<div align="center" id="Layer9"    --set页签

--1

SELECT ACCESSORY_LIST from TD_SERVICE_FORM

<div align="center" id="Layer1" --repair页签

--2

SELECT CONFIRM_SYMPTOM FROM TD_SERVICE_FORM

--3

SELECT INTERNAL_REMARK FROM TD_SERVICE_FORM

--4

SELECT REPAIR_CONTENT FROM SISVN.TD_SERVICE_FORM

/newsis/serviceContract/taxInvoicePrint.jsp

contractServiceJobAction.do

//分页预览

<br style="page-break-after: always;" />

RepairForm

repairCertificatePrint:

repairCertificatePrint.jsp

serviceCertificatePrint:

serviceCertificatePrint.jsp

taxInvoicePrint:

taxInvoicePrint.jsp

SalesForm

SellRegisterSaleListAction 判断是否是越南(只有越南针打)

QuotationPrint:

sellRegisterSaleListAction.do?method=sellRegisterPrepareSaleDetail

sellRegisterPrepareSaleDetailList.jsp

quotationPrint(){

middleOpen("sellRegisterSaleListAction.do?method=quotationPrint

quotationPrint.jsp

sales Proforma Invoice:

sellRegisterSaleDetailList.jsp

salesPrint() 针打saleConfirm()

salesProformaPrint.jsp

WebContent.newsis.reception.partSaleInfo.sellRegisterSaleDetailList.print.perform.invoice

<fmt:formatNumber value="${item[2] * item[3] }" pattern="0.00"/>

td_sales_info

INVOICE_NO

salesTaxForm

salesTaxPrint.jsp

rounding:

sq.setQuotationAmt(RoundingUtil.totalTaxAmtRounding(sq.getQuotationAmt()));

sq.setDiscountAmt(RoundingUtil.totalTaxAmtRounding(sq.getDiscountAmt()));

sq.setNetQuotationAmt(RoundingUtil.totalTaxAmtRounding(sq.getQuotationAmt() - sq.getDiscountAmt()));

==================Polist加vendorName=======================

partOrderListAction.do?method=partOrderListQueryInit

=======================修改npc sales Invoice===============

saleDetailNormalList.jsp

taxInvoiceAction.do?method=showTaxInvoice( 前面Reception->Npc Parts Sales list

taxInvoiceAction.do?method=showLogasticTaxInvoice( 后面Logistic->Npc Invoice Print

修改头部(前面):TaxInvoiceCreater.do       //如果是AU和NZ-->从配置TermConfigCache里取数据

修改头部(后面): LogisticTaxInvoiceCreater.do           //如果是AU和NZ-->从配置TermConfigCache里取数据      //根据PartDescEn动态调整行高

修改底部税率(前面)TaxInvoiceCreater.do  //如果为如果是AU和NZ 根据销售单号算税率

修改底部税率(后面)LogisticTaxInvoiceCreater.do  //如果为如果是AU和NZ 根据销售单号算税率

修改底部Terms & conditions(前面) TaxInvoiceCreater//如果是AU或NZ从配置表取数据

修改底部Terms & conditions(后面) LogisticTaxInvoiceCreater //如果是AU或NZ从配置表取数据

back: NpcSaleServiceImpl   getSendRpsi

NpcInvoicePrintServiceImpl      getNpcInvoiceList       /*page.addN ……*/

saleDetailNormalList.jsp(前面)

=================修改npc Sales Quotation=================

taxInvoiceAction.do?method=showSalesQutation

修改头部:SalesQuotationCreater.java//如果是AU和NZ-->从配置TermConfigCache里取COMPANY_NAME数据

修改底部税率:SalesQuotationCreater.java  //如果为如果是AU和NZ 根据销售单号算税率

修改底部Terms & conditions://如果是AU或NZ从配置表取数据

=====================修改Job Acknowledgement=============================

receivePrintLocalVN method=add

===========================transfer_display_customer=============================

repairQueryCDetailTransfer.jsp

RepairAction.java  method=repairQueryDetailBySheetNo  DepartmentForm dfm

==================sales TaxForm reprint invoiceNo变了==========================

PopupSaleInfoBo 已经注掉了sif.setInvoiceNo(sif.getSaleNo()); -- =====ASC form key config==========================

ReceiveAction.java method=add

EstimationAction.java method=doEstimationPrint

===============serviceContract 和credit note 修改==================

serviceQuotationFormPrintingAction.java  method=print

serviceQuotationFormPrinting.jsp

serviceContractAction.java method=invoicePrint

serviceContractInvoicePrint.p

Credit Note :

creditNoteAction.java method=printCnInvoice

cnInvoceFormService.jsp

cnInvoceFormSales.jsp

cnInvoceFormSC.

cnInvoceFormSCT.jsp

=================debitNote=====================

debitNoteAction.java method=reprint

reprint.jsp

==============Job Registration打印=================

ReceiveAction.java method=add

================ Reservation email太长===================

reserveAction.do; method=initAdd

reserveModify.jsp

if(f_overLength(document.forms[0].email,30)){

================Upload Product Cat & Sub Cat=========================

UploadModelProductCatAction.do method=upload

==================asc显示GST MY=====================

RepairHandleAction.java

//3230  //3659 //7171

===============serviceQuotation上传问题============================

serviceQuotationMaintenanceAddAction.java method=init

quotationMaintenanceAdd.jsp

method=ajaxUploadFile

=========== serviceContract 的invoice重复问题=================

serviceContractAction.java updateInit

contractUpdate.jsp

=======customerGroup下拉框只能取10个=====================

PriceGroupBo.java //60

TS_SSC_PRICE_GROUP

==================重置小工具接口=======================

update qrtz_job_details set DESCRIPTION=null where job_name=‘convertSONpcJobDetail‘

===============convertSonNpcTrigger=================

convertSONpcJobDetail

convertSONpcTrigger

BaseBizJob.java  //62

ConvertSOJobBo.java  //58

ASCPOConvertsToSOBo.java   //74

ASCPOConvertsToSOSubServiceImpl.java  //271

===============跑一大段sql就挂了=====================

ServiceContractExpiryReminderAppImpl.java   //43

是接口:serviceContractExpiryReminderNpcTrigger(小工具有)

==============workflow流程发邮件问题===============

BusinessAssignment.java  //79

SendMail.java //822

//867

cs.IsSendMail("

themail.setTo(" [email protected]");

=================Handling Fee逻辑======================

repairQueryCDetail4JobInquiry.jsp

//1556

//1582

select * from TD_SERVICE_FORM where SERVICE_SHEET_NO like‘J50021880%‘

select ACCOUNT_RECEIVABLE from TD_SERVICE_FEE_INFO where FEE_TYPE !=‘P‘ and repair_no=‘115172‘--ACCOUNT_RECEIVABLE

追加(没有配置费用逻辑,生成了逻辑):

repairCDetail.jsp

//5072

//527

=============discount operation fail==============

BusinessAssignment.java  //1030

==============serviceContract上传问题======================

ServiceQuotationMaintenanceAddAction.java  //201 改成  File dir = new File(writePath);

quotationMaintenanceAdd.jsp

serviceQuotationMaintenanceAddAction.do?method=ajaxUploadFile

serviceQuotationMaintenanceAddAction.do?method=ajaxConfirmEquipment

==============WorkFlow Mananger增加ASC code和region==================

workFlowSearchAction.do; initManager

workFlowSearchManager.jsp

WorkFlowSearchBo.java //420

==========role问题=============

roleConfig.jsp  //108   //264   (页面General和Report下的匡要一起去掉,可查看对应的id的名字是否相同)

FunctionAction.java  method=functionTree

method=functionEdit  //保存

select * from  ts_function where FUNCTION_NAME=‘NPC Purchase Order Report‘;  --NPC Purchase Order Report

select * from ts_function_jvm2 where  FUNCTION_code=‘1837‘;

===================sg ssc part  rounding logic=========================

PartInfoAction.java  method=popupPartQueryList    method=getStockInfo

partList.jsp   //60

partStock.jsp  //311

PopupPartInfoBo.java  //392

RoundingUtil.java //45

RoundingBaseUtil.java //41

ParseRoundingConfig.java //37

RoundingConfig.xml //64

配置

RoundingConfig.xml 中:

<countryCode>SG</countryCode>

<!--向上rounding-->

<unit-roundingType>Up</unit-roundingType>

<!--rounding的位数-->

<unit-decimal>0</unit-decimal>

=============stock transfer的PO,rpsi有数据为0的==================

select * from td_rpsi where po_no=‘TO50015736‘;

select * from td_npc_sales_detail where asc_po_no=‘TO50015736‘;

select * from td_npc_po where ASC_PO_NO=‘TO50015736‘

newsisAP\WebRoot\newsis\tools\testInterface.jsp

rpsiAppJobDetailVN(接口)

applicationContextForInterfaceVN.xml  //207

rpsiAppJobDetailSG (接口)

applicationContextForInterfaceSG.xml  //83

RpsiBusinessImpl.java //改了67

RpsiBo.java  // 改了482

SendRpsiToAscJobBo.java  //改了66

NpcInvoicePrintServiceImpl.java //改了91

System.out.println("===发现有数量为0的InvoiceNo :"+String.valueOf(obj[0]));

3886

sendRpsiToAscForNpcJobDetail(接口)

===================sg customer跑数据失败=======================

日志:

OR - NpcCustomerInfo interface ---- customer spart is  error SimpleCustomerNo[251000]Spart[01]Country Code[SG]

2015-07-09 11:47:50,057 ERROR - NpcCustomerInfo interface ---- customer spart is  error SimpleCustomerNo[251000]Spart[BP]Country Code[SG]

2015-07-09 11:47:50,057 ERROR - NpcCustomerInfo interface ---- customer spart is  error SimpleCustomerNo[251000]Spart[BR]Country Code[SG]

2015-07-09 11:47:50,057 ERROR - NpcCustomerInfo interface ---- customer spart is  error SimpleCustomerNo[251000]Spart[EI]Country Code[SG]

2015-07-09 11:47:50,058 ERROR - NpcCustomerInfo interface ---- customer spart is  error SimpleCustomerNo[251000]Spart[R1]Country Code[SG]

2015-07-09 11:47:50,058 ERROR - NpcCustomerInfo interface ---- customer spart is  error SimpleCustomerNo[251000]Spart[BD]Country Code[SG]

程序里:

/*SG: 如果 SPART 不是 ‘KM‘或者‘SC‘或者‘EE‘ 或者 ‘SP‘, 则不接 否则 插入或者更新客户信息 ID : 根据CustomerCode插入或者更新客户信息*/

查数据库得到SPART为 txt的35-37位。

程序里新加坡SPART写死了只能为KM或SC或EE或SP。

因为txt中的SPART不是KM或SC或EE或SP所以导入失败。

select * from ts_npc_if_column_format where item_name =‘SPART‘  //要com的最大权限查

CustomerBusinessImpl.java  //96

=======================convertSONpcTrigger=================================

select p,o from TD_PO p,ts_organization_info o where o.ORGANIZATION_CODE=p.ORGANIZATION_CODE and p.ORDER_STATUS=‘0‘ and p.INTERFACE_STATUS=‘N‘ and p.VENDOR_TYPE=‘S‘ and o.UNIT_CODE is not null

===============维修页面出现Parts Master Issue(Contact Helpdesk)===================================

//4035  add按钮

//2770   add 确认   S

//2854   confirm按钮

//3027  confirm按钮 ajax返回  --3047  --3074

RepairHandleAction.java method=submitRepairPart  //2402

RepairHandleBo.java method=submitRepairPart //758  -->submitRepairPartToDB //920 -->repairApproveAllocate //5868  A

ReqAllocateBo.java method=allocate   reqForm.getReqType()  //209   allocateStart  -->modifyBusiness

ReqAllocateBo.java    //425  //443  //459  //473  //540

S->A  分配

//4193   页面取值

function insertRepairPartInfoCompleted(){

//4098  -->part

part.getRepairPartStatus()

setRepairPartStatus("A

RepairPartForm

RepairHandleBo.java  //5787

判断是否进 ReqAllocateBo的allocateJob方法

================rpocNpcTrigger接口测试========================

BasicSender.java //337

BasicLoader.java  //518

=================邮件收到2份问题=================

TH

BusinessAssignment.java  //648

Special Treatment Application 流程

repairAccountCDetail.jsp  //2214

repairApplicationSP.jsp

RepairApplicationSPAction.java method=pageSave

RepairApplicationSPAction  //149  -->RepairApplicationSPBo.java //181 发

BusinessAssignment.java //509

//todo

1. 当日新增问题数:0

2. 2015-4-1至当日未关闭问题数:6

3. 2015-4-1至当日待跟进问题数:0

4. 当日解决问题数:1

5. 待跟进问题清单,以及预计解决日期

============================sql备忘======================================

select * from ts_npc_interface_run_config where interface_type=‘31‘;--convertSONpcTrigger

select * from ts_npc_interface_run_config where interface_type=‘8‘; --customerNpcTrigger

select * from ts_npc_interface_run_config where interface_type=‘37‘; --ascRpocNpcTrigger

select * from ts_npc_interface_run_config where interface_type=‘3‘;--rpsiNpcTrigger

select * from ts_npc_interface_run_config where interface_type=‘33‘;--sendRpsiToAscForNpcTrigger

select * from ts_npc_interface_run_config where interface_type=‘4‘; --rpocNpcTrigger

select EMAIL_ALERT from ts_npc_interface_run_config where interface_type=‘32‘;--sendRpocToAscForNpcTrigger

select * from ts_npc_if_row_format where country_code=‘SG‘

update ts_npc_interface_run_config

--set run_flag=‘Y‘

set EMAIL_ALERT=‘[email protected];[email protected]‘

where country_code in(‘SG‘) and interface_type=‘4‘;

select * from td_customer_info

select * from ts_model

select * from td_customer_info where simple_customer_no=‘251000‘;

select * from ts_mail_config

update ts_mail_config SET ISSEND=1 where MID=7

select * from ts_part_info

select * from ts_user where user_id=‘10005919‘

select * from ts_user where ORGANIZATION_CODE=‘2204‘

update ts_user

set email=‘‘

--set ORGANIZATION_CODE=‘2204‘

where user_id!=‘10005919‘ and ORGANIZATION_CODE=‘2204‘

select * from TS_SYSTEM_CODE where system_type =‘REQ_STAT‘;

select * from TD_REPAIR_PARTS_INFO where parts_id=‘10198375‘  --requestID=‘10192173‘

select * from TD_PARTS_REQUEST where request_ID=‘10192173‘ --REQ_TYPE=‘R‘  REQ_STAT=‘P‘

select REPAIR_PART_STATUS,ASSIGN_TYPE from TD_REPAIR_PARTS_INFO

select * from ts_part_info where part_code =‘E999999999‘

select * from ts_mail_config

update ts_mail_config set ISSEND=1

SELECT TABLE_NAME,COLUMN_NAME,COMMENTS FROM USER_COL_COMMENTS WHERE TABLE_NAME = ‘TD_REPAIR_PARTS_INFO‘;

select * from TD_SPECIAL_REQUEST where ALLROLES=‘4043‘ and CREATE_BY=‘10005919‘ and customer_name=‘111111‘

========================建表语句==============================

select seq_stock_id.nextval from dual;

SELECT * from all_objects 

 

ASC&&SSC Vendor:

INSERT INTO TS_FUNCTION (FUNCTION_CODE, FUNCTION_NAME, FUNCTION_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE, PARENT_FUNCTION_CODE, FUNCTION_TYPE, LINK, LAYER, PENDING_NAME, PENDING_COUNT, BITWISE, PC_TYPE, ORDER_ID) VALUES (4009, ‘ASC&SSC Vendor List‘, null, null, TIMESTAMP ‘2014-08-04 00:00:00‘, null, null, 2480, ‘7‘, ‘ascsscVendorAction.do?method=homePage‘, 2, null, null, 10, ‘A‘, 430);

CREATE TABLE TS_ASC_SSC_VENDOR

(

VENDOR_ID NUMBER(10) NOT NULL,

VENDOR_CODE VARCHAR2(25) NOT NULL,

ORGANIZATION_CODE NUMBER(10) NOT NULL,

VENDOR_NAME VARCHAR2(50) NOT NULL,

VENDOR_ADDRESS VARCHAR2(500),

VENDOR_TYPE CHAR(1) DEFAULT ‘N‘ NOT NULL,

VENDOR_PHONE_NO VARCHAR2(25),

CONTACT_PERSON VARCHAR2(60),

PROVINCE_ID NUMBER(10),

CITY_ID NUMBER(10),

CREATE_BY NUMBER(10) NOT NULL,

CREATE_DATE DATE NOT NULL,

UPDATE_BY NUMBER(10),

UPDATE_DATE DATE,

DEL_FLAG NUMBER(1) NOT NULL,

FAX_NUMBER VARCHAR2(50),

TAX_CODE VARCHAR2(4) NOT NULL,

PAYMENT_TERM VARCHAR2(20),

PAYMENT_METHOD CHAR(1),

DELIVERY_LEADTIME VARCHAR2(50),

VENDOR VARCHAR2(20)

);

CREATE SEQUENCE ASC_VENDOR

MINVALUE 1

MAXVALUE 999999999999999999999999999

START WITH 1

INCREMENT BY 1

NOCACHE;

==============================================================

维修页面和转修页面控制显示按钮CUSTOMER和ESTIMATION按钮

ALTER TABLE TS_ORGANIZATION_INFO ADD(TRANSFER_DISPLAY_CUSTOMER CHAR(1) );

ALTER TABLE TS_ORGANIZATION_INFO ADD(TRANSFER_DISPLAY_ESTIMATION CHAR(1) );

repairAction.do?method=repairQueryDetailBySheetNo

============================================================

Local RPSI Inbound

INSERT INTO TS_FUNCTION (FUNCTION_CODE, FUNCTION_NAME, FUNCTION_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE, PARENT_FUNCTION_CODE, FUNCTION_TYPE, LINK, LAYER, PENDING_NAME, PENDING_COUNT, BITWISE, PC_TYPE, ORDER_ID) VALUES (691, ‘Local RPSI Inbound‘, null, null, TIMESTAMP ‘2014-09-04 00:00:00‘, null, null, 680, ‘3‘, ‘localRpsiReceiveInboundAction.do?method=pageInit‘, 2, null, null, 22, ‘A‘, 71);

--ALTER TABLE TD_RPSI ADD(POSTING_AMT NUMBER(15,2))

--ALTER TABLE TD_RPSI ADD(GR_POSTING_AMT NUMBER(15,2))

ALTER TABLE TD_PO ADD(VENDOR_CODE VARCHAR(25))

======================================================

IRIS Configure

INSERT INTO TS_FUNCTION (FUNCTION_CODE, FUNCTION_NAME, FUNCTION_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE, PARENT_FUNCTION_CODE, FUNCTION_TYPE, LINK, LAYER, PENDING_NAME, PENDING_COUNT, BITWISE, PC_TYPE, ORDER_ID) VALUES (2842, ‘IRIS Configure‘, null, null, TIMESTAMP ‘2010-06-12 17:24:19‘, null, null, 2410, ‘7‘, ‘irisConfigureAction.do?method=initManager‘, 1, null, null, 60, ‘A‘, 507);

CREATE TABLE

TS_IRIS_CONFIG

(

ID NUMBER(10) NOT NULL,

D6_CODE VARCHAR2(6) NOT NULL,

IS_PART VARCHAR2(60) NOT NULL,

CONTROL_CODE VARCHAR2(25) NOT NULL,

REPAIR_CODE VARCHAR2(50),

SECTION_CODE VARCHAR2(50),

SYMPTOM_CODE VARCHAR2(50),

DEFECT_CODE VARCHAR2(50),

CONDITION_CODE VARCHAR2(50),

CREATE_BY NUMBER(10) NOT NULL,

CREATE_DATE DATE NOT NULL,

UPDATE_BY NUMBER(10),

UPDATE_DATE DATE,

DEL_FLAG NUMBER(1) DEFAULT 0 NOT NULL

);

CREATE SEQUENCE IRIS_CONFIG

MINVALUE 1

MAXVALUE 999999999999999999999999999

START WITH 1

INCREMENT BY 1

NOCACHE;

添加dropdownlist :CONTROL_CODE,IS_PART

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (1406657, ‘CONTROL_CODE‘, ‘CONTROL_CODE‘, ‘2‘, ‘6D, Part_Repair_Cat, defect, condition ‘, ‘TS_IRIS_CONFIG‘, 1, TIMESTAMP ‘2014-09-23 00:00:00‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (1406658, ‘CONTROL_CODE‘, ‘CONTROL_CODE‘, ‘3‘, ‘6D, Part_Repair_Cat, repair, section, symptom ‘, ‘TS_IRIS_CONFIG‘, 1, TIMESTAMP ‘2014-09-23 00:00:00‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (1406659, ‘CONTROL_CODE‘, ‘CONTROL_CODE‘, ‘4‘, ‘6D, Part_Repair_Cat, repair, section, symptom, defect ‘, ‘TS_IRIS_CONFIG‘, 1, TIMESTAMP ‘2014-09-23 00:00:00‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (1407004, ‘IS_PART‘, ‘IS_PART‘, ‘1‘, ‘Non-Parts repair ‘, ‘TS_IRIS_CONFIG‘, 1, TIMESTAMP ‘2014-09-23 00:00:00‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (1407001, ‘IS_PART‘, ‘IS_PART‘, ‘2‘, ‘Product Exchange‘, ‘TS_IRIS_CONFIG‘, 1, TIMESTAMP ‘2014-09-23 00:00:00‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (1407002, ‘IS_PART‘, ‘IS_PART‘, ‘3‘, ‘Parts repair‘, ‘TS_IRIS_CONFIG‘, 1, TIMESTAMP ‘2014-09-23 00:00:00‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (1406655, ‘CONTROL_CODE‘, ‘CONTROL_CODE‘, ‘ ‘, ‘--select--‘, ‘TS_IRIS_CONFIG‘, 1, TIMESTAMP ‘2014-09-23 00:00:00‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (1407000, ‘IS_PART‘, ‘IS_PART‘, ‘ ‘, ‘--select--‘, ‘TS_IRIS_CONFIG‘, 1, TIMESTAMP ‘2014-09-23 00:00:00‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (1406656, ‘CONTROL_CODE‘, ‘CONTROL_CODE‘, ‘1‘, ‘6D, Part_Repair_Cat, condition ‘, ‘TS_IRIS_CONFIG‘, 1, TIMESTAMP ‘2014-09-23 00:00:00‘, null, null);

=====================================================================

Credit_Control:

添加SALE_STATUS:CC Pass,CC Block,CC Time Out,CC Release

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (270, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘P‘, ‘Pending For Allocation‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:31:10‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (268, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘N‘, ‘Pre-Sales Not Confirm‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:28:23‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (269, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘M‘, ‘Pre-Sales Confirmed‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:28:24‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (272, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘L‘, ‘Reserved‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:28:24‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (274, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘C‘, ‘Cancelled‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:28:24‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (276, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘B‘, ‘Returned‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:28:24‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (277, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘H‘, ‘Sold (Invoice Issued)‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:28:24‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (275, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘R‘, ‘Waiting For Part, No PO‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:29:43‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (877, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘Z‘, ‘Cancelled Pre-Sales‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:29:46‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (273, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘D‘, ‘Issued‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:28:56‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (271, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘O‘, ‘Under PO‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:29:18‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (401, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘A‘, ‘Partially Allocated‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2011-12-01 18:28:04‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (878, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘S‘, ‘CC Pass‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2014-10-15 18:29:46‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (879, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘K‘, ‘CC Block‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2014-10-15 18:29:46‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (880, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘T‘, ‘CC Time Out‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2014-10-15 18:29:46‘, null, null);

INSERT INTO TS_SYSTEM_CODE (SYSTEM_ID, SYSTEM_TYPE, SYSTEM_TYPE_DESC, SYSTEM_CODE, SYSTEM_NAME, SYSTEM_DESC, CREATE_BY, CREATE_DATE, UPDATE_BY, UPDATE_DATE) VALUES (881, ‘SALE_STATUS‘, ‘SALE_STATUS‘, ‘E‘, ‘CC Release‘, ‘TD_SALES_INFO‘, 1, TIMESTAMP ‘2014-10-15 18:29:46‘, null, null);

============================================================

alter table td_customer_info

add vendor_code varchar2(10)

============================================================

ALTER TABLE TS_ORGANIZATION_INFO ADD(DISPLAY_PARTNO CHAR(1));

============================================

exp devexp/[email protected]_DEV file=d:\b\ap_dev_db.dmp full=y log=d:\b\ap_dev_db.log statistics=none
imp sfa_app/[email protected] full=y file=c:\b\ap_dev_db.dmp log=d:\impdatabase.log ignore=y

时间: 2024-10-08 16:58:06

newsisAP的相关文章

eclipse4.4 tomcat jrebel使用

1.下载jrebel破解包 2.去eclipse -->Help -->EclipseMarketplace 下载eclipse jrebel 也可以下载离线安装包,然后eclipse -->Help --> Install new softeware 安装 3.点eclipse --> JRebel Config Center --> advanced 标签替换 Other jrebel.jar 为下载好的路径 4.打开servers新建tomcat 双击进入配置如图