免费论文网 首页

get,by

时间:2017-05-25 05:38 来源:免费论文网

篇一:BOTP函数

资金取数函数

__BOTGetCurrentCompany()

得到当前公司

__BOTGetBankAccount()

根据内部账户得到银行账户

__BOTPExecuteSQL()

执行指定的sql语句

__BOTPGetValueByNumber()

根据编码取值;__BOTPGetValueByNumber(type,number);其中第一个参数为基础资料的类型;第二个参数是编码;比如单据分录的摘要上记录了供应商的编码,而生成凭证的时候需要将供应商信息带到凭证上,此时就可以使用这个公式来达到这个目的;示例:__BOTPGetValueByNumber("37C67DFC","01");常用的核算项目类型有:供应商:37C67DFC;客户:BF0C040E;自定义核算项目:F90B0133

__BOTPGetValueByLongNumber()

根据长编码取值;__BOTPGetValueByLongNumber(type,longNumber);其中第一个参数为基础资料的类型;第二个参数是长编码;比如单据分录的摘要上记录了供应商的长编码,而生成凭证的时候需要将供应商信息带到凭证上,此时就可以使用这个公式来达到这个目的;示例:__BOTPGetValueByLongNumber("37C67DFC","01.02.03");常用的核算项目类型有:供应商:37C67DFC;客户:BF0C040E;自定义核算项目:F90B0133

__BOTPGetBaseDataByName()

名称取值;__BOTPGetBaseDataByName(type,name);其中第一个参数为基础资料的类型;第二个参数是名称;比如单据分录的摘要上记录了供应商的名称,而生成凭证的时候需要将供应商信息带到凭证上,此时就可以使用这个公式来达到这个目的;示例:__BOTPGetBaseDataByName("37C67DFC","供应商A");常用的核算项目类型有:供应商:37C67DFC;客户:BF0C040E;自定义核算项目:F90B0133

__BOTPGetContext()

获取上下文

__BOTGetAccountView()

根据内部账户或银行账户得到关联的科目

费用报销函数

__BOTgetExpenseTypeAccount()

根据费用类型id获取借方科目;__BOTgetExpenseTypeAccount(String)

__BOTgetExpenseTypeAccountOnOrgUnit()

根据费用类型id获取借方科目;__BOTgetExpenseTypeAccount(String 费用类型id,String 公司id)

__BOTgetOperateionTypeDebitAccount()

根据业务类型id获取借方科目;__BOTgetOperateionTypeDebitAccount(String)

__BOTgetOperateionTypeLenderAccount()

根据业务类型id获取贷方科目;__BOTgetOperateionTypeLenderAccount(String)

__BOTgetSupplierByCompany()

根据公司id取得供应商 __BOTgetSupplierByCompany(String)

__BOTgetLoanAccount()

根据费用类型id取贷方科目 __BOTgetLoanAccount(String)

__BOTgetLoanAccountOnOrgUnit()

根据费用类型id取贷方科目 __BOTgetLoanAccount(String 费用类型id,String 公司id) __BOTgetCompanyByOrgUnit()

根据行政组织id获取财务组织,__BOTgetCompanyByOrgUnit(String)

__BOTgetAsstActTypeByExpenseType()

根据费用类型id取核算项目__BOTgetAsstActTypeByExpenseType(String 费用类型id,String 公司id,int 第几核算项目)

__BOTgetOrgUnitByCostCenter()

根据成本中心id获取行政组织,__BOTgetOrgUnitByCostCenter(String)

基础资料函数

__BOTgetMaterialFromCostObject()

根据成本对象id获得物料;__BOTgetMaterialFromCostObject(String),参数为物料id,返回类型为MaterialInfo;

__BOTgetObjectFromCostObject()

根据成本对象获得对应的对象;__BOTgetObjectFromCostObject(String),其中参数为对象的id,返回值为IObjectValue;

__BOTgetObjectFromCussent()

根据往来户获得对应对象;__BOTgetObjectFromCussent(String),其中参数为对象的id,返回值为IObjectValue;

__BOTGetObjectNumberFromCussent()

根据往来户获得对象编码;__BOTgetObjectNumberFromCusent(String),其中参数为对象的id,返回值为String;

__BOTGetObjectNameFromCussent()

根据往来户获得对象名称;__BOTGetObjectNameFromCussent(String),其中参数为对象的id,返回值为String;

__BOTGetBaseCurrencyFromFiOrg()

获得制定财务组织的本位币;__BOTGetBaseCurrencyFromFiOrg(CompanyOrgUnitInfo),返回值为CurrencyInfo;

__BOTGetAccountFromKacAndBaseData()

根据基础资料和财务组织获得制定记帐要素对因的科目;__BOTGetAccountFromKacAndBaseData(IObjectValue,CompanyOrgUnitInfo,String),参数:IObjectValue(仅支持物料,客商,职员),ComapnyOrgUnitInfo,String(记帐要素编码);返回值为AccountViewInfo;

__BOTGetAccountFromKacAndBaseDataId()

根据基础资料id和公司以及记账要素获得对应的科目;__BOTGetAccountFromKacAndBaseDataId(String,CompanyOrgUnitInfo,String,String,String,String),参数分别为基础资料id,财务组织,基础资料为物料时的记账要素编码,基础资料为客户时的记账要素编码,基础资料为供应商时的记账要素编码;基础资料为职员时的记账要素编码;返回科目对象;

__BOTGetCustomerFromCompany()

根据财务组织ID获得对应的内部客户;__BOTGetCustomerFromCompany(Object),参数:Object(财务组织ID);返回值为OrgUnitInfo;

__BOTGetSupplierFromCompany()

根据财务组织ID获取对应的内部供应商;__BOTGetSupplierFromCompany(Object),参数:Object(财务组织ID);返回值为OrgUnitInfo;

业务组织函数

__BOTgetSaleFromOrgUnit()

将组织单元转化为销售组织,用于将弱类型的组织转换为销售组织(仅仅进行类型转换);__BOTgetSaleFromOrgUnit(OrgUnitInfo),返回值为SaleOrgUnitInfo;

__BOTgetPurchaseFromOrgUnit()

将组织单元转化为采购组织,用于将弱类型的组织转换为采购组织(仅仅进行类型转换);__BOTgetPurchaseFromOrgUnit(OrgUnitInfo),返回值为PurchaseOrgUnitInfo;

__BOTgetStorageFromOrgUnit()

将组织单元转化为仓存组织,用于将弱类型的组织转换为仓存组织(仅仅进行类型转换);__BOTgetStorageFromOrgUnit(OrgUnitInfo),返回值为StorageOrgUnitInfo;

__BOTgetProfitCenterFromOrgUnit()

将组织单元转化为利润中心组织,用于将弱类型的组织转换为利润中心组织(仅仅进行类型转换);__BOTgetProfitCenterFromOrgUnit(OrgUnitInfo),返回值为ProfitCenterOrgUnitInfo; __BOTgetCostCenterFromOrgUnit()

将组织单元转化为成本中心组织,用于将弱类型的组织转换为成本中心组织(仅仅进行类型转换);__BOTgetCostCenterFromOrgUnit(OrgUnitInfo),返回值为CostCenterOrgUnitInfo;

其他函数

__BOTGetPropInFirstObjWithCollection()

__BOTGet

__BOTGetProperty()

弱类型关联;参数分别为:弱类型字段,弱类型关联实体字段名。

__BOTgetAccountInSpecifiedFiOrg()

根据指定的公司和科目编码获得科目,__BOTgetAccountInSpecifiedFiOrg(String acctNumber, CompanyOrgUnitInfo fiOrg)

__BOTGetAsstActInfo()

根据核算项目ID获得对应对象;__BOTgetObjectFromCussent(String,String,AccountViewInfo/String),参数: 核算项目类型(ID),具体核算项目(ID),科目信息(可以配置为科目信息(AccountViewInfo),或者配置为科目的ID,程序动态解析),返回:辅助账横表信息(AssistantHGInfo);

__BOTgetCompanyOrgUnitFromRelation()

获取成本中心委托的财务组织;__BOTgetCompanyOrgUnitFromRelation(Object),参数:Object(成本中心或成本中心ID);返回值为OrgUnitInfo;

__BOTgetDefaultAdminOrgUnitFromRelation()

获取成本中心委托的缺省行政组织;__BOTgetDefaultAdminOrgUnitFromRelation(Object),参

数:Object(成本中心或成本中心ID);返回值为OrgUnitInfo;

数学函数

round()

返回舍入后的数值 1:操作数2:舍入精度

sqrt()

返回平方根

int()

返回整数部分

ln()

返回以e为底的对数

log()

返回对数。 参数1:底数 参数2:操作数

log10()

返回以10为底的对数

exp()

