# US 2012/0233016 A1 · Transforming a list of purchase types based on a configurable rule

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0233016 A1
- Document ID: US20120233016A1
- Status: Published application
- Kind: A1
- Application number: 13/472,700
- Filed: 2012-05-16
- Published: 2012-09-13
- Earliest claimed: 2008-06-30
- Assignees: International Business Machines Corporation
- Inventors: Charles Franklin Berry; Glenn C. Godoy; Amy Jeanne Snavely
- Web page: https://patentgrep.com/patent/US20120233016A1

## CPC

- G06Q 30/0633: {Managing shopping lists, e.g. compiling or processing purchase lists (shipping orders G06Q10/083; order filling G06Q10/087)}
- G06N 20/00: Machine learning
- G06Q 10/087: Inventory or stock management, e.g. order filling, procurement or balancing against orders
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An approach for transforming a starting list of purchase types into a selection list of valid purchase types by employing a configurable rule is presented. A unit price and commodity code are received for an item whose purchase is being charged to an account. Based on a category of the item, a starting list including purchase types is generated. Each purchase type specifies a corresponding accounting function. A rule set is identified in a table that associates the rule set with purchase type(s) specifying corresponding accounting functions. Identifying the rule set includes determining that the purchase type(s) are in a maximal subset of the purchase types included in the starting list. Based on the rule set and the unit price, a rule is identified in another table. The rule is applied to generate a selection list comprising a proper subset of the starting list.

## Claims

### Claim 1

A computer system comprising:
a central processing unit (CPU);
a memory coupled to said CPU;
a computer-readable, tangible storage device coupled to said CPU, said storage device containing instructions that when carried out by said CPU via said memory implement a method of transforming a starting list of purchase types into a selection list of valid purchase types by employing a configurable rule, said method comprising the steps of:
receiving, by a software-based common accounting module (CAM) executing on said computer system, a plurality of parameters of an item whose purchase is being charged to an account by an execution by CAM of an accounting function of a plurality of accounting functions, wherein said plurality of parameters includes a unit price of said item and a commodity code that identifies said item;
generating, by said CAM, a starting list that includes a set of purchase types, wherein said generating is based on a pre-defined category of said item, wherein each purchase type of said starting list specifies a corresponding accounting function of said plurality of accounting functions;
identifying, by said CAM and subsequent to said step of generating said starting list, a rule set of a plurality of rule sets stored in a rule set database table, wherein said rule set database table associates said rule set with one or more purchase types that specify one or more corresponding accounting functions of said plurality of accounting functions, wherein said identifying said rule set comprises determining that said one or more purchase types is a maximal subset of said set of purchase types included in said starting list;
identifying, by said CAM and subsequent to said step of identifying said rule set, a rule stored in a rule database table, wherein said identifying said rule is based on said rule set and based on said unit price; and
applying said rule by said CAM and subsequent to said identifying said rule, wherein a result of said step of applying said rule is a selection list comprising a proper subset of said starting list.

### Claim 2 (depends on 1)

The computer system of claim 1, wherein said method further comprises the step of:
determining, by said CAM, a relationship that includes a first comparison between said unit price and a first clip level and a second comparison between said unit price and a second clip level, wherein said relationship is selected from the group consisting of an AHAL relationship, a BHAL relationship, an AHBL relationship, a BHBL relationship, an AHNL relationship, and a BHNL relationship,
wherein said AHAL relationship indicates that said unit price is greater than said first clip level and greater than said second clip level,
wherein said BHAL relationship indicates that said unit price is less than said first clip level and greater than said second clip level,
wherein said AHBL relationship indicates that said unit price is greater than said first clip level and less than said second clip level,
wherein said BHBL relationship indicates that said unit price is less than said first clip level and less than said second clip level,
wherein said AHNL relationship indicates that said unit price is greater than said first clip level and that said second clip level is not set to any value, and
wherein said BHNL relationship indicates that said unit price is less than said first clip level and that said second clip level is not set to any value.

### Claim 3 (depends on 2)

