SUPPLY CHAIN FINANCIAL ORCHESTRATION SYSTEM WITH CUSTOM QUALIFIER PARAMETERS
A system is provided that implements a qualifier. The system selects a qualifier definition that defines the qualifier; where the qualifier definition includes a computer program code definition including one or more conditions. The system further selects a condition from the one or more conditions, where the condition includes a parameter. The system further determines that the parameter is a custom parameter, where a custom parameter indicates that an external computer program is used to generate a value for the custom parameter. The system further invokes the external computer program to generate a value for the custom parameter. The system further evaluates the condition using the generated value. The system further evaluates the qualifier definition using the evaluated condition.
1 . A computer-readable medium having instructions stored thereon that, when executed by a processor, cause the processor to implement a qualifier with at least one custom parameter for a supply chain financial orchestration flow, the implementing comprising:
selecting a qualifier definition that defines the qualifier; wherein the qualifier definition comprises a computer program code definition comprising one or more conditions;
selecting a condition from the one or more conditions, wherein the condition comprises a parameter;
determining that the parameter is a custom parameter, wherein a custom parameter indicates that an external computer program is used to generate a value for the custom parameter;
invoking the external computer program to generate a value for the custom parameter;
evaluating the condition using the generated value; and
evaluating the qualifier definition using the evaluated condition.
2 . The computer-readable medium of claim 1 ,
wherein the external computer program comprises a user-defined computer program; and
wherein the user-defined computer program is defined independently from the computer program code definition of the qualifier definition.
3 . The computer-readable medium of claim 2 , wherein the user-defined computer program comprises a procedural language/structured query language function.
4 . The computer-readable medium of claim 2 , wherein the user-defined computer program comprises a user-defined function that generates a value for the custom parameter at run-time.
5 . The computer-readable medium of claim 2 , the implementing further comprising;
defining the user-defined computer program;
storing a name of the user-defined computer program within the qualifier definition; and
linking the user-defined computer program with the custom parameter.
6 . The computer-readable medium of claim 5 ,
wherein the qualifier definition is stored within a qualifier definition database table; and
wherein the user-defined computer program is stored within the qualifier definition database table.
7 . The computer-readable medium of claim 1 ,
wherein the supply chain financial orchestration flow defines a trade relationship between a first entity and a second entity; and
wherein the qualifier determines an applicability of the supply chain financial orchestration flow.
8 . The computer-readable medium of claim 7 , wherein the external computer program comprises one or more parameters that retrieve a context of the supply chain financial orchestration flow.
9 . The computer-readable medium of claim 1 , wherein the evaluating the qualifier definition using the evaluated condition further comprises:
evaluating the one or more conditions of the qualifier definition that were not selected; and
generating an overall status value of the qualifier definition based on the one or more evaluated conditions.
10 . The computer-readable medium of claim 9 , the implementing further comprising:
determining that a parameter of at least one condition of the one or more conditions that were not selected is a separate custom parameter;
invoking a separate external computer program to generate a separate value for the separate custom parameter; and
evaluating the at least one remaining condition using the separate generated value.
11 . A computer-implemented method for implementing a qualifier with at least one custom parameter for a supply chain financial orchestration flow, the computer-implemented method comprising:
selecting a qualifier definition that defines the qualifier; wherein the qualifier definition comprises a computer program code definition comprising one or more conditions;
selecting a condition from the one or more conditions, wherein the condition comprises a parameter;
determining that the parameter is a custom parameter, wherein a custom parameter indicates that an external computer program is used to generate a value for the custom parameter;
invoking the external computer program to generate a value for the custom parameter;
evaluating the condition using the generated value; and
evaluating the qualifier definition using the evaluated condition.
12 . The computer-implemented method of claim 11 ,
wherein the external computer program comprises a user-defined computer program, and
wherein the user-defined computer program is defined independently from the computer program code definition of the qualifier definition.
13 . The computer-implemented method of claim 12 , wherein the user-defined computer program comprises a procedural language/structured query language function.
14 . The computer-implemented method of claim 12 , wherein the user-defined computer program comprises a user-defined function that generates a value for the custom parameter at run-time.
15 . The computer-implemented method of claim 12 , further comprising;
defining the user-defined computer program;
storing the user-defined computer program within the qualifier definition; and
linking the user-defined computer program with the custom parameter.
16 . A system, comprising:
a qualifier definition selection module configured to select a qualifier definition that defines a qualifier; wherein the qualifier definition comprises a computer program code definition comprising one or more conditions;
a condition selection module configured to select a condition from the one or more conditions, wherein the condition comprises a parameter;
a parameter determination module configured to determine that the parameter is a custom parameter, wherein a custom parameter indicates that an external computer program is used to generate a value for the custom parameter;
an invocation module configured to invoke the external computer program to generate a value for the custom parameter;
a condition evaluation module configured to evaluate the condition using the generated value; and
an evaluation module configured to evaluate the qualifier definition using the evaluated condition.
17 . The system of claim 16 ,
wherein the external computer program comprises a user-defined computer program, and
wherein the user-defined computer program is defined independently from the computer program code definition of the qualifier definition.
18 . The system of claim 17 , wherein the user-defined computer program comprises a procedural language/structured query language function.
19 . The system of claim 17 , wherein the user-defined computer program comprises a user-defined function that generates a value for the custom parameter at run-time.
20 . The system of claim 17 , further comprising;
a computer program definition module configured to define the user-defined computer program;
a storage module configured to store the user-defined computer program within the qualifier definition; and
a linking module configured to link the user-defined computer program with the custom parameter.