Siebel学习笔记

本文是关于Siebel Escript的学习笔记,详细介绍了数据类型、刷新记录的方法、Trace方法的使用、Get BOBC的操作、BC Operation、PickList的使用、Split方法的应用、代码导入导出以及脚本编写规则等关键知识点。
摘要由CSDN通过智能技术生成

Siebel学习笔记

Siebel(escript)的学习:
1.Siebel的数据类型
Primitive(原始的)—Number,Integer,Hexadecimal(十六进制),Octal(八进制),Floating Point(浮点),Decimal(十进制),Scientific(系统的),Boolean, String
Composite(复合的)—Object,Array,
Special(特殊的)----Undefined(未定义的), Null,NaN(非数值)

  1. typeof 方法
    typeof variable or typeof(variable)
    返回值为:“undefined”,“boolean”,“string”,“object”,“number”,“function”,or"buffer"

  2. Refresh Record Methods
    刷新Applet的记录
    var oBs=TheApplication().GetService(“FINS Teller UI Navigation”).
    oBs.InvokeMethod(“RefreshCurrentApplet”,Inputs,Outputs);
    /如果input的参数中有设置Refresh All为Y,则刷新当前View所在的所有Applet/

BC有两个Method:
BusComp.invokeMethod(“RefreshRecord”) 刷新当前记录
BusComp.invokeMehtod(“RefreshBusComp”) 刷新当前查询记录

4.TheApplication().Trace Method
TheApplication().TraceOn(filename,type,selection)
Filename 为日志文件,绝对路径
Type 包括Allocation和SQL
1.Allocation.Traces allocations and deallocations of Siebel objects. This option is useful if you suspect memory leaks in your code.
2.SQL.Traces SQL statements generated by the Siebel application.
Selection 一般我们都用All就可以了
eg: TheApplication().TraceOn(“D:\siebel_debug\trace.txt”,“Allocation”,“All”);

5.配置MVL注意点
配置MVL时需要将use primary join 打勾,不然会导致生成N+1条SQL语句的问题.
MVL.use primary join的作用:
use primary join没有打勾,会把

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值