Multi-Item Access of Pricing Condition Tables
First Claim
Patent Images
1. A method comprising:
- determining, through execution of instructions on at least one processor of at least one computing device, a pricing procedure for a document based on at least one of a document type and a customer identifier, the pricing procedure identifying ordered pricing condition types to apply to document items to be priced;
for each identified pricing condition type, determining an access sequence of one or more pricing condition tables to obtain a sequence of pricing condition table identifiers for each identified pricing condition type;
for each identified pricing condition type and according to the sequence of pricing condition table identifiers;
retrieving, in a single query from a pricing condition table of the respective pricing condition table identifier, a pricing condition record identifier for each document item to be priced; and
for each retrieved pricing condition record identifier, writing, to a first data structure buffered in a memory, a pricing condition type identifier, an order identifier of the respective pricing condition type, an identifier of the document item to be priced, and the pricing condition record identifier; and
for each pricing condition record identifier included in the first data structure buffered in memory, retrieving pricing condition record data and writing the retrieved data to a second data structure buffered in memory;
pricing each document item to be priced based on the data of the first and second data structures buffered in memory.
2 Assignments
0 Petitions
Accused Products
Abstract
Various embodiments herein each include at least one of systems, methods, and software for multi-item access of pricing condition tables. Such embodiments generally retrieve applicable pricing conditions from each relevant pricing condition table in a single query for each product included in an order or invoicing document, or other document within which pricing data is provided. The retrieved pricing condition data may then be written to a buffer in memory and utilized in pricing products included in an order or invoice document. Such embodiments generally reduce a number of queries that are executed against pricing condition tables thereby increasing the efficiency of pricing activities.
-
Citations
20 Claims
-
1. A method comprising:
-
determining, through execution of instructions on at least one processor of at least one computing device, a pricing procedure for a document based on at least one of a document type and a customer identifier, the pricing procedure identifying ordered pricing condition types to apply to document items to be priced; for each identified pricing condition type, determining an access sequence of one or more pricing condition tables to obtain a sequence of pricing condition table identifiers for each identified pricing condition type; for each identified pricing condition type and according to the sequence of pricing condition table identifiers; retrieving, in a single query from a pricing condition table of the respective pricing condition table identifier, a pricing condition record identifier for each document item to be priced; and for each retrieved pricing condition record identifier, writing, to a first data structure buffered in a memory, a pricing condition type identifier, an order identifier of the respective pricing condition type, an identifier of the document item to be priced, and the pricing condition record identifier; and for each pricing condition record identifier included in the first data structure buffered in memory, retrieving pricing condition record data and writing the retrieved data to a second data structure buffered in memory; pricing each document item to be priced based on the data of the first and second data structures buffered in memory. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable medium, with instructions stored thereon, which when executed by at least one processor of a computing device, causes the computing device to:
-
determine, through retrieval of stored data, a pricing procedure for a document based on at least one of a document type and a customer identifier, the pricing procedure identifying ordered pricing condition types to apply to document items to be priced; for each identified pricing condition type, determine an access sequence of one or more pricing condition tables to obtain a sequence of pricing condition table identifiers for each identified pricing condition type; for each identified pricing condition type and according to the sequence of pricing condition table identifiers; retrieve, in a single query from a pricing condition table of the respective pricing condition table identifier, a pricing condition record identifier for each document item to be priced; retrieving, in a single query, data of pricing condition records of each pricing condition identifier, the data of each pricing condition record including at least one of price data and an indicator of whether scaled pricing data exists for the pricing condition; and for each retrieved pricing condition record, write, to a first data structure buffered in a memory, a pricing condition type identifier, an identifier of the document item to be priced, the pricing condition record identifier, and the indicator of whether scaled pricing data exists for the pricing condition record; for all pricing condition records of the first data structure buffered in memory, retrieving, in a single query, pricing data and writing the retrieved pricing data to a second data structure buffered in memory; price each document item to be priced based on the data of the first and second data structures buffered in memory. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
at least one processor; at least one memory; and an instruction set accessible in the at least one memory and executable by the at least one processor to; identify, through retrieval of data stored on the at least one memory device, a pricing procedure for a document based on at least one of a document type and a customer identifier, the pricing procedure identifying ordered pricing condition types to apply to document items to be priced; for each identified pricing condition type, determine an access sequence of one or more pricing condition tables to obtain a sequence of pricing condition table identifiers for each identified pricing condition type; for each identified pricing condition type and according to the sequence of pricing condition table identifiers; retrieve, in a single query from a pricing condition table of the respective pricing condition table identifier, a pricing condition record identifier for each document item to be priced; retrieving, in a single query, data of pricing condition records of each pricing condition identifier, the data of each pricing condition record including at least one of price data and an indicator of whether scaled pricing data exists for the pricing condition; and for each retrieved pricing condition record, write, to a first data structure buffered in the at least one memory, a pricing condition type identifier, an order identifier of the respective pricing condition type, an identifier of the document item to be priced, the pricing condition record identifier, and the indicator of whether scaled pricing data exists for the pricing condition record; and for all pricing condition records of the first data structure buffered in the at least one memory, retrieving, in a single query, pricing data and writing the retrieved pricing data to a second data structure buffered in the at least one memory price each document item to be priced based on the data of the first and second data structures buffered in the at least one memory. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification