File Coverage

blib/lib/Business/EDI/CodeList/MessageFunctionCode.pm
Criterion Covered Total %
statement 5 5 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 2 0.0
total 8 10 80.0


line stmt bran cond sub pod time code
1             package Business::EDI::CodeList::MessageFunctionCode;
2              
3 11     11   64 use base 'Business::EDI::CodeList';
  11         22  
  11         5833  
4             my $VERSION = 0.02;
5 32     32 0 107 sub list_number {1225;}
6             my $usage = 'C';
7              
8             # 1225 Message function code [C]
9             # Desc: Code indicating the function of the message.
10             # Repr: an..3
11              
12             my %code_hash = (
13             '1' => [ 'Cancellation',
14             'Message cancelling a previous transmission for a given transaction.' ],
15             '2' => [ 'Addition',
16             'Message containing items to be added.' ],
17             '3' => [ 'Deletion',
18             'Message containing items to be deleted.' ],
19             '4' => [ 'Change',
20             'Message containing items to be changed.' ],
21             '5' => [ 'Replace',
22             'Message replacing a previous message.' ],
23             '6' => [ 'Confirmation',
24             'Message confirming the details of a previous transmission where such confirmation is required or recommended under the terms of a trading partner agreement.' ],
25             '7' => [ 'Duplicate',
26             'The message is a duplicate of a previously generated message.' ],
27             '8' => [ 'Status',
28             'Code indicating that the referenced message is a status.' ],
29             '9' => [ 'Original',
30             'Initial transmission related to a given transaction.' ],
31             '10' => [ 'Not found',
32             'Message whose reference number is not filed.' ],
33             '11' => [ 'Response',
34             'Message responding to a previous message or document.' ],
35             '12' => [ 'Not processed',
36             'Message indicating that the referenced message was received but not yet processed.' ],
37             '13' => [ 'Request',
38             'Code indicating that the referenced message is a request.' ],
39             '14' => [ 'Advance notification',
40             'Code indicating that the information contained in the message is an advance notification of information to follow.' ],
41             '15' => [ 'Reminder',
42             'Repeated message transmission for reminding purposes.' ],
43             '16' => [ 'Proposal',
44             'Message content is a proposal.' ],
45             '17' => [ 'Cancel, to be reissued',
46             'Referenced transaction cancelled, reissued message will follow.' ],
47             '18' => [ 'Reissue',
48             'New issue of a previous message (maybe cancelled).' ],
49             '19' => [ 'Seller initiated change',
50             'Change information submitted by buyer but initiated by seller.' ],
51             '20' => [ 'Replace heading section only',
52             'Message to replace the heading of a previous message.' ],
53             '21' => [ 'Replace item detail and summary only',
54             'Message to replace item detail and summary of a previous message.' ],
55             '22' => [ 'Final transmission',
56             'Final message in a related series of messages together making up a commercial, administrative or transport transaction.' ],
57             '23' => [ 'Transaction on hold',
58             'Message not to be processed until further release information.' ],
59             '24' => [ 'Delivery instruction',
60             'Delivery schedule message only used to transmit short- term delivery instructions.' ],
61             '25' => [ 'Forecast',
62             'Delivery schedule message only used to transmit long- term schedule information.' ],
63             '26' => [ 'Delivery instruction and forecast',
64             "Combination of codes '24' and '25'." ],
65             '27' => [ 'Not accepted',
66             'Message to inform that the referenced message is not accepted by the recipient.' ],
67             '28' => [ 'Accepted, with amendment in heading section',
68             'Message accepted but amended in heading section.' ],
69             '29' => [ 'Accepted without amendment',
70             'Referenced message is entirely accepted.' ],
71             '30' => [ 'Accepted, with amendment in detail section',
72             'Referenced message is accepted but amended in detail section.' ],
73             '31' => [ 'Copy',
74             'Indicates that the message is a copy of an original message that has been sent, e.g. for action or information.' ],
75             '32' => [ 'Approval',
76             'A message releasing an existing referenced message for action to the receiver.' ],
77             '33' => [ 'Change in heading section',
78             'Message changing the referenced message heading section.' ],
79             '34' => [ 'Accepted with amendment',
80             'The referenced message is accepted but amended.' ],
81             '35' => [ 'Retransmission',
82             'Change-free transmission of a message previously sent.' ],
83             '36' => [ 'Change in detail section',
84             'Message changing referenced detail section.' ],
85             '37' => [ 'Reversal of a debit',
86             'Reversal of a previously posted debit.' ],
87             '38' => [ 'Reversal of a credit',
88             'Reversal of a previously posted credit.' ],
89             '39' => [ 'Reversal for cancellation',
90             'Code indicating that the referenced message is reversing a cancellation of a previous transmission for a given transaction.' ],
91             '40' => [ 'Request for deletion',
92             'The message is given to inform the recipient to delete the referenced transaction.' ],
93             '41' => [ 'Finishing/closing order',
94             'Last of series of call-offs.' ],
95             '42' => [ 'Confirmation via specific means',
96             'Message confirming a transaction previously agreed via other means (e.g. phone).' ],
97             '43' => [ 'Additional transmission',
98             'Message already transmitted via another communication channel. This transmission is to provide electronically processable data only.' ],
99             '44' => [ 'Accepted without reserves',
100             'Message accepted without reserves.' ],
101             '45' => [ 'Accepted with reserves',
102             'Message accepted with reserves.' ],
103             '46' => [ 'Provisional',
104             'Message content is provisional.' ],
105             '47' => [ 'Definitive',
106             'Message content is definitive.' ],
107             '48' => [ 'Accepted, contents rejected',
108             'Message to inform that the previous message is received, but it cannot be processed due to regulations, laws, etc.' ],
109             '49' => [ 'Settled dispute',
110             'The reported dispute is settled.' ],
111             '50' => [ 'Withdraw',
112             'Message withdrawing a previously approved message.' ],
113             '51' => [ 'Authorisation',
114             'Message authorising a message or transaction(s).' ],
115             '52' => [ 'Proposed amendment',
116             'A code used to indicate an amendment suggested by the sender.' ],
117             '53' => [ 'Test',
118             'Code indicating the message is to be considered as a test.' ],
119             '54' => [ 'Extract',
120             'A subset of the original.' ],
121             '55' => [ 'Notification only',
122             'The receiver may use the notification information for analysis only.' ],
123             '56' => [ 'Advice of ledger booked items',
124             'An advice that items have been booked in the ledger.' ],
125             '57' => [ 'Advice of items pending to be booked in the ledger',
126             'An advice that items are pending to be booked in the ledger.' ],
127             '58' => [ 'Pre-advice of items requiring further information',
128             'A pre-advice that items require further information.' ],
129             '59' => [ 'Pre-adviced items',
130             'A pre-advice of items.' ],
131             '60' => [ 'No action since last message',
132             'Code indicating the fact that no action has taken place since the last message.' ],
133             '61' => [ 'Complete schedule',
134             'The message function is a complete schedule.' ],
135             '62' => [ 'Update schedule',
136             'The message function is an update to a schedule.' ],
137             '63' => [ 'Not accepted, provisional',
138             'Not accepted, subject to confirmation.' ],
139             '64' => [ 'Verification',
140             'The message is transmitted to verify information.' ],
141             '65' => [ 'Unsettled dispute',
142             'To report an unsettled dispute.' ],
143             );
144 32     32 0 101 sub get_codes { return \%code_hash; }
145              
146             1;