返回10的幂值。 参数1:指数

power()

返回幂值。 参数1:操作数 参数2:指数

mod()

返回余数。 参数1:左操作数 参数2:右操作数

pi()

返回圆周率

rand()

返回随机数。

degrees()

返回角度值。 参数1:弧度值

radians()

返回弧度值。 参数1:角度值

sin()

返回参数的正弦值。 参数1:数值

asin()

返回参数的反正弦值。 参数1:数值

cos()

返回参数的余弦值。 参数1:数值

acos()

返回参数的反余弦值。 参数1:数值

tan()

返回参数的正切值。 参数1:数值

atan()

返回参数的反正切值。 参数1:数值

convertBigDecimal()

转化BigDecmial为整型数。 参数1:java.math.BigDecimal abs()

parseInt()

parseFloat()

字符串函数

trim()

返回去除两边空白字符后的字符串。 参数1:字符串

left()

返回从左开始指定长度的字符串。 参数1:字符串 参数2:长度 right()

返回从右开始指定长度的字符串。 参数1:字符串 参数2:长度 rept()

返回重复字符串。 参数1:要重复的字符串 参数2:重复次数 len()

时间和日期函数

now()

返回当前日期时间字符串。 格式:"2004-4-17 14:43:05"

convertJavaDate()

将java.util.Date转化为日期时间字符串。 参数1:java.util.Date对象 year()

返回参数日期的年份部分。 参数1:时间日期字符串

month()

返回参数日期的月份部分。 参数1:时间日期字符串

date()

返回参数日期的日部分。 参数1:时间日期字符串

hour()

返回参数时间的小时部分。 参数1:时间日期字符串

minute()

second()

yearday()

返回当前日期是一年的第几天 参数1:时间日期字符串

weekday()

返回当前日期是一周的第几天。 参数1:时间日期字符串 datevalue()

返回当前日期的LONG值表示。 参数1:时间日期字符串 days()

将LONG值转为等价整数表示天数。 参数1:数值类型

篇二:js对象属性设置—document

Object Cross Reference document

篇三:上海市闸北区2013年中考二模英语试卷

上海市闸北区2013年中考二模英语试卷

(考试时间:100分钟,满分:150分)

考生注意:本卷有7大题,共99小题。试题均采用连续编号,请务必将所有答案写在答题纸上,写在试卷

上不给分。

Part 1Listening (第一部分 听力)

I. Listening Comprehension (听力理解): (共30分)

A. Listen and choose the right picture (根据你听到的内容,选出相应的图片): (共6分)

A B

C

D

E F G

B. Listen to the dialogue and choose the best answer to the question you hear (根据你听到的对话和问题,选出最恰当的答案): (10分)

7. A) German.

8. A) Fish.

9. A) Radio.

10.A) At 9:30.

11.A) In a school.

12.A) He?s having a rest. B) Chinese. B) Soup. B) Weather. B) At 10:00. B) In a shop. C) Japanese. C) Fried chips. C) Holiday. C) At 10:30. D) Asian. D) Chicken wings. D) Season. D) At 11:30. C) At home. D) At a concert. B) He?s having a test.

D) He?s going on a diet.

B) By listening to the tape.

D) By taking lots of notes.

B) Less pollution.

D) Cutting down fewer trees.

B) To ask for help.

D) To move into his house.

B) She?ll have dinner with the man tonight.

D) She?ll have dinner with other people.C) He?s going over his lessons. 13.A) By joining an English club.C) By reading English novels. 14.A) More sandstorms. C) Planting more trees. 15.A) To say “hello”. C) To make a phone call. 16.A) She?ll invite the man to dinner.

C) She?ll have dinner at Jinjiang Restaurant.

C. Listen to the dialogue and tell whether the following statements are true or false (判断下列句子是否符合你听到的对话内容, 符合的用“T”表示,不符合的用“F”表示): (7分)

17. The interview happened in Carol?s jewellery(珠宝) shop.

18. She became a jeweler(珠宝商) by going to college.

19. She taught both adults and teenagers to make jewellery in Bond Street.

20. Bond Street is a place full of expensive shops in London.

21. It?s too bored for Carol to make jewellery in the shop.

22. She put the workshop(车间) in the shop because people like to see her

making their jewellery.

23. She even made a wedding ring for Queen Elizabeth.

D. Listen to the passage and complete the following sentences (听短文,完成下列内容,每空格限填一词): (7分)

24. Since you can?t feel the clothes, the quality might be ________.

