NC Development Notes--Two open knowledge point __nc-erp two times development

Source: Internet
Author: User

Ufida Group of ERP customer Development series Books

Advanced Development of NC Client

Training Tutorials

V2.0 Edition

This tutorial is Ufida Company Limited internal training materials, limited to the internal development and application of Ufida, anyone without prior written permission may not expand the scope of use of this tutorial. Similarly, without the written permission of Ufida, no person shall, in any form, make additions, adaptations, extracts, translations, reprints or imitations of this handbook.

The copyright of this handbook belongs to Ufida Company Limited

All rights reserved? Turn over the system

January 2009 First Printing

Printed in the People's Republic of China

Ufida Software Co., Ltd.

Directory

First Introductory article ......................................................................................................................... ........ 5

1. Establish NC Environment ......................................................................................................................... .. 5

An overview of ... ...... ..... ..... ..... ..... ..... ...... ...... ..... ..... ...... ..... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............... 5

A detailed description of ... .... ..... ..... ..... ..... ...... ..... ...... ..... ..... ...... ...... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............... 6

1.1.1. Establish a database ....................................................................................................... 6

1.1.2. Install NC ............................................................................................................ 7

1.1.3. Configure Startup NC .................................................................................................... 9

1.1.4. In eclipse, establish an NC development environment ................ ..... ............. ....... ....... ....... ... 13

1.1.5. Product parameters, file initialization ... ..... ...... ..... ..... ..... ..... ..... ..... ... .......... ....... ....... ...... ...... ... 19

1.1.6. Rights Management ......................................................................................................... 22

1.1.7. Introduction to the main catalogue structure of products ..... ..... ..... ..... ..... ..... ..... .......... ....... ....... ....... ....... ... 24

2. NC Basic Technology ......................................................................................................................... . 25

An overview of ... ...... ..... ..... ..... ..... ..... ...... ...... ..... ..... ...... ..... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 25

A detailed description of ... .... ..... ..... ..... ..... ...... ..... ...... ..... ..... ...... ...... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 25

2.1.1. NC UAP General Introduction ..... ..... ...... ..... ..... ..... ..... ..... ..... .......... ....... ....... ...... ...... ...... ... 25

2.1.2. Some basic concepts in NC development ..... .......... ........... .......... ....... ....... ...... ...... ... 30

The development model of 2.1.3. NC ........... ....... ....... ....... ..... ..... ..... ....... ....... ..... ..... ...... ..... ..... ...... ... 32

2.1.4. Develop a remote interface ... ..... ..... ..... ..... ...... ..... ..... ....... ..... ..... ....... ....... ..... ..... ...... ...... ..... ...... ... 34

? Define an interface ..... ..... ..... ..... ...... ...... ...... ...... ..... ...... ... ..... ....... ...... ..... ..... ...... ..... ..... ..... ..... ..... ... 34

? Implement this interface ... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... .......... ...... ..... ...... ...... ..... ...... ..... ..... ... 34

? Deploy components ... ...... ..... ..... ..... ..... ...... ...... ...... ..... ...... ... ..... ....... ...... ..... ..... ...... ..... ..... ..... ..... ..... ... 34

? The client calls ... ..... ..... ..... ..... ..... ...... ...... ....... ...... ... .......... ...... ..... ...... ...... ..... ...... ..... ..... ... 35

? Transactional Component Publishing ... ..... ..... ..... ..... ..... ...... ..... ..... ...... ... ..... ....... ...... ...... ..... ...... ...... ..... ..... ... 36

? Client-side code ... ..... ..... ..... ..... ..... ..... ..... ...... ..... ..... ... .......... ...... ..... ...... ...... ..... ...... ..... ..... ... 38

3. Data modeling ......................................................................................................................... ........ 40

An overview of ... ...... ..... ..... ..... ..... ..... ...... ...... ..... ..... ...... ..... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 40

A detailed description of ... .... ..... ..... ..... ..... ...... ..... ...... ..... ..... ...... ...... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 40

3.1.1. PowerDesigner ... ..... ..... ..... .... ..... .... ..... ..... ..... .... ..... .... ..... ..... ..... ..... .... .... ..... ..... ... .......... ....... ....... ...... ...... ...... ... 40

