CN106155681A - Voucher resource edit method - Google Patents

Voucher resource edit method Download PDF

Info

Publication number
CN106155681A
CN106155681A CN201610486483.XA CN201610486483A CN106155681A CN 106155681 A CN106155681 A CN 106155681A CN 201610486483 A CN201610486483 A CN 201610486483A CN 106155681 A CN106155681 A CN 106155681A
Authority
CN
China
Prior art keywords
voucher
resource
application
voucher resource
masterplate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610486483.XA
Other languages
Chinese (zh)
Other versions
CN106155681B (en
Inventor
张航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Science And Technology Co Ltd
Original Assignee
Chengdu Science And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Science And Technology Co Ltd filed Critical Chengdu Science And Technology Co Ltd
Priority to CN201610486483.XA priority Critical patent/CN106155681B/en
Publication of CN106155681A publication Critical patent/CN106155681A/en
Application granted granted Critical
Publication of CN106155681B publication Critical patent/CN106155681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to voucher resource edit method, including step: after a. is to the attribute of basis credential is defined and arranges in system, basis credential is registered as voucher resource, and generates interface and operation logic;B. by interface interchange voucher resource, and by input equipment, different application scenarios is arranged type and/or the application mode of the input/output parameters of resource credential, make voucher resource be associated as application masterplate with corresponding application scenarios;C. call application masterplate, allow the voucher resource of correspondence export the output parameter obtained to system front end, the interface function of change system front end application scenarios.The method of the present invention can adequately achieve the adaptation to various application scenarios by the most differently configured voucher resource of standardized application template.And eliminating trifling usability of program fragments combination in systems, voucher resource at utmost achieves and reuses, and high degree improves reusability and system effectiveness, significantly simplifies the complexity of system.

Description

Voucher resource edit method
Technical field
The present invention relates to be a kind of application mode to data message, be especially the edit methods to voucher resource, special Not Shi He but be not only limited to ERP system.
Background technology
Traditional E RP (Enterprise Resource Planning)) principle of system and flow process be the generation by bottom Code constitute, after code is compiled into merit, logic and the function of ERP system just have cured, its all business scenarios be all Fix during design, cannot change when run mode.When running into business scenario and needing change, traditional E RP system is led to Normal way is: develop the newest code logic unit, arranges a lot of switch, and user controls concrete function by switch And flow process.The shortcoming of this mode, it is clear that code development time length, cost are high, when customer demand is various, can generate quantity A lot of this " code fragment " is difficult to manage.And these code logic unit are closely tied with concrete service logic often Altogether, can only a kind of business scenario underneath with, reuse rate low.
Summary of the invention
For above-mentioned situation, the invention provides a kind of voucher resource edit method, can be applicable to respectively by masterplate mode Plant application scenarios, form various arithmetic logic relation by arranging parameter and various combination, and reusable, make system light Quantify, it is simple to operation and maintenance.
Voucher resource edit method of the present invention, including step:
A. definition voucher resource: after the attribute of basis credential is defined and arranges in system, system is according to being defined With the attribute arranged, basis credential is registered as voucher resource, and generates the interface corresponding with voucher resource and operation logic;
B. application masterplate is set up: by described interface interchange voucher resource, and set by computer or special input Standby, such as keyboard, touch input device etc., different application scenarios is arranged the input/output parameters of resource credential type and/ Or application mode, make voucher resource be associated as with corresponding application scenarios applying masterplate;
C. using voucher resource: call described application masterplate, the output parameter that the voucher resource of correspondence will be obtained exports To system front end, the interface function of change system front end application scenarios.
As a example by ERP system, the voucher in usual ERP system, include sales order, purchase order, outbound storage bill, Financial affairs receipt lists etc., these can regard utilizable resource as, that is to say described basis credential.Meanwhile, ERP system Each function and flow process, also can regard combination and the use of these resources as.
Various different business scenarios are abstracted into needs obtain voucher resource, use voucher resource and voucher One process of resource write-back is the core of the inventive method.After all for system basis credential are defined as voucher resource, with All of voucher resource, as basic element, is formed standardized application template by card resource, and with input and output parameter.
Further according to the application logic that it is concrete, the input different by configuration credentials resource and output dimension or combination, real Existing miscellaneous service assembly and different business demands.Input and output number, particular content and the effect that different voucher resources are corresponding All different, various different business scenarios are abstracted into acquisition voucher resource, consumption certificate resource and one of resource write-back Process.Different business scenarios, according to the demand of oneself, is applied different application masterplates, is arranged different input/output, it is achieved Different functions.More complicated parameter arithmetic logic relation can also arrange the parameter group by defining tree structure, definition In parameter group " or " logical relation, and by the way of parameter being set and belongs to which parameter group, form any multilamellar Secondary complex calculation logical relation.
In the application, multiple application masterplate can be set up based on same voucher resource.Different application templates can be led to Cross and same voucher resource is configured different parameter, the logic of parameter quality inspection and/or different arithmetic logics sets up, suitable Answer plurality of application scenes, it is achieved resource credential reuses.It addition, different voucher resources, the quantity of its input/output parameters or Type is also likely to be different, and the meaning that each parameter comprises also is typically different, needs to different voucher resources respectively It is defined.Meanwhile, the arithmetic logic within voucher resource is also different, it is also desirable to define respectively.Such as, different vouchers Resource has different input parameters: " storage bill " this voucher resource, has input parameter " examination & approval entry time ", for table Showing the examination & approval entry time of storage bill, user is when using this voucher resource, it is possible to use this input parameter is screened full Foot examination & approval warehouse-in examination & approval time requirement voucher, and this parameter at other such as the voucher such as " sales order ", " purchase order " Just do not have in resource.
And different voucher resources, even if there being identical input parameter to be likely to have different implications: such as " voucher shape State ", it should it is that all of voucher resource has this to input parameter, but different voucher resources, its implication and value are all Different." credential status " of such as sales order, includes the states such as " examination & verification ", " auditing ", " completing ".And put in storage Single " credential status " is " examination & approval ", " examining ", " putting in storage " etc..
Different voucher resources, even if identical output parameter also has different implications: such as " comprised material list ", A lot of voucher resources have this output parameter, represent and meet the material information comprised inside the voucher required.Order for selling For list, this output parameter refers to the items list that this series sale of comprising of sales order is gone out.And buying is ordered Single, what this output parameter represented is the list of the raw material of the buying that this series purchase order comprises.
Therefore, in various application scenarios, need to arrange corresponding voucher resource or application masterplate parameter, to change application The function of template and/or arithmetic logic, make this application masterplate go for this application scenarios.
One further occupation mode is, different voucher resources can be combined to the combination type of complex calculation logic with Card resource.Different voucher resources can also be mutually combined by modes such as interface inheritances, form bigger, more logic is complicated Combination type voucher resource, be applicable to complexity application scenarios.
Concrete, in application masterplate, the attribute of voucher resource includes input and output parameter, wherein inputs the value bag of parameter Include fixed value and dynamic value.Wherein fixed value includes the value pre-set, or default value, such as, can preset " consumption order " The state of voucher resource is " examination & verification ", " auditing ", " completing " three fixed values.
Further, described dynamic value includes the data exported by system front end by application masterplate, and system provides Current data.Included user by system front end by the data of application masterplate output and input the data of application masterplate, and Application masterplate output data after system operations.Current data such as current time in system, date, the time that system provides Stamp etc..
Owing to a usual application scenarios can be corresponding or use the multiple application masterplate, a kind of conventional mode to be, Before calling application masterplate in step c, need the application masterplate first selecting current application scene to need, different templates, comprise The different parameters of voucher resource is arranged by application scenarios, also represent arithmetic logic and the function of different parameters.If system Arithmetic logic or function need to change, can be with newly-built one the application template with new function and arithmetic logic, then should It is switched to associated above new application template, it is also possible to the parameter of amendment application scenarios original application template sets by scene Put.Output parameter voucher resource corresponding for the most selected application masterplate obtained exports to system front end.
In order to make calling of program convenient, step c can call institute respectively by system front end or background program The application masterplate stated.When from system front end, when i.e. directly invoking application template in front-end interface, need system front end employ with The interface of card resource application template, background program also using the interface logic of this voucher templates simultaneously.
On the basis of above-mentioned, by unified interface interchange application masterplate in step c.By unified interface, system Just can manage all of voucher resource and application masterplate by unified form, such system front end or background program are all Can call and use these voucher resources, according to the difference of application scenarios, the input parameter of configuration resource, use these vouchers The output parameter of resource.
The voucher resource edit method of the present invention, it is possible to generate unitized, standardized application based on various voucher resources Template, can directly be configured to, above different voucher resources, according to the different demands of user, obtain number in the way of adapting According to, and it is tied on output parameter output parameter dynamically to return to application scenarios, adequately achieve various application scenarios Adapt to.And eliminating trifling usability of program fragments combination in systems, different voucher resources and application scenarios can be the most only Vertical, voucher resource can be reused completely, and high degree improves reusability and system effectiveness, significantly simplifies the complexity of system Degree.
Below in conjunction with the detailed description of the invention of embodiment, the foregoing of the present invention is described in further detail again. But this should not being interpreted as, the scope of the above-mentioned theme of the present invention is only limitted to below example.Without departing from the above-mentioned technology of the present invention Under the state of mind, the various replacements made according to ordinary skill knowledge and customary means or change, all should be included in this In the range of invention.
Detailed description of the invention
The voucher resource edit method of the present invention, including step:
A. definition voucher resource: after the attribute of basis credential is defined and arranges in system, system is according to being defined With the attribute arranged, basis credential is registered as voucher resource, and generates the interface corresponding with voucher resource and operation logic;
B. application masterplate is set up: the formation of application template, firstly the need of the voucher resource selected as data source, is then selected Select the data model as application scenarios.By described interface interchange voucher resource, and set by computer or special input Standby, such as keyboard, touch input device etc., input equipment arranges the input/output parameters of resource credential to different application scenarios Type and/or application mode, make voucher resource be associated as with corresponding application scenarios apply masterplate.Wherein input setting of parameter Putting, one is the value arranging input parameter, can be the data model delivery value of fixed value, application scenarios, or system is fixed The value that data source provides;Two is the arithmetic logic relation arranging input parameter.The arithmetic logic relation of parameter can be by arranging Input parameter " or " logical relation, define this parameter and the arithmetic logic computing of same other parameter of rank.
Further, more complicated parameter arithmetic logic relation is arranged can be by defining the parameter of tree structure Group, in defined parameters group " or " logical relation, and by the way of parameter being set and belongs to which parameter group, formed The most multi-level complex calculation logical relation.
It addition, in order to adapt to more complicated application scenarios, different voucher resources can also be by sides such as interface inheritances Formula is mutually combined the combination type voucher resource for having complex calculation logic.
C. voucher resource is used: select the application masterplate that current application scene needs, then by unified interface, by being System front end or background program call described application masterplate, when from system front end, when i.e. directly invoking application template in front-end interface, Needing system front end to employ the interface of voucher resource application template, background program also using the interface of this voucher templates simultaneously Logic.Output parameter output voucher resource corresponding for selected application masterplate obtained again is to system front end, change application The function of template and/or arithmetic logic so that it is adapt with this application scenarios.Achieving by the way of this parameter is arranged should With reusing of masterplate and voucher resource.Included user by system front end by the data of application masterplate output and input application masterplate Data, and after system operations application masterplate output data.
Different voucher resources, the quantity of its input/output parameters or type are different, the meaning that each parameter comprises Also it is different, needs different voucher resources is defined respectively.Meanwhile, the logic within voucher resource is also different , it is also desirable to define respectively.Such as, different voucher resources has different input parameters: " storage bill " this voucher resource, Having input parameter " examination & approval entry time ", be used for representing the examination & approval entry time of storage bill, user is using this voucher money During source, it is possible to use this input parameter screens the voucher meeting examination & approval warehouse-in examination & approval time requirement, and this parameter is at it Not just not having in the voucher resource such as " sales order ", " purchase order " of it.
And different voucher resources, even if there being identical input parameter to be likely to have different implications: such as " voucher shape State ", it should it is that all of voucher resource has this to input parameter, but different voucher resources, its implication and value are all Different." credential status " of such as sales order, includes the states such as " examination & verification ", " auditing ", " completing ".And put in storage Single " credential status " is " examination & approval ", " examining ", " putting in storage " etc..
Different voucher resources, even if identical output parameter also has different implications: such as " comprised material list ", A lot of voucher resources have this output parameter, represent and meet the material information comprised inside the voucher required.Order for selling For list, this output parameter refers to the items list that this series sale of comprising of sales order is gone out.And buying is ordered Single, what this output parameter represented is the list of the raw material of the buying that this series purchase order comprises.
The output parameter obtained is exported to system front end interface by the voucher resource that relief is corresponding, and change system front end should With the interface function of scene.
As a example by ERP system, the voucher in usual ERP system, include sales order, purchase order, outbound storage bill, Financial affairs receipt lists etc., these can regard utilizable resource as, that is to say described basis credential.Meanwhile, ERP system Each function and flow process, also can regard combination and the use of these resources as.Such as user has such demand: dynamically Change warehouse to report to the police and arrange: user has many different types of warehouses, including producing warehouse, shipment warehouse, the depositing of point-of-sale terminal Freight house storehouse etc..Many warehouses are all provided with stock and report to the police, i.e. by arranging the safety " threshold values " of quantity of goods, when physicals storehouse When depositing less than " minimum threshold values " or be higher than " maximum threshold values ", all can trigger security alarm.The safety " threshold value " in such as warehouse is: Minimum threshold: 20, max-thresholds: 100.
Under normal circumstances, the safety " threshold values " of stock is one and determines value, can directly input, it is achieved get up the simplest Single.But if client needs there is particularization demand: some warehouse, " threshold values " of safety inventory is the process of a dynamic calculation: " safe threshold " is to be obtained by the sales volume of this commodity same period last year, or some channel terminal deposit godown, should The threshold values of " safety inventory " in warehouse is calculated by the average inventory same period last year.Such as same month last year, the average daily sales volume of commodity A Being 50, these " 50 " are the 50% of this standard value as the reference value of a warehouse level threshold value, minimum threshold, maximum Threshold value is this standard value 200%, then it can be calculated that the shipment warehouse of this sales department of this month in this year, it should arrange Little, maximum threshold value is respectively as follows: 25 and 100.If same month last year, average daily sales volume was 60, then dynamic calculation goes out Little, maximum threshold value is respectively as follows: 30 and 120.
In this case, use the method for the present embodiment to realize dynamic stock and report to the police, this operation flow is regarded as The business scenario of " stock's setting ", calls the voucher resource of " sales order " or " inventory ", and will obtain the flat of material Average is as the output of voucher resource, using " stock's setting " as application scenarios, " sales order " or the voucher of " packing slip " Resource, as resource provider, carries out system setting.

