CN106155681B - Voucher resource edit method - Google Patents

Voucher resource edit method Download PDF

Info

Publication number
CN106155681B
CN106155681B CN201610486483.XA CN201610486483A CN106155681B CN 106155681 B CN106155681 B CN 106155681B CN 201610486483 A CN201610486483 A CN 201610486483A CN 106155681 B CN106155681 B CN 106155681B
Authority
CN
China
Prior art keywords
voucher
resource
template
different
parameter
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.)
Active
Application number
CN201610486483.XA
Other languages
Chinese (zh)
Other versions
CN106155681A (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 methods, comprising steps of basis credential is registered as voucher resource, and generate interface and operation logic after a. is defined and is arranged to the attribute of basis credential in system;B. voucher resource is called by interface, and is associated as voucher resource using template with corresponding application scenarios the type and/or application mode of the input/output parameters of different application scenarios setting resource credentials by input equipment;C. it calls and applies template, allow corresponding voucher resource to export the output parameter of acquisition to system front end, change the interface function of system front end application scenarios.Method of the invention can directly configure different voucher resources by standardized application template, adequately achieve the adaptation to various application scenarios.And trifling usability of program fragments combination is eliminated in systems, voucher resource utmostly realizes reuse, and high degree improves reusability and system effectiveness, significantly simplifies the complexity of system.

Description

Voucher resource edit method
Technical field
It is especially the edit methods to voucher resource the present invention relates to being a kind of application mode to data information, it is special Shi He but ERP system be not only limited to.
Background technique
Traditional ERP (Enterprise Resource Planning)) system principle and process be generation by bottom Code constitute, after code is compiled into function, the logic and function of ERP system are just had cured, its all business scenarios be all It has fixed when design, can not have been changed in run mode.When encountering business scenario and needing to change, traditional ERP system is logical Normal way is: many switches are arranged in many new code logic units of exploitation, and user controls specific function by switching And process.The shortcomings that this mode it is clear that the code development time it is long, at high cost, can generation quantity when customer demand is various Many this " code fragments " are difficult to manage.And these code logic units are often closely tied with specific service logic It altogether, can only be in a kind of business scenario underneath with reuse rate is low.
Summary of the invention
For above situation, the present invention provides a kind of voucher resource edit methods, can be suitable for by template mode each Kind application scenarios form various arithmetic logic relationships by setting parameter and various combinations, and reusable, keep system light Quantization is easy to use and safeguards.
Voucher resource edit method of the present invention, comprising steps of
A. define voucher resource: after the attribute of basis credential in system is defined and is arranged, system is according to being defined Basis credential is registered as into voucher resource with the attribute of setting, and generates interface corresponding with voucher resource and operation logic;
B. it establishes and applies template: voucher resource being called by the interface, and is set by computer or dedicated input It is standby, such as keyboard, touch input device, type to the input/output parameters of different application scenarios setting resource credentials and/ Or application mode, it is associated as voucher resource using template with corresponding application scenarios;
C. use voucher resource: calling is described to apply template, and corresponding voucher resource is allowed to export the output parameter of acquisition To system front end, the interface function of system front end application scenarios is changed.
By taking ERP system as an example, voucher in usual ERP system, include sales order, purchase order, outbound storage bill, Financial affairs receipt list etc., these can regard utilizable resource as, that is to say the basis credential.Meanwhile ERP system Each function and process, can also regard the combination and use of these resources as.
A variety of different business scenarios are abstracted into one and need to obtain voucher resource, using voucher resource and voucher One process of resource write-back is the core of the method for the present invention.After all basis credentials of system are defined as voucher resource, with It demonstrate,proves resource and all voucher resources is formed into standardized application template as basic element, and have and output and input parameter.
Specifically apply logic further according to it, by configuration credentials resource it is different output and input dimension or combination, it is real Existing various businesses component and different business demands.The corresponding input and output number of different voucher resources, particular content and effect It is all different, a variety of different business scenarios are abstracted into one for obtaining voucher resource, consumption certificate resource and resource write-back Process.Different business scenarios apply template according to their own needs, using different, and different input/output is arranged, realizes Different functions.The parameter group by defining tree structure, definition can also be arranged in more complicated parameter arithmetic logic relationship In parameter group " or " logical relation, and by way of parameter is set and belongs to which parameter group, form any multilayer Secondary complex calculation logical relation.
In the application, it can be based on the same voucher resource, established multiple using template.Different application templates can lead to It crosses and different parameters, the logic of parameter quality inspection and/or different arithmetic logics is configured to same voucher resource to establish, fit Plurality of application scenes is answered, realizes the reuse of resource credential.In addition, different voucher resources, the quantity of input/output parameters or Type may also be different, and the meaning that each parameter includes also usually is different, and need to distinguish different voucher resources It is defined.Meanwhile the arithmetic logic inside voucher resource is also different, it is also desirable to be defined respectively.For example, different vouchers Resource possesses different input parameter: " storage bill " this voucher resource, possesses input parameter " examination & approval entry time ", is used to table Show the examination & approval entry time of storage bill, it is full to screen to can use this input parameter when using this voucher resource by user The voucher of foot examination & approval storage examination & approval time requirement, and this parameter is in other such as " sales orders ", " purchase order " voucher Just do not have in resource.
And different voucher resources, even if there is identical input parameter that may also have different meanings: such as " voucher shape State ", it should be that all voucher resources have this to input parameter, but are different voucher resource, its meaning and value is all Different.Such as " credential status " of sales order, it include the states such as " not auditing ", " audit ", " being completed ".And it is put in storage Single " credential status " be " not examining ", " examination & approval ", " storage " etc..
Different voucher resources, there is different meanings identical output parameter: such as " included material list ", Many voucher resources have this output parameter, indicate the material information for including inside the voucher met the requirements.Sale is ordered For list, this output parameter refers to the items list sold away that this series sales order includes.And buying is ordered Single, what this output parameter indicated is the list of the raw material for the buying that this serial purchase order includes.
Therefore, it in various application scenarios, needs to be arranged corresponding voucher resource or applies template parameter, to change application The function and/or arithmetic logic of template make this can be adapted for the application scenarios using template.
A kind of further usage mode is, different voucher resources can be combined to the combined type of complex calculation logic with Demonstrate,prove resource.Different voucher resources can also be combined with each other by modes such as interface inheritances, and composition is bigger, more logic is complicated Combined type voucher resource, to be suitable for complicated application scenarios.
Specifically, including outputting and inputting parameter using the attribute of voucher resource in template, wherein the value packet of input 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 " not auditing ", " audit ", " being completed " three fixed values.
Further, the dynamic value includes by system front end by providing using the data and system of template output Current data.By system front end by using template output data include user input apply template data, and Template output data is applied after system operations.Current data such as current time in system, date, the time that system provides Stamp etc..
Since a usual application scenarios can correspond to or using multiple using template, a kind of common mode is, It is called in step c and applies template using before template, need that current application scene is first selected to need, different templates includes The different parameters of voucher resource are arranged in application scenarios, also represent the arithmetic logic and function of different parameters.If system Arithmetic logic or function need to change, can create one has the function of new and arithmetic logic application template, then will answer It is switched to above new application template and is associated with scene, the parameter that can also modify the original application template of application scenarios is set It sets.Then the corresponding voucher resource output parameter obtained of selected application template is exported to system front end again.
In order to keep the calling of program more convenient, institute can be called by system front end or background program respectively in step c That states applies template.When from system front end, i.e., when calling directly application template in front-end interface, need system front end used with The interface of resource application template is demonstrate,proved, while background program also uses the interface logic of the voucher templates.
On the basis of above-mentioned, called in step c by unified interface and apply template.Pass through unified interface, system All voucher resources can be managed with unified form and using template, such system front end or background program are all These voucher resources can be called and be used, according to the difference of application scenarios, the input parameter of resource is configured, uses these vouchers The output parameter of resource.
Voucher resource edit method of the invention can generate unitized, standardized application based on various voucher resources Template can be directly configured to above different voucher resources, according to the different demands of user, obtain number in a manner of being adapted According to, and be tied on output parameter and output parameter dynamic is returned to application scenarios, it adequately achieves to various application scenarios It adapts to.And trifling usability of program fragments combination is eliminated in systems, different voucher resources and application scenarios can completely solely Vertical, voucher resource can reuse completely, and high degree improves reusability and system effectiveness, significantly simplify the complexity of system Degree.
Specific embodiment with reference to embodiments is described in further detail above content of the invention again. But this should not be interpreted as to the scope of the above subject matter of the present invention is limited to the following embodiments.The above-mentioned technology of the present invention is not being departed from Under the state of mind, the various replacements or change made according to ordinary skill knowledge and customary means should all be included in this In the range of invention.
Specific embodiment
Voucher resource edit method of the invention, comprising steps of
A. define voucher resource: after the attribute of basis credential in system is defined and is arranged, system is according to being defined Basis credential is registered as into voucher resource with the attribute of setting, and generates interface corresponding with voucher resource and operation logic;
B. establish and apply template: then the formation of application template is selected firstly the need of the voucher resource for being selected as data source Select the data model as application scenarios.Voucher resource is called by the interface, and is set by computer or dedicated input It is standby, such as keyboard, touch input device, input/output parameters of the input equipment to different application scenarios setting resource credentials Type and/or application mode, be associated as voucher resource and corresponding application scenarios using template.Wherein input setting for parameter It sets, first is that the value of setting input parameter, can be fixed value, the data model delivery value of application scenarios or system and fix The value that data source provides;Second is that the arithmetic logic relationship of setting input parameter.The arithmetic logic relationship of parameter can pass through setting Input parameter " or " logical relation, define the arithmetic logic operation of the parameter and same rank other parameters.
Further, the setting of more complicated parameter arithmetic logic relationship can pass through the parameter of definition tree structure Group, in defined parameters group " or " logical relation, and by way of parameter is set and belongs to which parameter group, it is formed Any multi-level complex calculation logical relation.
In addition, in order to adapt to more complicated application scenarios, different voucher resources can also pass through the side such as interface inheritance It is the combined type voucher resource with complex calculation logic that formula, which is combined with each other,.
C. use voucher resource: what selection current application scene needed applies template, then by unified interface, by being Unite front end or background program call it is described apply template, when from system front end, i.e., when calling directly application template in front-end interface, System front end is needed to use the interface of voucher resource application template, while background program also uses the interface of the voucher templates Logic.The corresponding voucher resource output parameter obtained of selected application template is exported to system front end, change application again The function and/or arithmetic logic of template are adapted it with the application scenarios.It is realized and is answered by way of this parameter setting With the reuse of template and voucher resource.It by the data using template output include user's input using template by system front end Data, and after system operations apply template output data.
Different voucher resources, the quantity or type of input/output parameters are different, the meaning that each parameter includes Also it is different, needs to be defined different voucher resources respectively.Meanwhile the logic inside voucher resource is also different , it is also desirable to it defines respectively.For example, different voucher resources possesses different input parameter: " storage bill " this voucher resource, Possess input parameter " examination & approval entry time ", for indicating the examination & approval entry time of storage bill, user is provided using this voucher When source, this input parameter can use to screen the voucher for meeting examination & approval storage examination & approval time requirement, and this parameter is at it It does not have if in the vouchers resource such as " sales order ", " purchase order ".
And different voucher resources, even if there is identical input parameter that may also have different meanings: such as " voucher shape State ", it should be that all voucher resources have this to input parameter, but are different voucher resource, its meaning and value is all Different.Such as " credential status " of sales order, it include the states such as " not auditing ", " audit ", " being completed ".And it is put in storage Single " credential status " be " not examining ", " examination & approval ", " storage " etc..
Different voucher resources, there is different meanings identical output parameter: such as " included material list ", Many voucher resources have this output parameter, indicate the material information for including inside the voucher met the requirements.Sale is ordered For list, this output parameter refers to the items list sold away that this series sales order includes.And buying is ordered Single, what this output parameter indicated is the list of the raw material for the buying that this serial purchase order includes.
It finally allows corresponding voucher resource to export the output parameter of acquisition to system front end interface, changes system front end and answer With the interface function of scene.
By taking ERP system as an example, voucher in usual ERP system, include sales order, purchase order, outbound storage bill, Financial affairs receipt list etc., these can regard utilizable resource as, that is to say the basis credential.Meanwhile ERP system Each function and process, can also regard the combination and use of these resources as.Such as user has such demand: dynamic Change warehouse alarm setting: user is deposited including production warehouse, shipment warehouse, point-of-sale terminal there are many a different types of warehouse Freight house library etc..Many warehouses are all provided with inventory's alarm, i.e., by the safety " threshold values " of setting quantity of goods, when physicals library When depositing lower than " minimum threshold values " or being higher than " maximum threshold values ", security alarm can be all triggered.Such as the safety " threshold value " in warehouse is: Minimum threshold: 20, max-thresholds: 100.
Under normal conditions, the safety " threshold values " of inventory is a determining value, can directly input, implement also simpler It is single.But client has particularization demand if necessary: certain warehouses, and " threshold values " of safety inventory is the process that a dynamic calculates: " safe threshold " be obtained by the sales volume of the same period last year this commodity or some channel terminal deposit godown, should The threshold values of " safety inventory " in warehouse is calculated by same period last year average inventory.Such as same month last year, the average daily sales volume of commodity A It is 50, this reference value of " 50 " as a warehouse level threshold value, minimum threshold is the 50% of this standard value, 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 which setting is most Small, maximum threshold value is respectively as follows: 25 and 100.If same month last year average daily sales volume is 60, dynamically calculate most Small, maximum threshold value is respectively as follows: 30 and 120.
In this case, dynamic inventory's alarm is realized using the method for the present embodiment, this operation flow is regarded as The business scenario of " inventory's setting " calls the voucher resource of " sales order " or " listed stock ", and will obtain the flat of material Output of the mean value as voucher resource, using " inventory's setting " as application scenarios, the voucher of " sales order " or " packing slip " Resource carries out system setting as resource provider.

Claims (3)

1. voucher resource edit method, feature comprising steps of
A. define voucher resource: after the attribute of basis credential in system is defined and is arranged, system is according to defining and set Basis credential is registered as voucher resource by the attribute set, and generates interface corresponding with voucher resource and operation logic;
B. it establishes and applies template: voucher resource being called by the interface, and different application scenarios are set by input equipment The type and/or application mode for setting the input/output parameters of resource credential, are associated as voucher resource with corresponding application scenarios Using template;It can be based on the same voucher resource, established multiple using template;Different application templates can be by same Voucher resource is configured logic between different parameters, parameter and/or different arithmetic logics to establish, a variety of to adapt to Application scenarios realize the reuse of resource credential;
For different voucher resources, quantity, type, the parameter of the input/output parameters in each voucher resource are defined respectively Meaning and voucher resource inside parameter arithmetic logic;Interface inheritance mode phase can be passed through between different voucher resources Mutually combination, the combined type voucher resource of complicated composition arithmetic logic, to be suitable for complicated application scenarios;
C. use voucher resource: what selection current application scene needed applies template, then by unified interface, before system End or background program call described using template;Again by the corresponding voucher resource output parameter obtained of selected application template Output changes the function and/or arithmetic logic of application template, is adapted it with the application scenarios to system front end.
2. voucher resource edit method as described in claim 1, it is characterized in that: the attribute using voucher resource in template includes Parameter is output and input, wherein the value of input parameter includes fixed value and dynamic value.
3. voucher resource edit method as claimed in claim 2, it is characterized in that: the dynamic value includes being led to by system front end The current data provided using the data and system of template output is provided.
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 CN106155681A (en) 2016-11-23
CN106155681B true 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)