3.1.2. Generate NC Data dictionary ..... ..... ...... ..... ...... ...... ...... ..... ........ ....... ...... ...... ..... ..... ..... ...... ... 48

Second Article Intermediate ......................................................................................................................... ...... 49

4. Document Development ......................................................................................................................... ........ 50

An overview of ... ...... ..... ..... ..... ..... ..... ...... ...... ..... ..... ...... ..... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 50

A detailed description of ... .... ..... ..... ..... ..... ...... ..... ...... ..... ..... ...... ...... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 50

4.1.1. Enter Workshop ............................................................................................... 50

4.1.2. Form development process navigation tools ..... ....... ...... ...... ...... ..... ... .......... ....... ....... ...... ...... ..... ... 52

4.1.3. UI Factory ............................................................................................................ 65

5. The technology of NC database persistence .......................................................................................................... 68

An overview of ... ...... ..... ..... ..... ..... ..... ...... ...... ..... ..... ...... ..... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 68

A detailed description of ... .... ..... ..... ..... ..... ...... ..... ...... ..... ..... ...... ...... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 69

5.1.1. Introduction to the Core class: ....... ..... ..... ..... ..... .......... ..... ... .......... ...... ..... ...... ...... ..... ...... ..... ..... ... 69

5.1.2. Access to the database through the JDBC Framework .............. ... ................ ........ ... 70

5.1.3. The persistence of objects through Basedao ...... ..... to persist the object by the means of ..... ............... ....... ....... ... 73

1

Ufida Software Co., Ltd.

5.1.4. Result set Control ..................................................................................................... 74

6. Document development Other related technology ......................................................................................................... 75

An overview of ... ...... ..... ..... ..... ..... ..... ...... ...... ..... ..... ...... ..... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 75

A detailed description of ... .... ..... ..... ..... ..... ...... ..... ...... ..... ..... ...... ...... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 75

6.1.1. Reference development ......................................................................................................... 75

6.1.1.1. Reference class structure diagram ............ ...... ....... ....... ..... .......... ....... ....... ...... ...... ...... ... 75

6.1.1.2. Customize the reference Development specification .... ................... ..... .......... ....... ....... ...... ...... ... 76

6.1.1.3. Uirefpane and Refmodle Settings ....... ....., ... and ....., ... and ... ............... ....... ....... 78

6.1.2. Document Number ..... ....... ...... ..... ..... ..... ..... ...... ..... ..... ..... ..... ... ..... ....... ...... ..... ..... ...... ..... ..... ..... ..... ...... ... 79

6.1.2.1. Document number Rule ... ........ ....... ....... ....... ....... ..... ..... ....... ...... ...... ..... ...... ...... ..... ..... ... 79

6.1.2.2 ... interface methods ........... ....... ....... ....... ....... ...... ..... ....... ....... ..... ..... ...... ...... ..... ...... ... 81

6.1.3. Formula ................................................................................................................. 83

6.1.4. Lock ..................................................................................................................... 88

6.1.5. Log ................................................................................................................. 90

6.1.6. Anomaly ................................................................................................................. 91

7. Report Development ......................................................................................................................... ........ 93

An overview of ... ...... ..... ..... ..... ..... ..... ...... ...... ..... ..... ...... ..... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 93

A detailed description of ... .... ..... ..... ..... ..... ...... ..... ...... ..... ..... ...... ...... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 93

7.1.1 ... getting started .............. .............. ... .......... ....... ....... ...... ...... ... Error. No bookmarks are defined.

7.1.2. Query model ....... ..... ....... .... ......... ............. ...... ....... ....... ... Error. No bookmarks are defined.

7.1.3 ... format design ... ....... ..... ..... ..... ..... ..... ... ............. ...... ....... ....... ... Error. No bookmarks are defined.

7.1.4. Publish a report ...... ..... ....... .... ......... ............. ...... ....... ....... ... Error. No bookmarks are defined.

Third Advanced article ......................................................................................................................... ...... 93

8. Early Warning Platform ......................................................................................................................... ........ 93

An overview of ... ...... ..... ..... ..... ..... ..... ...... ...... ..... ..... ...... ..... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 93

A detailed description of ... .... ..... ..... ..... ..... ...... ..... ...... ..... ..... ...... ...... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ............. 94