25. Some people buy something that isn?t as good as the advertisements ________.

26. ________ percent consumers failed to fight for their rights.

27. According to consumer protection laws in China, consumers have ________ rights.

28. ________ the label and read the information carefully before you buy something.

29. If there?s any problem with your goods, try to get your money back or get an ________.

30. If you can?t reach an agreement, go to your ________ consumers association for help.

Part 2 Vocabulary and Grammar

(第二部分 词汇和语法)

Ⅱ. Choose the best answer (选择最恰当的答案): (共20分)

Ⅲ. Complete the following passage with the words or phrases in the box. Each word or phrase can only be used once(将下列单词或词组填入空格。每空格限填一词,每词或词组只能填一次):(共8分)

A police officer?s job responsibilities are varied. Police make sure that people follow the law. They solve crimes, direct and traffic, help in emergencies such as car accidents, collect evidence at the scene of a crime, and even testify(作证) in court.

Police also work in a wide of places. Some work in offices or police stations, but __53__ patrol(巡逻) communities on foot, by car, on a motorcycle, or even on a horse! Still other types of police officers ride in boats to protect rivers, lakes, and harbors.

Most police wear a uniform. These are the police you can recognize. But other police may not be as easy to spot: Detectives or special agents wear street clothes.

Police can be men or women, and they have a very dangerous job. This is because police often or nightstick, to protect them from harm. Sometimes police officers are to car chases or

have to go to risky places, such as the scenes of fires and explosions. Police officers always put themselves in harm?s way to keep us safe, so it?s important to them.

Ⅳ. Complete the sentences with the given words in their proper forms(用括号中所给单词 的适当形式完成下列句子,每空格限填一词): (共8分)

59. Good ___________ serve their country. (citizen)

60. Nice, the fifth largest city in ___________, attracts people from all over the world. (French)

61. I entered a chess competition and finished ___________. (three)

62. People like to change things around to go on with ___________. (they)

63. The little child was ___________ to see a figure in the dark. (frighten)

64. Alice sang to the music with her hand waving ___________. (gentle)

65. The only way to ___________ is through hard work. (success)

66. The most ___________ car was a Benz which had only three wheels. (usual)

Ⅴ. Rewrite the following sentences as required(根据所给要求,改写下列句子。每空格限填一词): (共14分)

67. The students have many exercises to do every day. (改为否定句)

The students _________ _________ many exercises to do every day.

68. They tried everything they could to improve the situation. (改为反意疑问句)

They tried everything they could to improve the situation, _________ _________?

69. We must train them to think independently. (改为被动语态)

They must _________ _________ to think independently.

70. 对划线部分提问)

_________ _________ Ben Rogers come along the road?

71. I didn?t make a phone call. I sent an e-mail. (保持句意基本不变)

I sent an e-mail _________ _________ making a phone call.

72. The music at the cafe sounded so noisy that I couldn?t stay any longer. (改为简单句) The music at the cafe sounded _________ _________ for me to stay any longer.

73. Eddie couldn?t remember. What happened after the accident? (合并为一句)

Eddie couldn?t remember _________ _________ happened after the accident.

Part 3Reading and Writing (第三部分 读写)

Ⅵ. Reading comprehension (阅读理解): (共50分)

A.Choose the best answer(根据短文内容,选择最恰当的答案): (12分)

Visit the ancient kingdom of Nepal(尼泊尔)

Why not take a holiday somewhere completely different?

Visit Nepal – a land of excitement and adventure! From Everest

Base Camp high in the Himalayas, to the jungles of the Royal

Chitwan National Park, to the ancient city of Bhaktapur,

Nepal?s amazing scenery and fascinating culture make it a great

holiday destination.

Any trip to Nepal starts in the Kathmandu valley, with a visit to the Nepali capital. The old centre of Kathmandu with its crowded old streets and beautiful architecture is very different from the expensive modern hotels, shops and restaurants on the city?s outer areas.

The valley is also home to two other cities. Patan is quieter and less crowded than Kathmandu, and is famous for its temples and other old buildings. However, the oldest and probably the most attractive of the three cities is Bhaktapur. Many of its beautiful temples and palaces were built in the seventeenth century, when it was the capital of Nepal.

Travel eight hours by bus west of Kathmandu to reach the beautiful lakeside city of Pokhara. This is a perfect place to relax – row a boat on the lake, read a novel, or just hang out in one of many great restaurants. If you are feeling more energetic, you can go for a three- or four-day journey around Mount Annapurna.