Claims (8)

1. voucher resource edit method, its feature includes step:
A. definition voucher resource: after the attribute of basis credential is defined and arranges in system, system is according to being defined and setting Basis credential is registered as voucher resource by the attribute put, and generates the interface corresponding with voucher resource and operation logic;
B. application masterplate is set up: by described interface interchange voucher resource, and by input equipment, different application scenarios is set Put type and/or the application mode of the input/output parameters of resource credential, make voucher resource be associated as with corresponding application scenarios Application masterplate;
C. use voucher resource: call described application masterplate, allow the voucher resource of correspondence export the output parameter of acquisition to being System front end, the interface function of change system front end application scenarios.
2. voucher resource edit method as claimed in claim 1, is characterized by: in step b, can set identical voucher resource Put different parameters and/or parameter arithmetic logic to set up different application masterplates.
3. voucher resource edit method as claimed in claim 1, is characterized by: different voucher resources can be combined to complicated fortune Calculate the combination type voucher resource of logic.
4. voucher resource edit method as claimed in claim 1, is characterized by: in application masterplate, the attribute of voucher resource includes Input and output parameter, the value wherein inputting parameter includes fixed value and dynamic value.
5. voucher resource edit method as claimed in claim 4, is characterized by: described dynamic value includes being led to by system front end Cross the data of application masterplate output, and the current data that system provides.
6. voucher resource edit method as claimed in claim 1, is characterized by: in step c before calling application masterplate, first select Selecting the application masterplate that current application scenarios needs, voucher resource corresponding for the most selected application masterplate obtained is defeated Go out parameter to export to system front end.
7. the voucher resource edit method as described in one of claim 1 to 6, is characterized by: in step c by system front end or Background program calls described application masterplate.
8. voucher resource edit method as claimed in claim 7, is characterized by: should by unified interface interchange in step c Use masterplate.
CN201610486483.XA 2016-06-28 2016-06-28 Voucher resource edit method Active CN106155681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610486483.XA CN106155681B (en) 2016-06-28 2016-06-28 Voucher resource edit method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610486483.XA CN106155681B (en) 2016-06-28 2016-06-28 Voucher resource edit method