8.1.1. Early warning type registration ..... ...... ..... ..... ....... ....... ....... ..... ..... ....... ....... ..... ..... ...... ...... ..... ...... ... 94

8.1.2. Early warning Entry registration ..... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ....... ....... ..... ..... ...... ...... ..... ...... ... 96

9. Exchange Platform ......................................................................................................................... ...... 101

An overview of ... ...... ..... ..... ..... ..... ..... ...... ...... ..... ..... ...... ..... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ........... 101 Detailed Introduction ......................................................................................................................... ...... 101

9.1.1. Exchange platform to use ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ....... ....... ..... ..... ...... ..... ..... ...... ... 101

9.1.2. Exchange Platform Plugin development ...... ..... ..... ..... ..... ..... ..... .... ..... .......... ....... ....... ...... ...... ...... ... 107

10. Process Platform ....................................................................................................................... 109

An overview of ... ...... ..... ..... ..... ..... ..... ...... ...... ..... ..... ...... ..... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ........... 109 Detailed Introduction ......................................................................................................................... ...... 109

10.1.1. Introduction to the Process platform ..... ..... ..... ..... ..... ...... ..... ..... ...... ... ..... ....... ....... ..... ..... ...... ..... ..... ...... ... 109 10.1.2. Business process ... ..... ..... ..... ..... ..... ...... ..... ..... ..... ..... ..... ... ..... ....... ...... ...... ..... ...... ..... ...... ..... ..... ... 111

Business Type ... ..... ..... ..... ..... ...... ..... ..... ..... ..... ..... ..... ...... ... ..... ........ ..... ..... ...... ..... ..... ..... ..... ..... ..... ...... ... 112

Process configuration ... ..... ..... ..... ..... ..... ..... ..... ..... ...... ..... ...... ..... ... ..... ........ ..... ..... ...... ..... ..... ..... ..... ..... ..... ...... ... 113

Document permission Configuration ... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ...... ... ..... ....... ...... ...... ..... ...... ..... ...... ..... ..... ... 114

Document Source Configuration ... ..... ..... ..... ..... ..... ...... ...... ...... ..... ...... ... ..... ....... ...... ...... ..... ...... ..... ...... ..... ..... ... 115

Action-constrained configuration ... ..... ..... ..... ..... ..... ..... ..... ...... ..... ..... ..... ..... ....... ...... ...... ..... ...... ..... ...... ..... ..... ... 116

Action Event Control configuration ... ..... ....... ..... ..... ...... ..... ..... ..... ..... ..... ....... ....... ..... ..... ...... ..... ..... ...... ... 117

2

Ufida Software Co., Ltd.

Action-driven configuration ... ..... ..... ..... ..... ..... ..... ...... ...... ..... ...... ... ..... ....... ...... ...... ..... ...... ..... ...... ..... ..... ... 117

Documents VO Exchange ... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ...... ... ..... ....... ...... ...... ..... ...... ..... ...... ..... ..... ... 118

The following is a minimized push process .................. ..... ............. ...... ....... ....... ... 120

Pull document (the upstream and downstream reference of the document) ..... ......... ....... ............. ....... ....... ....... ... 121

10.1.3. Approval Flow ........................................................................................................... 122

Approval flow definition ... ..... ..... ..... ..... ..... ...... ...... ...... ..... ...... ..... ... ..... ....... ...... ..... ..... ...... ..... ..... ..... ..... ...... ... 122

Approval flow programming ... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ...... ... ..... ....... ...... ..... ..... ...... ..... ..... ..... ..... ...... ... 127

10.1.4. Message Center ....................................................................................................... 135

11. Accounting Platform ....................................................................................................................... 139

An overview of ... ...... ..... ..... ..... ..... ..... ...... ...... ..... ..... ...... ..... ... ..... ....... ...... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ... ........... 139 Detailed Introduction ......................................................................................................................... ...... 139

11.1.1 ... accounting platform registration ... ...... ..... ..... ..... ..... ..... ..... ..... ..... .... ... ..... ....... ....... ..... ..... ...... ..... ..... ...... ... 140 11.1.2. Code calls ... ..... ..... ..... ..... ...... ..... ..... ..... ..... ..... ..... ... ..... ....... ...... ...... ..... ...... ..... ...... ..... ..... ... 146

12. Single point of landing ....................................................................................................................... 147

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.