]>
Commit | Line | Data |
---|---|---|
a9d77a20 FM |
1 | {-# LANGUAGE OverloadedStrings #-} |
2 | ||
3 | ---- Machine generated code. | |
4 | ---- Output of edi-parser-scaffolder | |
5 | ||
6 | module Text.Edifact.D01B.Simples.S1225 | |
7 | ( simple1225 | |
8 | ) where | |
9 | ||
10 | import Text.Edifact.Parsing | |
11 | import Text.Edifact.Types (Value) | |
12 | ||
13 | -- | Derived from this specification: | |
14 | -- | |
15 | -- > 1225 Message function code [C] | |
16 | -- > | |
17 | -- > Desc: Code indicating the function of the message. | |
18 | -- > | |
19 | -- > Repr: an..3 | |
20 | -- > | |
21 | -- > 1 Cancellation | |
22 | -- > Message cancelling a previous transmission for a given | |
23 | -- > transaction. | |
24 | -- > | |
25 | -- > 2 Addition | |
26 | -- > Message containing items to be added. | |
27 | -- > | |
28 | -- > 3 Deletion | |
29 | -- > Message containing items to be deleted. | |
30 | -- > | |
31 | -- > 4 Change | |
32 | -- > Message containing items to be changed. | |
33 | -- > | |
34 | -- > 5 Replace | |
35 | -- > Message replacing a previous message. | |
36 | -- > | |
37 | -- > 6 Confirmation | |
38 | -- > Message confirming the details of a previous | |
39 | -- > transmission where such confirmation is required or | |
40 | -- > recommended under the terms of a trading partner | |
41 | -- > agreement. | |
42 | -- > | |
43 | -- > 7 Duplicate | |
44 | -- > The message is a duplicate of a previously generated | |
45 | -- > message. | |
46 | -- > | |
47 | -- > 8 Status | |
48 | -- > Code indicating that the referenced message is a status. | |
49 | -- > | |
50 | -- > 9 Original | |
51 | -- > Initial transmission related to a given transaction. | |
52 | -- > | |
53 | -- > 10 Not found | |
54 | -- > Message whose reference number is not filed. | |
55 | -- > | |
56 | -- > 11 Response | |
57 | -- > Message responding to a previous message or document. | |
58 | -- > | |
59 | -- > 12 Not processed | |
60 | -- > Message indicating that the referenced message was | |
61 | -- > received but not yet processed. | |
62 | -- > | |
63 | -- > 13 Request | |
64 | -- > Code indicating that the referenced message is a | |
65 | -- > request. | |
66 | -- > | |
67 | -- > 14 Advance notification | |
68 | -- > Code indicating that the information contained in the | |
69 | -- > message is an advance notification of information to | |
70 | -- > follow. | |
71 | -- > | |
72 | -- > 15 Reminder | |
73 | -- > Repeated message transmission for reminding purposes. | |
74 | -- > | |
75 | -- > 16 Proposal | |
76 | -- > Message content is a proposal. | |
77 | -- > | |
78 | -- > 17 Cancel, to be reissued | |
79 | -- > Referenced transaction cancelled, reissued message will | |
80 | -- > follow. | |
81 | -- > | |
82 | -- > 18 Reissue | |
83 | -- > New issue of a previous message (maybe cancelled). | |
84 | -- > | |
85 | -- > 19 Seller initiated change | |
86 | -- > Change information submitted by buyer but initiated by | |
87 | -- > seller. | |
88 | -- > | |
89 | -- > 20 Replace heading section only | |
90 | -- > Message to replace the heading of a previous message. | |
91 | -- > | |
92 | -- > 21 Replace item detail and summary only | |
93 | -- > Message to replace item detail and summary of a previous | |
94 | -- > message. | |
95 | -- > | |
96 | -- > 22 Final transmission | |
97 | -- > Final message in a related series of messages together | |
98 | -- > making up a commercial, administrative or transport | |
99 | -- > transaction. | |
100 | -- > | |
101 | -- > 23 Transaction on hold | |
102 | -- > Message not to be processed until further release | |
103 | -- > information. | |
104 | -- > | |
105 | -- > 24 Delivery instruction | |
106 | -- > Delivery schedule message only used to transmit short- | |
107 | -- > term delivery instructions. | |
108 | -- > | |
109 | -- > 25 Forecast | |
110 | -- > Delivery schedule message only used to transmit long- | |
111 | -- > term schedule information. | |
112 | -- > | |
113 | -- > 26 Delivery instruction and forecast | |
114 | -- > Combination of codes '24' and '25'. | |
115 | -- > | |
116 | -- > 27 Not accepted | |
117 | -- > Message to inform that the referenced message is not | |
118 | -- > accepted by the recipient. | |
119 | -- > | |
120 | -- > 28 Accepted, with amendment in heading section | |
121 | -- > Message accepted but amended in heading section. | |
122 | -- > | |
123 | -- > 29 Accepted without amendment | |
124 | -- > Referenced message is entirely accepted. | |
125 | -- > | |
126 | -- > 30 Accepted, with amendment in detail section | |
127 | -- > Referenced message is accepted but amended in detail | |
128 | -- > section. | |
129 | -- > | |
130 | -- > 31 Copy | |
131 | -- > Indicates that the message is a copy of an original | |
132 | -- > message that has been sent, e.g. for action or | |
133 | -- > information. | |
134 | -- > | |
135 | -- > 32 Approval | |
136 | -- > A message releasing an existing referenced message for | |
137 | -- > action to the receiver. | |
138 | -- > | |
139 | -- > 33 Change in heading section | |
140 | -- > Message changing the referenced message heading section. | |
141 | -- > | |
142 | -- > 34 Accepted with amendment | |
143 | -- > The referenced message is accepted but amended. | |
144 | -- > | |
145 | -- > 35 Retransmission | |
146 | -- > Change-free transmission of a message previously sent. | |
147 | -- > | |
148 | -- > 36 Change in detail section | |
149 | -- > Message changing referenced detail section. | |
150 | -- > | |
151 | -- > 37 Reversal of a debit | |
152 | -- > Reversal of a previously posted debit. | |
153 | -- > | |
154 | -- > 38 Reversal of a credit | |
155 | -- > Reversal of a previously posted credit. | |
156 | -- > | |
157 | -- > 39 Reversal for cancellation | |
158 | -- > Code indicating that the referenced message is reversing | |
159 | -- > a cancellation of a previous transmission for a given | |
160 | -- > transaction. | |
161 | -- > | |
162 | -- > 40 Request for deletion | |
163 | -- > The message is given to inform the recipient to delete | |
164 | -- > the referenced transaction. | |
165 | -- > | |
166 | -- > 41 Finishing/closing order | |
167 | -- > Last of series of call-offs. | |
168 | -- > | |
169 | -- > 42 Confirmation via specific means | |
170 | -- > Message confirming a transaction previously agreed via | |
171 | -- > other means (e.g. phone). | |
172 | -- > | |
173 | -- > 43 Additional transmission | |
174 | -- > Message already transmitted via another communication | |
175 | -- > channel. This transmission is to provide electronically | |
176 | -- > processable data only. | |
177 | -- > | |
178 | -- > 44 Accepted without reserves | |
179 | -- > Message accepted without reserves. | |
180 | -- > | |
181 | -- > 45 Accepted with reserves | |
182 | -- > Message accepted with reserves. | |
183 | -- > | |
184 | -- > 46 Provisional | |
185 | -- > Message content is provisional. | |
186 | -- > | |
187 | -- > 47 Definitive | |
188 | -- > Message content is definitive. | |
189 | -- > | |
190 | -- > 48 Accepted, contents rejected | |
191 | -- > Message to inform that the previous message is received, | |
192 | -- > but it cannot be processed due to regulations, laws, | |
193 | -- > etc. | |
194 | -- > | |
195 | -- > 49 Settled dispute | |
196 | -- > The reported dispute is settled. | |
197 | -- > | |
198 | -- > 50 Withdraw | |
199 | -- > Message withdrawing a previously approved message. | |
200 | -- > | |
201 | -- > 51 Authorisation | |
202 | -- > Message authorising a message or transaction(s). | |
203 | -- > | |
204 | -- > 52 Proposed amendment | |
205 | -- > A code used to indicate an amendment suggested by the | |
206 | -- > sender. | |
207 | -- > | |
208 | -- > 53 Test | |
209 | -- > Code indicating the message is to be considered as a | |
210 | -- > test. | |
211 | -- > | |
212 | -- > 54 Extract | |
213 | -- > A subset of the original. | |
214 | -- > | |
215 | -- > 55 Notification only | |
216 | -- > The receiver may use the notification information for | |
217 | -- > analysis only. | |
218 | -- > | |
219 | -- > 56 Advice of ledger booked items | |
220 | -- > An advice that items have been booked in the ledger. | |
221 | -- > | |
222 | -- > 57 Advice of items pending to be booked in the ledger | |
223 | -- > An advice that items are pending to be booked in the | |
224 | -- > ledger. | |
225 | -- > | |
226 | -- > 58 Pre-advice of items requiring further information | |
227 | -- > A pre-advice that items require further information. | |
228 | -- > | |
229 | -- > 59 Pre-adviced items | |
230 | -- > A pre-advice of items. | |
231 | -- > | |
232 | -- > 60 No action since last message | |
233 | -- > Code indicating the fact that no action has taken place | |
234 | -- > since the last message. | |
235 | -- > | |
236 | -- > 61 Complete schedule | |
237 | -- > The message function is a complete schedule. | |
238 | -- > | |
239 | -- > 62 Update schedule | |
240 | -- > The message function is an update to a schedule. | |
241 | -- > | |
242 | -- > 63 Not accepted, provisional | |
243 | -- > Not accepted, subject to confirmation. | |
244 | -- > | |
245 | -- > 64 Verification | |
246 | -- > The message is transmitted to verify information. | |
247 | -- > | |
248 | -- > 65 Unsettled dispute | |
249 | -- > To report an unsettled dispute. | |
250 | simple1225 :: Parser Value | |
251 | simple1225 = simple "1225" (alphaNumeric `upTo` 3) |