Northeast of Kathmandu, near the border with China, is Mount Everest, the world?s tallest a popular destination for tourists. However, there have been problems with tourists leaving litter at Base Camp – so remember to take your rubbish away with you!

In the south of the country, near the border with India, is the Royal Chitwan National Park. Very different from the cool mountains of the Himalayas, Chitwan is a hot and sticky tropical jungle. In the past, this was where rich British and Nepalese hunters shot elephants, rhinoceros, tigers, leopards and deer, but today all these animals are protected. You can take a tour of the park, riding on the back of an elephant.

74. This passage is probably .

A) an advertisement

C) a report

A) is very ancient

76. Bhaktapur is ________.

A) one of the three cities in the Kathmandu valley B) the capital of Nepal

C) less crowded and more attractive than Patan

77. The underlined word ?it? in the fifth paragraph refers to ________.

A) Mount Everest B) Kathmandu C) Everest Base Camp D) China

B) doing some reading

D) swimming in the sea 78. As a tourist, you can do all the things to relax in Pokhara except________A) rowing a boat on the lake C) hanging out in a certain restaurant D) bigger than Kathmandu B) a newspaper article D) a letter B) is very exciting and interesting D) has amazing scenery 75. The main point of the first paragraph is that Nepal ________. C) has mountains and jungles

79. According to this passage, which sentence is NOT TRUE?

A) Kathmandu is famous for its crowded old streets and beautiful architecture.

B) Patan is famous for its temples and other old buildings.

C) Everest Base Camp is a place for climbers to prepare to climb the mountain.

D) The Royal Chitwan National Park is now a place to hunt animals.

C. Read the passage and fill in the blanks with proper words(在短文的空格内填入适当的词,使其内容通顺,每空格限填一词,首字母已给):(14分)

How Do You Get to School?—by Wayview School Newspaper

How did you get to school today? A recent survey shows that Wayview students get to school by riding the bus, driving, biking, walking and riding a scooter.

Our survey shows that 25% of Wayview students take the bus to school. Fourth grade student Wesley Gibson explained, “The bus is the best way to get to school. I can relax and chat I even finish my homework on the bus!” to school by their parents every day. In the bus or a car.

The other 50% of Wayview students ride their bikes, walk, or ride a scooter. Fifth-grader Alexis Wang is one of the 20% of Wayview students who walk to school each day. She said, “” Another 20% of Wayview students ride their bikes. Chris Madsen said he likes riding his bike because “it?s faster than walking, and you can race with your friends.”

The last group of Wayview students get to school by riding scooters. The number of

students riding scooters to school has . Last year, only 5% of the

students rode scooters, and this year it?s 10%. Ella Peterson said, “Riding a

way to get to school. It?s as fast as a bike, and

scooters are cool.” Headmaster Wang wanted to remind all Wayview students

riding a bike or scooter to school must wear a helmet.

As you can see, Wayview students find all kinds of ways to get to school. In the end it doesn?t really matter how you get here, as long as you get here on time!

D. Answer the questions(根据短文内容回答下列问题): (12分)

Super Singers

Imagine yourself singing in front of an audience,

performing in other countries, and having your music put on a

CD! All this excitement isn?t just for rock stars. Joining a

children?s chorus gives kids the chance to do these exciting

activities. What does it take to get into a children?s chorus? You

don?t need years of singing lessons. You just need to have a love

for singing and be willing to learn and follow directions.

It all starts at the audition(试唱). The choirmaster, or conductor, will have you sing with a group of kids. As the group sings, the conductor listens to how your voice comes together. You?ll also probably be asked to sing by yourself. The conductor wants to figure out what type of voice you have. A girl with a high voice is a soprano while a girl with a low voice is an alto. A boy with a high voice is a tenor, while a boy with a low voice is a bass. When the whole chorus sings together, the different types of voices sing different notes to the same song. This is called “singing parts”.

Once you pass the audition, you might be assigned to a specific group. Beginning singers are often grouped together in a “Treble Chorus”. More advanced singers might be in a “Concert Chorus”. Different choirs have different names for these groups. No matter which group you?re in, you?ll need to go to rehearsals. Most children?s choirs rehearse once a week.


get,by
由:免费论文网互联网用户整理提供,链接地址:
http://m.csmayi.cn/meiwen/42360.html
转载请保留,谢谢!
相关阅读
最近更新
推荐专题