Global Rule Types

The following table contains a list of the available global rule types.

Note: Standard global rules are noted here but you may see other rules that are specific to more advanced situations (for example, those that are related to consignment).

Tip: Contact GHX Customer Care if you require assistance with a global rule.

Rule Type Parameters Description
Set QTY to 1 when 0 N/A When order lines pass through Intelligent Business Rules, any zero-quantity inbound values are updated to a value of 1 (one).
Part Number Cleanup
  • Apply Rule To (Buyer Org selection)

When order lines pass through Intelligent Business Rules, unwanted white space, dashes, and underscore characters are cleansed from part numbers.

Example: Inbound = "777_0102 60", Cleansed = "777010260"

Part Number to Lower Case
  • Apply Rule To (Buyer Org selection)

When order lines pass through Intelligent Business Rules, uppercase letters are replaced with lowercase values.

Example: For POs from all my buyer organizations, update the inbound part number. Inbound = "94823400-ZZAB", Cleansed = "94823400-zzab"

Release Line Item
  • Apply Rule To (Buyer Org selection)
  • Part Number match value

When order lines pass through Intelligent Business Rules, specified supplier part numbers are excluded from catalog look-ups and parking logic.

Example: Part number "45249087239" is entered and no specific buyer organizations are specified. Any time a PO line is processed for this part number, GHX forgoes catalog look-up and parking per matching failure, allowing the line to pass outbound as it is.

Replace Part Number
  • Apply Rule To (Buyer Org selection)
  • Part Number match value
  • Part Number replace value

When order lines pass through Intelligent Business Rules, specified part numbers are replaced per a customer-defined definition.

Example: Inbound = 7800009925-RE, Enriched = 7800009925-Replenish

Replace Unit of Measure
  • Apply Rule To (Buyer Org selection)
  • Unit of measure match value
  • UOM Replace value

When order lines pass through Intelligent Business Rules, a specified unit of measure (UOM) is replaced per a customer-defined value.

Example: Inbound = CA, Enriched = CS

Stop on Buyer
  • Apply Rule To (Buyer Org selection)
When POs pass through Intelligent Business Rules, orders for specified buyer organizations are automatically stopped, preventing order delivery and generating an email notification to the supplier. PO senders are identified by EID entry.
Strip All Characters
  • Apply Rule To (Buyer Org selection)
  • Characters To Strip

When order lines pass through Intelligent Business Rules, specified characters (single or string values) are cleansed from inbound part numbers.

Example: "SKU" is the defined value for this global rule. Inbound = 12SKU-34567890, Cleansed = 12-34567890

Strip Non-Alphanumeric Characters
  • Apply Rule To (Buyer Org selection)

When order lines pass through Intelligent Business Rules, specified non-alphanumeric characters including spaces are cleansed from inbound part numbers.

Example: "#" is the defined value for this global rule. Inbound = AAA#1234567890*, Cleansed = AAA1234567890

Truncate Specified Number of Leading Characters
  • Apply Rule To (Buyer Org selection)
  • Characters To Truncate
  • Number Of Characters

When order lines pass through Intelligent Business Rules, a specified number of characters as well as instances of specified characters are removed from the start of a part number.

Example: "AU-" and "1" are defined values for this global rule. Inbound = AU-00254098A91, Cleansed = 00254098A91

Truncate Specified Number of Trailing Characters
  • Apply Rule To (Buyer Org selection)
  • Number Of Characters
  • Characters To Truncate

When order lines pass through Intelligent Business Rules, trailing characters are removed to ensure a part number is equal to the specified length.

Example: "4" and “0” are the defined values for this global rule. Inbound = 3254098A900000, Cleansed = 3254098A90

Truncate Trailing Characters After Specified Number of Characters
  • Apply Rule To (Buyer Org selection)
  • Number Of Characters

When order lines pass through Intelligent Business Rules, trailing characters are removed to ensure a part number is equal to the specified length.

Example: "10" is defined for the global rule. Inbound = 00254098A900-01, Cleansed = 00254098A9

Replace character in supplier part number Searches and replaces a character inside a PO's part number. This service acts only on the supplier part number inside the file.
Truncate Leading Characters Before Specified Number of Characters
  • Apply Rule To (Buyer Org selection)
  • Number Of Characters

When order lines pass through Intelligent Business Rules, leading characters are removed to ensure a part number is equal to the specified length.

Example: "8" is the defined value for this global rule. Inbound = 00254098A900-01, Cleansed = A900-01

Insert Missing Characters
  • Apply Rule To (Buyer Org selection)
  • Insert Characters
  • Insert After Position

When order lines pass through Intelligent Business Rules, specified characters are injected into the supplier part number field based on the position (alphanumeric characters, sequential count).

Example: For POs from buyer organization A, insert "string" value of "-" into supplier part numbers after the 6th sequential character. Inbound = 7800009925, Enriched = 780000-9925

Replace empty UOM with a default value When a unit of measure (UOM) is empty, adds a default UOM value.
Create Missing UOM When a UOM is missing, creates the UOM with an empty string.
Create Missing QOE Creates a missing quantity of each (QOE).

Replace Unit of Measure - List

Searches within the document and replaces the UOM with the one listed. This rule uses a reference table and can replace multiple UOMs in a single rule.

SPN - remove part numbers containing spaces Explicitly removes white spaces from the supplier part number. Use this rule to avoid confusion with data sets so they do not look empty.

Fill Supplier Part number to certain length

Prepends a specified value to the supplier part number until it is the required length that is also defined in the setup.

Strip Leading Characters

  • Apply Rule To (Buyer Org selection)
  • Characters To Strip

When order lines pass through Intelligent Business Rules, specified leading characters (single or string values) are cleansed from inbound part numbers.

Example: "SPN" is the defined value for this global rule. Inbound = SPN1234567890, Cleansed = 1234567890

Strip Leading Characters List

Strips the listed leading characters. The rule uses a list table to execute and can be set up to strip multiple values in the same rule.

Strip Trailing Characters - list Strips the defined trailing characters. The rule allows for definition of multiple entries instead of just a single stripped character.

Strip Trailing Characters

Removes trailing characters from a supplier part number. Determines what to strip using regular expression. Be careful for non-alphanumeric values.

Strip All Characters List

Strips the characters that are defined in a list. This rule allows for definition of multiple entries in one rule instead of just a single character. Matches a string provided in the supplier part number and, when found, removes it.

Fill Supplier Part number to certain length with a minimum start

Prepends a specified value to the supplier part number until it is the required length, which is also defined in the rule setup.

Replace empty Supplier part number with hash of product description

Accounts for times when a hospital sends no part number values in the file. This rule used the product description to create a hash value and inserts it into the supplier part number in the file. Item maps can be created using that part number as the inbound value and can then be successfully saved.

Part Number to Upper Case

  • Apply Rule To (Buyer Org selection)

When order lines pass through Intelligent Business Rules, lowercase letters are replaced with uppercase values.

Example: For POs from all of my buyer organizations, update the inbound part number values. Inbound = "94823400-zzab", Cleansed = "94823400-ZZAB"

Update unit of measure to uppercase Updates UOM values that are lowercase to uppercase (for example, "ea" becomes "EA" and "Bx" becomes "BX"). Use this rule to smooth items to match the AllSource catalog and EDI standards that do not allow lowercase values.