The computer system of claim 2, wherein said method further comprises the steps of:
said computer system determining said item has eligibility selected from the group consisting of a first eligibility to be charged to work-in-process (WIP), capital and expense accounts and a second eligibility to be charged to a direct capital account;
said computer system determining said second clip value is set;
said computer system determining said unit price is greater than said first clip level as said first comparison and said unit price is greater than said second clip level as said second comparison;
said computer system setting a direct capital as a default value of a purchase type of said item;
said computer system determining said WIP account is configured or receiving an indication that a user wants to set said purchase type as a low value asset; and
said computer system receiving a selection of said purchase type by receiving a first selection of said direct capital as said default value of said purchase type or by receiving a second selection of a WIP or said low value asset as said purchase type instead of said default value of said purchase type,
wherein said step of determining said relationship that includes said first and second comparisons includes determining said relationship is said AHAL relationship based on said unit price being greater than said first clip level and said unit price being greater than said second clip level.

### Claim 4 (depends on 2)

The computer system of claim 2, wherein said method further comprises the steps of:
said computer system determining said item has eligibility selected from the group consisting of a first eligibility to be charged to work-in-process (WIP), capital and expense accounts and a second eligibility to be charged to a direct capital account;
said computer system determining said second clip value is set;
said computer system determining said unit price is less than said first clip level as said first comparison and said unit price is greater than said second clip level as said second comparison;
said computer system setting a low value asset as a default value of a purchase type of said item;
said computer system determining said WIP account is configured; and
said computer system receiving a selection of said purchase type by receiving a first selection of said low value asset as said default value of said purchase type or by receiving a second selection of a WIP as said purchase type instead of said default value of said purchase type,
wherein said step of determining said relationship that includes said first and second comparisons includes determining said relationship is said BHAL relationship based on said unit price being less than said first clip level and said unit price being greater than said second clip level.

### Claim 5 (depends on 2)

The computer system of claim 2, wherein said method further comprises the steps of:
said computer system determining said item has eligibility selected from the group consisting of a first eligibility to be charged to work-in-process (WIP), capital and expense accounts and a second eligibility to be charged to a direct capital account;
said computer system determining said second clip value is set;
said computer system determining said unit price is greater than said first clip level as said first comparison and said unit price is less than said second clip level as said second comparison;
said computer system setting a direct capital as a default value of a purchase type of said item;
said computer system determining said WIP account or said expense account is configured; and
said computer system receiving a selection of said purchase type by receiving a first selection of said direct capital as said default value of said purchase type or by receiving a second selection of a WIP or an expense as said purchase type instead of said default value of said purchase type,
wherein said step of determining said relationship that includes said first and second comparisons includes determining said relationship is said AHBL relationship based on said unit price being greater than said first clip level and said unit price being less than said second clip level.

### Claim 6 (depends on 2)

The computer system of claim 2, wherein said method further comprises the steps of:
said computer system determining said item has eligibility selected from the group consisting of a first eligibility to be charged to work-in-process (WIP), capital and expense accounts and a second eligibility to be charged to a direct capital account;
said computer system determining said second clip value is set;
said computer system determining said unit price is less than said first clip level as said first comparison and said unit price is less than said second clip level as said second comparison;
said computer system setting an expense as a default value of a purchase type of said item;
said computer system determining said WIP account is configured; and
said computer system receiving a selection of said purchase type by receiving a first selection of said expense as said default value of said purchase type or by receiving a second selection of a WIP as said purchase type instead of said default value of said purchase type,
wherein said step of determining said relationship that includes said first and second comparisons includes determining said relationship is said BHBL relationship based on said unit price being less than said first clip level and said unit price being less than said second clip level.

### Claim 7 (depends on 2)

The computer system of claim 2, wherein said method further comprises the steps of:
said computer system determining said item has eligibility selected from the group consisting of a first eligibility to be charged to work-in-process (WIP), capital and expense accounts and a second eligibility to be charged to a direct capital account;
said computer system determining said second clip value is not set;
said computer system determining said unit price is greater than said first clip level as said first comparison;
said computer system setting a direct capital as a default value of a purchase type of said item;
said computer system determining said WIP account or said expense account is configured; and
said computer system receiving a selection of said purchase type by receiving a first selection of said direct capital as said default value of said purchase type or by receiving a second selection of a WIP or an expense as said purchase type instead of said default value of said purchase type,
wherein said step of determining said relationship that includes said first and second comparisons includes determining said relationship is said AHNL relationship based on said unit price being greater than said first clip level and said second clip level not being set.

### Claim 8 (depends on 2)

The computer system of claim 2, wherein said method further comprises the steps of:
said computer system determining said item has eligibility selected from the group consisting of a first eligibility to be charged to work-in-process (WIP), capital and expense accounts and a second eligibility to be charged to a direct capital account;
said computer system determining said second clip value is not set;
said computer system determining said unit price is less than said first clip level as said first comparison;
said computer system setting an expense as a default value of a purchase type of said item;
said computer system determining said WIP account is configured; and
said computer system receiving a selection of said purchase type by receiving a first selection of said expense as said default value of said purchase type or by receiving a second selection of a WIP as said purchase type instead of said default value of said purchase type,
wherein said step of determining said relationship that includes said first and second comparisons includes determining said relationship is said BHNL relationship based on said unit price being less than said first clip level and said second clip level not being set.

### Claim 9 (depends on 2)

The computer system of claim 2, wherein said method further comprises the step of identifying, by said CAM and in response to said step of determining said relationship, a rule code stored in said rule database table, wherein said rule code identifies said relationship.

### Claim 10 (depends on 9)

The computer system of claim 9, wherein said step of identifying said rule code comprises identifying said rule code as being associated by said rule database table with said rule set.

### Claim 11

A computer program product, comprising:
a computer-readable, tangible storage device; and
a computer-readable program code stored on the computer-readable, tangible storage device, said computer-readable program code containing instructions that, when executed by a processor of a computer system, implement a method of transforming a starting list of purchase types into a selection list of valid purchase types by employing a configurable rule, said method comprising the steps of:
receiving, by a software-based common accounting module (CAM) executing on the computer system, a plurality of parameters of an item whose purchase is being charged to an account by an execution by CAM of an accounting function of a plurality of accounting functions, wherein said plurality of parameters includes a unit price of said item and a commodity code that identifies said item;
generating, by said CAM, a starting list that includes a set of purchase types, wherein said generating is based on a pre-defined category of said item, wherein each purchase type of said starting list specifies a corresponding accounting function of said plurality of accounting functions;
identifying, by said CAM and subsequent to said step of generating said starting list, a rule set of a plurality of rule sets stored in a rule set database table, wherein said rule set database table associates said rule set with one or more purchase types that specify one or more corresponding accounting functions of said plurality of accounting functions, wherein said identifying said rule set comprises determining that said one or more purchase types is a maximal subset of said set of purchase types included in said starting list;
identifying, by said CAM and subsequent to said step of identifying said rule set, a rule stored in a rule database table, wherein said identifying said rule is based on said rule set and based on said unit price; and
applying said rule by said CAM and subsequent to said identifying said rule, wherein a result of said step of applying said rule is a selection list comprising a proper subset of said starting list.

### Claim 12 (depends on 11)

The program product of claim 11, wherein said method further comprises the step of:
determining, by said CAM, a relationship that includes a first comparison between said unit price and a first clip level and a second comparison between said unit price and a second clip level, wherein said relationship is selected from the group consisting of an AHAL relationship, a BHAL relationship, an AHBL relationship, a BHBL relationship, an AHNL relationship, and a BHNL relationship,
wherein said AHAL relationship indicates that said unit price is greater than said first clip level and greater than said second clip level,
wherein said BHAL relationship indicates that said unit price is less than said first clip level and greater than said second clip level,
wherein said AHBL relationship indicates that said unit price is greater than said first clip level and less than said second clip level,
wherein said BHBL relationship indicates that said unit price is less than said first clip level and less than said second clip level,
wherein said AHNL relationship indicates that said unit price is greater than said first clip level and that said second clip level is not set to any value, and
wherein said BHNL relationship indicates that said unit price is less than said first clip level and that said second clip level is not set to any value.

### Claim 13 (depends on 12)

The program product of claim 12, wherein said method further comprises the steps of:
said computer system determining said item has eligibility selected from the group consisting of a first eligibility to be charged to work-in-process (WIP), capital and expense accounts and a second eligibility to be charged to a direct capital account;
said computer system determining said second clip value is set;
said computer system determining said unit price is greater than said first clip level as said first comparison and said unit price is greater than said second clip level as said second comparison;
said computer system setting a direct capital as a default value of a purchase type of said item;
said computer system determining said WIP account is configured or receiving an indication that a user wants to set said purchase type as a low value asset; and
said computer system receiving a selection of said purchase type by receiving a first selection of said direct capital as said default value of said purchase type or by receiving a second selection of a WIP or said low value asset as said purchase type instead of said default value of said purchase type,
wherein said step of determining said relationship that includes said first and second comparisons includes determining said relationship is said AHAL relationship based on said unit price being greater than said first clip level and said unit price being greater than said second clip level.

### Claim 14 (depends on 12)

The program product of claim 12, wherein said method further comprises the steps of:
said computer system determining said item has eligibility selected from the group consisting of a first eligibility to be charged to work-in-process (WIP), capital and expense accounts and a second eligibility to be charged to a direct capital account;
said computer system determining said second clip value is set;
said computer system determining said unit price is less than said first clip level as said first comparison and said unit price is greater than said second clip level as said second comparison;
said computer system setting a low value asset as a default value of a purchase type of said item;
said computer system determining said WIP account is configured; and
said computer system receiving a selection of said purchase type by receiving a first selection of said low value asset as said default value of said purchase type or by receiving a second selection of a WIP as said purchase type instead of said default value of said purchase type,
wherein said step of determining said relationship that includes said first and second comparisons includes determining said relationship is said BHAL relationship based on said unit price being less than said first clip level and said unit price being greater than said second clip level.

### Claim 15 (depends on 12)

The program product of claim 12, wherein said method further comprises the step of identifying, by said CAM and in response to said step of determining said relationship, a rule code stored in said rule database table, wherein said rule code identifies said relationship.

### Claim 16 (depends on 15)

The program product of claim 15, wherein said step of identifying said rule code comprises identifying said rule code as being associated by said rule database table with said rule set.

### Claim 17

A process for supporting computing infrastructure, said process comprising a first computer system providing at least one support service for at least one of creating, integrating, hosting, maintaining, and deploying computer-readable code in a second computer system, wherein the code in combination with the second computer system is capable of performing a method of transforming a starting list of purchase types into a selection list of valid purchase types by employing a configurable rule, said method comprising the steps of:
receiving, by a software-based common accounting module (CAM) executing on the second computer system, a plurality of parameters of an item whose purchase is being charged to an account by an execution by CAM of an accounting function of a plurality of accounting functions, wherein said plurality of parameters includes a unit price of said item and a commodity code that identifies said item;
generating, by said CAM, a starting list that includes a set of purchase types, wherein said generating is based on a pre-defined category of said item, wherein each purchase type of said starting list specifies a corresponding accounting function of said plurality of accounting functions;
identifying, by said CAM and subsequent to said step of generating said starting list, a rule set of a plurality of rule sets stored in a rule set database table, wherein said rule set database table associates said rule set with one or more purchase types that specify one or more corresponding accounting functions of said plurality of accounting functions, wherein said identifying said rule set comprises determining that said one or more purchase types is a maximal subset of said set of purchase types included in said starting list;
identifying, by said CAM and subsequent to said step of identifying said rule set, a rule stored in a rule database table, wherein said identifying said rule is based on said rule set and based on said unit price; and
applying said rule by said CAM and subsequent to said identifying said rule, wherein a result of said step of applying said rule is a selection list comprising a proper subset of said starting list.

### Claim 18 (depends on 17)

The process of claim 17, wherein said method further comprises the step of:
determining, by said CAM, a relationship that includes a first comparison between said unit price and a first clip level and a second comparison between said unit price and a second clip level, wherein said relationship is selected from the group consisting of an AHAL relationship, a BHAL relationship, an AHBL relationship, a BHBL relationship, an AHNL relationship, and a BHNL relationship,
wherein said AHAL relationship indicates that said unit price is greater than said first clip level and greater than said second clip level,
wherein said BHAL relationship indicates that said unit price is less than said first clip level and greater than said second clip level,
wherein said AHBL relationship indicates that said unit price is greater than said first clip level and less than said second clip level,
wherein said BHBL relationship indicates that said unit price is less than said first clip level and less than said second clip level,
wherein said AHNL relationship indicates that said unit price is greater than said first clip level and that said second clip level is not set to any value, and
wherein said BHNL relationship indicates that said unit price is less than said first clip level and that said second clip level is not set to any value.

### Claim 19 (depends on 18)

The process of claim 18, wherein said method further comprises the step of identifying, by said CAM and in response to said step of determining said relationship, a rule code stored in said rule database table, wherein said rule code identifies said relationship.

### Claim 20 (depends on 19)

The process of claim 19, wherein said step of identifying said rule code comprises identifying said rule code as being associated by said rule database table with said rule set.