Publications (2)

Publication Number Publication Date
CN106155681A true CN106155681A (en) 2016-11-23
CN106155681B CN106155681B (en) 2019-04-09

Family

ID=57349497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610486483.XA Active CN106155681B (en) 2016-06-28 2016-06-28 Voucher resource edit method

Country Status (1)

Country Link
CN (1) CN106155681B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254768A (en) * 2018-08-16 2019-01-22 中国平安人寿保险股份有限公司 Acquisition methods, terminal device and the medium of accreditation information
CN113377371A (en) * 2021-06-02 2021-09-10 五八到家有限公司 Multi-scene configuration method, system, device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251809A (en) * 2008-03-11 2008-08-27 浪潮集团山东通用软件有限公司 Implementing method of data interface
CN101493834A (en) * 2009-02-17 2009-07-29 浪潮集团山东通用软件有限公司 Method for generating evidence for keeping account by random service system document
US20120204035A1 (en) * 2010-07-30 2012-08-09 International Business Machines Corporation Cryptographic Proofs in Data Processing Systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251809A (en) * 2008-03-11 2008-08-27 浪潮集团山东通用软件有限公司 Implementing method of data interface
CN101493834A (en) * 2009-02-17 2009-07-29 浪潮集团山东通用软件有限公司 Method for generating evidence for keeping account by random service system document
US20120204035A1 (en) * 2010-07-30 2012-08-09 International Business Machines Corporation Cryptographic Proofs in Data Processing Systems

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254768A (en) * 2018-08-16 2019-01-22 中国平安人寿保险股份有限公司 Acquisition methods, terminal device and the medium of accreditation information
CN109254768B (en) * 2018-08-16 2024-04-12 中国平安人寿保险股份有限公司 Method for acquiring certificate making information, terminal equipment and medium
CN113377371A (en) * 2021-06-02 2021-09-10 五八到家有限公司 Multi-scene configuration method, system, device and medium

