Common EAS Bos client code

Source: Internet
Author: User
Public void onload () throws exception {super. onload (); contname. setenabled (false); contname. setvisible (true); kdtdefaultcelleditor workarea_editor = (kdtdefaultcelleditor) kdtentrys. getcolumn ("workarea "). geteditor (); kdbizpromptbox workarea_prompt = (kdbizpromptbox) workarea_editor.getcomponent (); workarea_prompt.setqueryinfo ("com. kingdee. EAS. custom. quality. basedata. app. f7gongqucategoryquery "); kdtdefaultcelleditor extends sional_editor = (kdtdefaultcelleditor) kdtentrys. getcolumn ("professional "). geteditor (); kdbizpromptbox extends sional_prompt = (kdbizpromptbox) extends sional_editor.getcomponent (); extends sional_prompt.setqueryinfo ("com. kingdee. EAS. custom. quality. basedata. app. f7subjecttypequery "); kdtdefaultcelleditor outperson_editor = (kdtdefaultcelleditor) kdtentrys. getcolumn ("outperson "). geteditor (); kdbizpromptbox outperson_prompt = (kdbizpromptbox) values (); outperson_prompt.setdisplayformat ("$ cardid $"); outperson_prompt.seteditformat ("$ cardid $ "); outperson_prompt.setcommitformat ("$ cardid $"); kdtentrys_detailpanel.settitle ("outsourcing personnel information"); computil. settitlepanellength (kdtentrys_detailpanel, 120 );}

 
Protected void verifyinput (actionevent e) throws exception {kdlabelcontainer [] Container = new kdlabelcontainer [] {contcontractnum, contsubunit, contprojectitem}; stexception exc = strequistmtils. checkrequireditem (container); If (stutils. isnotnull (EXC) {super. handuiexceptionandabort (EXC);} string [] columnnames = new string [] {"outperson", "team", "workarea", "professional", "startdate "}; stexception exc2 = strequi1_tils. checkentryrequireditem (kdtentrys, columnnames); If (stutils. isnotnull (exc2) {super. handuiexceptionandabort (exc2);} super. verifyinput (E );}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.