Families Citing this family (2)

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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251809B (en) * 2008-03-11 2011-03-16 浪潮集团山东通用软件有限公司 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
US8527777B2 (en) * 2010-07-30 2013-09-03 International Business Machines Corporation Cryptographic proofs in data processing systems

Also Published As

Publication number Publication date
CN106155681A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
Westerkamp et al. Blockchain-based supply chain traceability: Token recipes model manufacturing processes
Matthews et al. Monopoly provision of quality and warranties: An exploration in the theory of multidimensional screening
US20130085813A1 (en) Method, Apparatus and Computer Program Product for Providing a Supply Chain Performance Management Tool
US20090006315A1 (en) Structured method for schema matching using multiple levels of ontologies
CN101370015A (en) Service request execution architecture for a communications service provider
US9361325B2 (en) Governing information
CN106155681B (en) Voucher resource edit method
Pourabdollahian et al. A contribution toward a research agenda: identifying impact factors of mass customization on environmental sustainability
Agrell et al. Decentralization policies for supply chain investments under asymmetric information
Ito et al. External R&D, productivity, and export: evidence from Japanese firms
US20140129276A1 (en) Method and system for supplier management
US20140229394A1 (en) Renewable energy credit management system and method
Yu et al. Managerial efficiency and product decision: Evidence from Chinese firms
CN109102385A (en) Financial accounting service parameter management method and system
CN110619509A (en) User recommending method and business system based on distribution system
Dubois et al. Technical development in networks. The importance of third parties
Mirsalehy et al. Centralized resource allocation for connecting radial and nonradial models
Li et al. Research on the complexity of oligopoly game under business interruption insurance of the engineering project
Yin et al. Multi‐product firms, product quality heterogeneity and trade liberalisation
Tohidi et al. Profit Malmquist index and its global form in the presence of the negative data in DEA
Liu et al. Public input competition under Stackelberg equilibrium: A note
Unel A model of occupational choice, offshoring and immigration
Frick Nested Configurations of Interorganizational Information Systems: Observations in the German Furniture Industry
CN109345325A (en) Undercarriage list generation method, equipment and computer readable storage medium
CN108665227A (en) The flow data mechanism of application flow combined interface buying order

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