Commit e7a7151c authored by Chanon.u's avatar Chanon.u
Browse files

Add new templates for error trans export and gcl

parent 9f9d0492
...@@ -103,6 +103,14 @@ return new class extends Migration ...@@ -103,6 +103,14 @@ return new class extends Migration
'description' => '', 'description' => '',
'template' => '{"root":"CustomsResponse","namespace":"http://ebxml.customs.go.th/XMLSchema/CustomsResponse_8_00","DocumentControl":{"MessageType":"GCLD","ReferenceNumber":"","RegistrationID":"TH0101075570001010000000001T0","DocumentDetail":{"GoodsAudit":{"DeclarationNumber":"","ContainerNumber":"CONT1234567","LoadPort":"0010","Message":"Goods Transition Control Already Cancel Matching","AuditDateTime":""}}}}' 'template' => '{"root":"CustomsResponse","namespace":"http://ebxml.customs.go.th/XMLSchema/CustomsResponse_8_00","DocumentControl":{"MessageType":"GCLD","ReferenceNumber":"","RegistrationID":"TH0101075570001010000000001T0","DocumentDetail":{"GoodsAudit":{"DeclarationNumber":"","ContainerNumber":"CONT1234567","LoadPort":"0010","Message":"Goods Transition Control Already Cancel Matching","AuditDateTime":""}}}}'
], ],
[
'mid' => 1,
'code' => 'ERR_TRANS',
'type' => 'ERR_TRANS',
'name' => 'Error Trans',
'description' => '',
'template' => '{"root":"ErrorMessage","namespace":null,"DocumentDetails":{"TransactionNo":"E06@240209210907_418","ReferenceNo":"","ErrorType":"ERR_TRANS","ErrorItems":"1","ErrorDate":"","ErrorDescription":"Incorrect length = 0. Facet length = 2. element=\'CustomsExportDeclaration[1]/SEQUENCE1[1]/DocumentControl[1]/SEQUENCE1[1]/TotalPackage[1]/SEQUENCE1[1]/UnitCode\'. At line = 1536 column = 1."}}'
],
//Import //Import
[ [
...@@ -259,6 +267,14 @@ return new class extends Migration ...@@ -259,6 +267,14 @@ return new class extends Migration
'description' => '', 'description' => '',
'template' => '{"root":"CustomsResponse","namespace":"http://ebxml.customs.go.th/XMLSchema/CustomsResponse_8_00","DocumentControl":{"MessageType":"GCLD","ReferenceNumber":"","RegistrationID":"TH0101075570001010000000001T0","DocumentDetail":{"GoodsAudit":{"DeclarationNumber":"","ContainerNumber":"CONT1234567","LoadPort":"2801","Message":"Goods Transition Control Already Cancel Matching","AuditDateTime":""}}}}' 'template' => '{"root":"CustomsResponse","namespace":"http://ebxml.customs.go.th/XMLSchema/CustomsResponse_8_00","DocumentControl":{"MessageType":"GCLD","ReferenceNumber":"","RegistrationID":"TH0101075570001010000000001T0","DocumentDetail":{"GoodsAudit":{"DeclarationNumber":"","ContainerNumber":"CONT1234567","LoadPort":"2801","Message":"Goods Transition Control Already Cancel Matching","AuditDateTime":""}}}}'
], ],
[
'mid' => 3,
'code' => 'ERR_TRANS',
'type' => 'ERR_TRANS',
'name' => 'Error Trans',
'description' => '',
'template' => '{"root":"ErrorMessage","namespace":null,"DocumentDetails":{"TransactionNo":"E06@240209210907_418","ReferenceNo":"","ErrorType":"ERR_TRANS","ErrorItems":"1","ErrorDate":"","ErrorDescription":"Too few occurences of element=\'CustomsGoodsTransition[1]/SEQUENCE1[1]/DocumentControl[1]/SEQUENCE1[1]/ContainerInfo[1]/SEQUENCE1[1]/TaxNumber\'. Found = 0. Min = 1. At line = 822 column = 1."}}'
],
//SHORT //SHORT
[ [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment