System, method and computer program product for storing a formula having first and second object fields
Assigneesalesforce.com, inc.
InventorsMary Scotton, Walter Macklem, Eric Bezar, Jesse Collins
Life of this patent
Estimating the term…
Abstract
In accordance with embodiments, there are provided mechanisms and methods for storing a formula having first and second object fields. These mechanisms and methods for storing a formula having first and second object fields can allow access to data from related object types other than the object type being currently accessed. The ability of embodiments to provide such access may allow access to additional contents of a database for performing validations, calculations, etc.
Claims16
A method, comprising:
- receiving a plurality of object definitions, including a first object definition and a second object definition, the first object definition including a first object field, and the second object definition including a second object field;
- storing a formula having the first object field as a first operand, and the second object field as a second operand;
- displaying a first object defined by the first object definition to a user, including displaying the first object field;
- based on the display of the first object to the user, receiving a request from the user to view the second object field;
- executing the formula in response to the request, wherein only a second object defined by the second object definition is loaded from a database storing the second object via the execution of the formula;
- and
- displaying to the user, along with the first object field, the second object field from the loaded second object;
- wherein a limit on a number of objects accessed in the formula is enforced;
- wherein the limit is configured based on a type of the first object.
A non-transitory machine-readable storage medium storing one or more sequences of instructions which, when executed by one or more processors, cause the one or more processors to carry out the steps of:
- receiving a plurality of object definitions, including a first object definition and a second object definition, the first object definition including a first object field, and the second object definition including a second object field;
- storing a formula having the first object field as a first operand, and the second object field as a second operand;
- displaying a first object defined by the first object definition to a user, including displaying the first object field;
- based on the display of the first object to the user, receiving a request from the user to view the second object field;
- executing the formula in response to the request, wherein only a second object defined by the second object definition is loaded from a database storing the second object via the execution of the formula;
- and
- displaying to the user, along with the first object field, the second object field from the loaded second object;
- wherein a limit on a number of objects accessed in the formula is enforced;
- wherein the limit is configured based on a type of the first object.
An apparatus, comprising:
- a processor;
- and
- one or more stored sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of:
- receiving a plurality of object definitions, including a first object definition and a second object definition, the first object definition including a first object field, and the second object definition including a second object field;
- storing a formula having the first object field as a first operand, and the second object field as a second operand;
- displaying a first object defined by the first object definition to a user, including displaying the first object field;
- based on the display of the first object to the user, receiving a request from the user to view the second object field;
- executing the formula in response to the request, wherein only a second object defined by the second object definition is loaded from a database storing the second object via the execution of the formula;
- and
- displaying to the user, along with the first object field, the second object field from the loaded second object;
- wherein a limit on a number of objects accessed in the formula is enforced;
- wherein the limit is configured based on a type of the first object.
Dependencies are inferred from the claim text.