|
Message:
Post=OK
Parse=OK
Status=OK
Text=some
text
Message=done
|
Meaning:
This means the
expected name/value pairs were valid
This means the document parsed
correctly
This means it passed preliminary validation
Such as
"received batch" or "received po"
Everything is
complete
|
"REJECTEDs"
When posting to Morris and
our server believes you made a fatal error within your POST or XML, it will be
rejected as such:
Message:
Status=rejected
Text=some reason; see below under "Common
Reasons for "Rejected"
|
Meaning:
This means we
will do nothing more with this order
Hopefully useful info on why it
was rejected
|
Common Reasons for "Rejected": (commented only if not
obvious)
ErrorCode:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Message:
Generic:
URL $xml_url not found
Server
Error 101
$adddir invalid/not properly set
Failed to parse
correctly
Failed to parse COMMAND correctly: "+COMMAND
Batch number
missing/invalid
Batch "+TMP+" is a processed duplicate:
"+FNAME
Batch "+TMP+" is an unprocessed duplicate: "+FNAME
Batch
"+STR(II)+" count missing/invalid
Batch "+TMP+" count sent: "+STR(II)+"
actual: "+STR(DG'CTL)
PO number missing/invalid
PO "+TMP+" is a
processed duplicate: "+FNAME
PO "+TMP+" is an unprocessed duplicate:
"+FNAME
PO "+TMP+" count missing/invalid
PO "+TMP+" count sent:
"+STR(II)+"actual: "+STR(DG'CTL)
Invalid COMMAND: "+COMMAND
|
Meaning:
I could
not get your XML
Login failed
Internal error should never
happen
e.g. not
available, OrderCreate, OrderDetail
|
17
|
Available:
Sku missing/invalid
|
|
18
19
20
21
22
23
24
25
26
27
|
OrderDetail:
Cannot determine order
number
Invoice "+INVOICE+" not found
Tracking number "+TRACKNUM+"
not found
Specific current order "+ORDER+" not found
Current order
"+ORDER+" not found
Specific archive order "+ORDER+" not found
PO
"+
PO+
" partially processed, detail not
available
PO "+
PO+
" processed, XML had
errors, rejected
PO "+
PO+
" not yet
processed, detail not available
PO "+
PO+
" not found"
|
|
Generally, when a batch is rejected, the server thinks that this
is an error on the part of the client.
"FAILEDs"
When posting to Morris and our server has an internal fatal
error your XML will be failed as such:
Message:
Status=failed
Text=some reason; see
below
|
Meaning:
This means we
will do nothing more with this order
Hopefully useful info on why it
was rejected
|
Common Reasons: (commented only if not
obvious)
28
29
30
|
Message:
General:
System error batch "+TMP+" mv
"+FNAME+" "+NEW'FNAME
System error PO "+TMP+" mv "+FNAME+"
"+NEW'FNAME
System error "+ERR(0)
|
Meaning:
|
31
32
33
34
35
36
37
38
39
40
|
OrderDetail:
Order"+ENTRY+" from invoice
"+INVOICE+" not found
Order"+ENTRY+" from tracking number "+TRACKNUM+"
not found
Text=program error 102
Text=program error
103
Text=program error 104
System1 error "+DG'CTL+" creating
"+ONAME+" from "+FNAME
System2 error "+DG'CTL+" creating "+ONAME+" from
"+FNAME
OE control record error
OE2 control record error
IN
control record error
|
Order not for your customer number
Order
not for your customer number
Order not for your customer
number
Internal
Internal
Internal
Internal
Internal
|
Generally, when a POST fails, the server having a problem; could
be a program bug, or a system problem of some sort.
PROCESSING
After you post your XML
to the server, the Morris server will do periodic processing to complete the
addition of orders. This could be every 3 minutes or every 30 minutes. During
the processing if errors occur they are sent to you in the load history each
night, and if you are set up to receive them, in real-time posts of load
activity. If you are loading orders by batch you will get responses for the
batch as well as each order.
Error messages that can occur
during processing:
Message:
Load
Batch:
Status=OK, warning, rejected
Warning Text=summary of
partially processed orders
Rejected Text=FNAME: "+FNAME+" invalid XML!"
; Invalid VendorId in "+FNAME
OK Text=summary of fully processed orders
|
Meaning:
All orders
failed
|
Process
Orders:
Status=OK, warning, rejected
Rejected Text=
*multitude of reasons, see below. Warning Text= *multitude of reasons, see
below.
|
|
Rejected Text reasons:
41
42
|
Message:
Generic:
FNAME: "+FNAME+" invalid XML!"
PO
not valid or found: "+DG'TEXT
|
Meaning:
Orders
failed
|
43
44
45
46
47
48
49
50
51
52
53
54
55
|
Header:
Duplicate PO "+HDR'PO+" found in
"+COMMAND+"!"
No address information!
Invalid terms
"+STR(TRH'KNO)+"!"
Unexpected halt!
ERROR trap death
"+ERR(0)+"-"+ERR(1)
Invalid Ship Via "+STR(VIA'KNO)+"!"
Invalid
location: "+HDR'LOC'NO
Duplicate/Invalid
PO
"+HDR'PO
Address has APO/FPO when VIA does not
allow!"
Address has PO Box when VIA does not allow!"
Invalid CC
terms "+STR(TRH'KNO)+"!"
No addresses found on order (error
1776)!"
No addresses sent (warning 1776)!"
|
Program bug?
Bad
problems
Credit card problem
|
56
57
58
59
60
61
62
63
64
|
LineItems:
Count ="+STR(LCOUNT)+" actually has
"+STR(LCOUNT'II)+"!"
Count ="+STR(LCOUNT)+" nothing to do!"
Qty
"+STR(LIN'USR'OQTY)+" invalid "+DG'TEXT
Sku/part invalid
"+DG'TEXT
Part "+PRHP'KPART+" not found"
Sku "+STR(LIN'TRK'NO)+" not
found"
Cannot add LIN: "
Price is zero on line
"+STR(LCOUNT'II)
Loc "+STR(LIN'LOC'NO)+" invalid (0,20,40,60,100
valid)"
|
Program
bug?
|
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
Address:
Invalid line1 "+DG'TEXT
ENTRY + "
truncated to " + TAD'COMPANY + " on line1
Invalid street1
"+DG'TEXT
ENTRY + " truncated to " + TAD'ADDR1 + " on street1"
ENTRY
+ " truncated to " + TAD'ADDR2 + " on street2"
Invalid city
"+DG'TEXT
ENTRY + " truncated to " + TAD'CITY + " on city"
Invalid
state "+DG'TEXT
ENTRY + " truncated to " + TAD'ST + " on
state"
ENTRY + " truncated to " + TAD'COUNTRY + " on
country"
Invalid zip "+DG'TEXT
ENTRY + " truncated to " + TAD'NAME +
" on Name"
ENTRY + " truncated to " + TAD'PHONE + " on Phone"
Could
not add temp address!
|
Program
bug?
|
Warning Text reasons:
79
80
81
82
83
84
85
86
|
Address:
Company and Last blank!"
Addr1,
zip, city, or state is blank!"
Zip code must be 5 or 9 digits!"
Zip
had non-numeric!"
Address1 or Address2 requires a numeric!"
Invalid
country!"
Invalid zip!"
City/State not valid for zip, try:
"
|
|
Note -- you will get the processing errors in the load summary. If just a warning they may carry over to the daily summary, etc.
Note -- other errors may occur -- they would likely be rejected/failed and they would likely be system errors. Treat them as very bad things.
For help with this web site
|
|