This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
auto_matching_rules [2019/03/20 09:37] – lisa.maloney | auto_matching_rules [2025/02/26 13:44] (current) – tina.robles | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | **__Deduction Auto Matching__** | + | **__Deduction Auto Match Settings and Rule Configuration__** |
- | We have these settings: | + | **Deduction Settings** |
- | * strip leading zeros deduction invoice - if true leading zeros are removed | + | The deduction |
- | * strip leading zeros claim invoice - if true leading zeros are removed | + | |
- | * strip alpha deduction | + | **Field Modification Options** |
- | * strip alpha claim invoice | + | |
- | | + | **IMPORTANT**: |
- | | + | |
- | * match deduction company to parent | + | • **Allow contains**: |
- | | + | |
- | | + | • **Match options**: |
+ | |||
+ | • **Stripping Alpha**: Removes all alphabetic characters from the field. | ||
+ | |||
+ | • **Stripping Characters**: | ||
+ | |||
+ | • **Stripping Zeros**: Removes all leading zeros from the field. | ||
+ | |||
+ | **Note**: If a claim is already matched to a deduction, it will not be matched to another deduction. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ----- | ||
+ | |||
+ | **Configurable Fields** | ||
+ | |||
+ | A) Allow contains Match on comparison Fields | ||
+ | |||
+ | B) Match Claimant | ||
+ | - Parent Grouping | ||
+ | - | ||
+ | |||
+ | C) Match deduction | ||
+ | - Parent Grouping | ||
+ | - Buying Grouping | ||
+ | |||
+ | D) Strip Alpha | ||
+ | - Deduction Invoice | ||
+ | - Claim Invoice | ||
+ | - Deduction Hint | ||
+ | |||
+ | E) Strip Characters | ||
+ | - Deduction Invoice | ||
+ | - Claim Invoice | ||
+ | - Deduction Hint | ||
+ | |||
+ | F) Strip Leading Zeros Deduction Invoice | ||
+ | - Deduction Invoice | ||
+ | - Claim Invoice | ||
+ | - Deduction Hint | ||
+ | |||
+ | Below are a few examples of what settings would need to be true for the below to auto match. | ||
+ | |||
+ | __PFG NJ__ | ||
+ | | ||
+ | - Deduction Invoice num = 0168129/ | ||
+ | - Claimant Claim name/id = PFG New Jersey 12345 | ||
+ | - Claim Invoice num = 168129 | ||
+ | - Deduction Hint = (blank) | ||
+ | - **Recommendation**: | ||
+ | Strip leading zeros from Deduction invoice number | ||
+ | |||
+ | Strip characters from Deduction invoice number | ||
+ | |||
+ | Contains setting on | ||
+ | |||
+ | Match claimant | ||
+ | |||
+ | __Ben E Keith Edmond__ | ||
+ | - Deduction customer name/id – BEK Edmond 787878 | ||
+ | - Deduction Invoice num = FOK6661029702-00 | ||
+ | - Claimant Claim name/id = BEK Edmond 787878 | ||
+ | - Claim Invoice num = 66610297 | ||
+ | - Deduction Hint = (blank) | ||
+ | - **Recommendation**: | ||
+ | Strip alpha from Deduction invoice | ||
+ | |||
+ | Strip characters from Deduction invoice number | ||
+ | |||
+ | Contains setting on | ||
+ | |||
+ | __Kroger__ | ||
+ | - Deduction customer name/id = Kroger 22222 | ||
+ | - Deduction Invoice num = 0090222423-CM | ||
+ | - Claimant Claim name/id = Kroger 22222 | ||
+ | - Claim Invoice num = 90222423 | ||
+ | - Deduction Hint = (blank) | ||
+ | - **Recommendation**: | ||
+ | Strip leading zeros from Deduction invoice number | ||
| | ||
- | Based on these settings, we will do different | + | Strip alpha from Deduction invoice number |
+ | |||
+ | Strip characters from Deduction invoice number | ||
+ | |||
+ | Contains setting | ||
+ | |||
+ | __Dot Foods__ | ||
+ | - Deduction customer name/id = Dot Foods 12345 | ||
+ | - Deduction Invoice num = DEE8618076 | ||
+ | - Claimant Claim name/id = Sygma Denver Dot 87910 | ||
+ | - Claim Invoice num = 2024 KDM_215685 | ||
+ | - Deduction Hint = DEE-8618076 | ||
+ | - **Recommendation**: | ||
+ | Strip characters from Deduction hint | ||
+ | |||
+ | Deduction AGG will take care of the completely | ||
+ | ----- | ||
+ | |||
+ | **Auto Set Labels** | ||
+ | These rules will only work on OPEN deductions with a label of NONE. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Adding a new rule** | ||
+ | 1. Click the "Add Deduction Rule" button | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 2. Provide a rule name and select the deduction label to auto-set | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 3. Begin creating the rule criteria. | ||
+ | |||
+ | **Important** – the criteria always should be on top, then the criteria | ||
+ | |||
+ | Example – if you want invoice contains DE or DEE then the OR should first then the invoice criteria below the OR | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Use the dark plus icon to add AND/OR logic for multiple criteria. | ||
+ | |||
+ | Use the light plus icon to add parameters to your rule. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Parameter Configuration** | ||
+ | |||
+ | 1. Select the field from the dropdown menu (includes all deduction screen fields and custom CDF fields). | ||
+ | |||
+ | 2. Choose the appropriate condition for the selected field. | ||
+ | |||
+ | 3. Enter the specific criteria value. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The second box is how to look at the criteria, the choices will change based off the field you choose in the first box | ||
+ | |||
+ | {{: | ||
+ | |||
+ | If you make a mistake, you can click the trash can icon to delete the information | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Condition Options** | ||
+ | |||
+ | 1) Equal to | ||
+ | |||
+ | 2) Contains | ||
+ | |||
+ | 3) Not contains | ||
+ | |||
+ | 4) Starts with | ||
+ | |||
+ | 5) Ends with | ||
+ | |||
+ | 6) Total Characters | ||
+ | |||
+ | 7) Greater than | ||
+ | |||
+ | 8) Less than | ||
+ | |||
+ | Value is where you add the specific criteria | ||
+ | |||
+ | {{: | ||
+ | |||
+ | If you try to setup a second rule with the same fields chosen in the new deduction label rules you will get this error. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Saving and Modifying Rules** | ||
+ | |||
+ | Click the " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | To remove a rule, click the delete button on the far right side of the rule's row. | ||
+ | |||
+ | By following these procedures, you can efficiently set up and manage deduction auto-match settings and rules, streamlining the claim matching | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Updating data for a line** | ||
+ | |||
+ | Double click on the line and the screen will pop up so you are able to make edits. | ||
+ | |||
+ | {{: | ||
+ | ----- | ||
+ | |||
+ | **Deduction Scoring** | ||
+ | |||
+ | Match Score Calculation (0-4 points): | ||
+ | |||
+ | 1. Company to company or company to deduction aggregator parent match (1 point) | ||
+ | |||
+ | 2. Deduction amount requested matches claim invoice' | ||
+ | |||
+ | 3. Deduction number matches claim' | ||
+ | |||
+ | __Score Interpretation: | ||
+ | |||
+ | • 4: Absolute match (company, invoice/ | ||
+ | |||
+ | • 3: Invoice/ | ||
+ | |||
+ | • 2: Invoice/ | ||
+ | |||
+ | • 1: Either company or amount match | ||
+ | |||
+ | • 0: No matches | ||
+ | |||
+ | |||
+ | __Eligibility Criteria: | ||
+ | |||
+ | Claims | ||
+ | |||
+ | • Not in DRAFT or HOLD state | ||
+ | |||
+ | • If REJECTED, reason must not be ' | ||
+ | |||
+ | • Requested amount not fully tied to deductions | ||
+ | |||
+ | Deductions: | ||
+ | |||
+ | • In OPEN state | ||
+ | |||
+ | • Amount requested not fully tied to claims | ||
+ | |||
+ | • Deduction number doesn' | ||
+ | |||
+ | **Match Pass Sequence**: | ||
+ | |||
+ | 1. Credit Matches (Exact, Any Hint): | ||
+ | C2C: Company-to-Company, | ||
+ | |||
+ | P2C: Parent-to-Company, | ||
+ | |||
+ | G2G: Group-to-Group, | ||
+ | |||
+ | 2. Debit Matches (Exact, Any Hint): | ||
+ | C2C: Company-to-Company, | ||
+ | |||
+ | P2C: Parent-to-Company, | ||
+ | |||
+ | G2G: Group-to-Group, | ||
+ | |||
+ | 3. Fuzzy Matches (Open Debit, Open): | ||
+ | DedNumHint: Deduction number matches hint, amounts match | ||
+ | |||
+ | DistInvNumHint: | ||
+ | |||
+ | 4. Score-Match-Singleton: | ||
+ | Utilizes the scoring system defined above | ||
+ | |||
+ | This structure provides a clear, professional overview of the deduction matching process, highlighting the key components and their relationships. | ||
+ | |||
+ | ----- | ||
+ | |||
+ | **Enhancements to Deduction Management System** | ||
+ | |||
+ | Refined Auto-Match Algorithm: | ||
+ | * The deduction auto-match process has been optimized to consider only one rolling year. | ||
+ | * Matching now compares deduction creation date against claim date. | ||
+ | * This refinement aims to minimize erroneous matches caused by incorrect invoice numbers on deductions. | ||
+ | |||
+ | Expanded Deduction Settings: | ||
+ | Building upon the previously implemented automatic label update feature, we have introduced additional | ||
+ | deduction management process. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Deduction Rule Editor Enhancement: | ||
+ | |||
+ | The Rule Editor functionality has been augmented to include additional deduction parameters, specifically incorporating an equal to comparison option for deduction amount requests. This enhancement provides greater precision in rule configuration capabilities. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Advanced Deduction Invoice Number Filtering | ||
+ | |||
+ | The Rule Editor has been expanded to include sophisticated invoice number filtering options for deductions. New criteria have been implemented: | ||
+ | |||
+ | * Not Starts With condition | ||
+ | * Not Ends With condition | ||
+ | |||
+ | These additions allow for more nuanced and precise rule definitions when processing deductions based on invoice | ||
+ | number characteristics | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Deduction Amount Remaining Criterion | ||
+ | |||
+ | A new equality comparison option has been implemented in the Rule Editor for the Deduction Amount Remaining | ||
+ | parameter. This addition allows for precise rule creation based on the exact outstanding balance of deductions. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ----- | ||
- | First thing we do is get a list of deductions which need to be matched, and optionally strip leading zeros and alpha characters from the invoice number. | + | Key improvements outside |
- | Next we get a list of claims and do the same to the invoice number there based on its settings. | + | * WHEN deduction_state IN (' |
+ | * WHEN deduction_state IN (' | ||
- | **First Pass**: | + | |
- | * Claim company = deduction company | ||
- | * AND claim invoice number = deduction invoice number OR claim deduction number hint = deduction invoice number OR claim deduction number hint = deduction number) | ||
- | * AND claim invoice amount requested = deduction | ||
- | * AND there is enough money left on the deduction / claim to match | ||
- | **Second Pass**: | ||
- | * claim buying group = deduction buying group OR claim parent group = deduction parent group) -- uses the settings to know if it should do the match on buying / parent group | ||
- | * AND claim invoice number = deduction invoice number OR claim deduction number hint = deduction invoice number OR claim deduction number hint = deduction number) | ||
- | * AND claim invoice amount requested = deduction | ||
- | * AND there is enough money left on the deduction / claim to match | ||
- | **Third Pass**: | ||
- | * AND (claim | ||
- | * AND there is enough money left on the deduction / claim to match | ||