PRODUCT ATTRIBUTE ENFORCEMENT RULES
Rules may be defined and enforced against air waybills in a logistics management system (LMS) to reduce operator input error and reduce operator input omissions. A rule may include a product code, a restriction type, and special handling codes associated with the product code by the restriction type. For example, when an air waybill has a particular product type, a rule may require certain special handling codes be applied to the air waybill. In another example, when an air waybill has a particular product type, a rule may prevent certain special handling codes from being applied to the air waybill.
1 . A method, comprising:
receiving a product code;
receiving a restriction type;
receiving at least one special handling code; and
associating the at least one special handling code with the product code according to the restriction type to create a rule.
2 . The method of claim 1 , in which the restriction type is at least one of allowing usage of the at least one special handling code with the product code and not allowing usage of the at least one special handling code with the product code.
3 . The method of claim 1 , further comprising storing the product code, the restriction type, and the at least one special handling code in a database.
4 . The method of claim 3 , further comprising:
receiving an air waybill having an assigned product code;
searching the database for rules matching the assigned product code; and
transmitting an error message when a rule applies to the assigned product code of the air waybill and the rule is not met.
5 . The method of claim 3 , further comprising:
receiving a request to update the rule; and
updating the rule in the database with at least one additional special handling code.
6 . The method of claim 3 , further comprising:
receiving a request to delete the rule; and
deleting the rule from the database.
7 . The method of claim 3 , further comprising:
receiving search criteria for locating a requested rule in the database; and
transmitting a list of rules matching the received search criteria.
8 . A computer program product, comprising:
a non-transitory computer readable medium comprising:
code to receive a product code;
code to receive a restriction type;
code to receive at least one special handling code; and
code to associate the at least one special handling code with the product code according to the restriction type to create a rule.
9 . The computer program product of claim 8 , in which the restriction type is at least one of allowing usage of the at least one special handling code with the product code and not allowing usage of the at least one special handling code with the product code.
10 . The computer program product of claim 8 , in which the medium further comprises code to store the product code, the restriction type, and the at least one special handling code in a database.
11 . The computer program product of claim 10 , in which the medium further comprises:
code to receive an air waybill having an assigned product code;
code to search the database for rules matching the assigned product code; and
code to transmit an error message when a rule applies to the assigned product code of the air waybill and the rule is not met.
12 . The computer program product of claim 11 , in which the medium further comprises:
code to receive a request to update the rule; and
code to update the rule in the database with at least one additional special handling code.
13 . The computer program product of claim 8 , in which the medium further comprises:
code to receive search criteria for locating a requested rule in the database; and
code to transmit a list of rules matching the received search criteria.
14 . The computer program product of claim 8 , in which the medium further comprises:
code to receive a request to delete the rule; and
code to delete the rule from the database.
15 . A system, comprising:
a memory; and
at least one processor coupled to the memory, in which the at least one processor is configured:
to receive a product code;
to receive a restriction type;
to receive at least one special handling code; and
to associate the at least one special handling code with the product code according to the restriction type to create a rule.
16 . The system of claim 15 , in which the restriction type is at least one of allowing usage of the at least one special handling code with the product code and not allowing usage of the at least one special handling code with the product code.
17 . The system of claim 15 , in which the at least one processor is further configured to store the product code, the restriction type, and the at least one special handling code in a database.
18 . The system of claim 17 , in which the at least one processor is further configured:
to receive an air waybill having an assigned product code;
to search the database for rules matching the assigned product code; and
to transmit an error message when a rule applies to the assigned product code of the air waybill and the rule is not met.
19 . The system of claim 17 , in which the at least one processor is further configured:
to receive a request to update the rule; and
to update the rule in the database with at least one additional special handling code.
20 . The system of claim 17 , in which the at least one processor is further configured:
to receive a request to delete the rule; and
to delete the rule from the database.