Also Published As

Publication number Publication date
CN106155681B (en) 2019-04-09

Similar Documents

Publication Publication Date Title
Westerkamp et al. Tracing manufacturing processes using blockchain-based token compositions
Westerkamp et al. Blockchain-based supply chain traceability: Token recipes model manufacturing processes
CN109886677B (en) Commodity purchasing method and device based on block chain
Raff et al. Firm productivity and the foreign‐market entry decision
US11595211B2 (en) Apparatus and methods for intelligent token-based authentication within a distributed database using hierarchical data files
CN108805707A (en) Works copyright revenue distribution method and device based on block chain
US20140100910A1 (en) System and Method for Audits with Automated Data Analysis
US20090006315A1 (en) Structured method for schema matching using multiple levels of ontologies
US9558215B2 (en) Governing information
CN109597936A (en) A kind of new user's screening system and method
Britton The role of services in production
CN105913314A (en) Interest settlement system and method by means of rule engine processing
Yesudas et al. Intelligent operational dashboards for smarter commerce using big data
ElMessiry et al. Dual Token Blockchain Economy Framework: The Garment Use Case
Safaei An integrated multi-objective model for allocating the limited sources in a multiple multi-stage lean supply chain
CN111967821A (en) Method, device, equipment and system for generating clearance confirmation information
CN106155681A (en) Voucher resource edit method
Malini Transparancy and accountability contribution toward sustainability of banking sector in Indonesia
US20210272113A1 (en) Transaction audit system
Tejeida‐Padilla et al. A systems science approach to enterprise resources planning systems
Haag et al. Further empowering variant tables for mass customization
JPWO2019138670A1 (en) Business management system and business management method
Nakabayashi Imposed Efficiency of Treaty Ports: J apanese Industrialization and Western Imperialist Institutions
Zeleti et al. Capability development in open data-driven organizations
Mirsalehy et al. Centralized resource allocation for connecting radial and nonradial models

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant