Changes for page 03. Errorlog

Last modified by Fredrik Nilsson on 2023/01/20 10:22
From empty
To version 16.1
edited by Fredrik Nilsson
on 2021/05/25 09:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +3. Errorlog
Parent
... ... @@ -1,0 +1,1 @@
1 +developer:Main.Invoicing.invoice-service.Technical reference.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.XWikiGuest
1 +xwiki:XWiki.frn
Default language
... ... @@ -1,0 +1,1 @@
1 +en
Tags
... ... @@ -1,0 +1,1 @@
1 +px-custom-page-content
Content
... ... @@ -1,0 +1,85 @@
1 +(% class="jumbotron" %)
2 +(((
3 +(% class="container" %)
4 +(((
5 +If errors are encountered during CUSIN file processing an errorlog will be created, describing what type of error i.e. logical, format or xml-validation error.
6 +)))
7 +)))
8 +
9 +(% class="row" %)
10 +(((
11 +(% class="col-xs-12" %)
12 +(((
13 +----
14 +
15 +== CUSIN Errorlog file ==
16 +
17 +[[image:FileResponse_[1.X].xsd.svg||height="285" width="339"]]
18 +
19 +(% class="wikigeneratedid" %)
20 +If any error occurs during the process of a cusin XML file, an errorlog is generated consisting of:
21 +
22 +* detailed description of all the errors that occured (ResponseItems file)
23 +* the elements of the original file that failed (OriginItems file)
24 +
25 +(% class="wikigeneratedid" %)
26 +Depending of the type of error you can choose to correct the invalid elements and transfer again in a new cusin file (using the next number in the cusin number series).
27 +
28 +== Error Codes ==
29 +)))
30 +)))
31 +
32 +Below is a list of some errorcodes that may occur in the errorfile
33 +
34 +(% class="table-bordered table-striped" %)
35 +|=(% style="width: 302px;" %)MessageCode|=(% style="width: 2940px;" %)Description
36 +|(% style="width:302px" %)1210|(% style="width:2940px" %)AccountName must be unique
37 +|(% style="width:302px" %)1024|(% style="width:2940px" %)Registration number XXXXX is invalid
38 +
39 +(% id="HNameconvention" %)
40 +== Name convention ==
41 +
42 +ERRCUSIN_<CompanyNumber>_<DateTime>_<SerialNumber>[Original related filename].xml
43 +
44 +(% class="table-bordered table-striped" %)
45 +|=Names Component|=Description
46 +|CompanyNumber|The company number in our ledger system
47 +|DateTime|Date created, Should be in the format ISO 8601 format, YYYYMMDDhhmmdd
48 +|SerialNumber|Should follow an uninterupted number series, 00001, and so on.
49 +
50 +== Current XML schema description ==
51 +
52 +A detailed description of the elements in the current version of the XML schema definition file (XSD) can be found [[here>>doc:Sandbox.Errorlog.XML Schema specification.WebHome]]
53 +
54 +== Download current XML schema file ==
55 +
56 +(% class="row" %)
57 +(((
58 +(% class="col-xs-12" %)
59 +(((
60 +(% border="0" style="width:1023px" %)
61 +|=(% style="width: 208px; background-color: rgb(237, 237, 237);" %)Fileversion|=(% style="width: 213px; background-color: rgb(237, 237, 237);" %)Version|=(% style="width: 288px; background-color: rgb(237, 237, 237);" %)Releasedate|=(% style="width: 585px; background-color: rgb(237, 237, 237);" %)Comment
62 +|(% style="width:208px" %)[[FileResponse_[1.X].xsd>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@FileResponse_[1.X].xsd]]|(% style="width:213px" %)1.0|(% style="width:288px" %)2016|(% style="width:585px" %)
63 +
64 +== Change Log ==
65 +
66 +(% id="HVersion1.1" %)
67 +==== **Version 2.0{{id name="3"/}}** ====
68 +
69 +(% id="HJanuary2C2016" %)
70 +===== September, 2016 =====
71 +
72 +[[FileResponse_[1.X].xsd>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@FileResponse_[1.X].xsd]]
73 +
74 +(% class="box" %)
75 +(((
76 + Initial version (latest documented version)
77 +)))
78 +
79 +== Download sample files ==
80 +
81 +[[ERRCUSIN_367_20191030093754_0[CUSIN_367_20190911090044_93.xml]>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@ERRCUSIN_367_20191030093754_0[CUSIN_367_20190911090044_93.xml].XML]] (ResponseItems)
82 +
83 +[[ERRCUSIN_367_20191030093613_0[CUSIN_367_20190911090044_93.xml]>>attach:Main.Invoicing.invoice-service.Technical reference.WebHome@ERRCUSIN_367_20191030093613_0[CUSIN_367_20190911090044_93.xml].XML]] (OriginItems)
84 +)))
85 +)))