Skip to content

Commit c57404d

Browse files
author
duongtq
committed
[IMP] base_wamas_ubl: update ID for reception and return UBL template
1 parent c7e4758 commit c57404d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

base_wamas_ubl/lib/wamas/ubl_template/reception.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2"
66
>
77
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
8-
<cbc:ID />
8+
<cbc:ID><t t-raw="record.IvWevk_WevId_WevNr" /></cbc:ID>
99
<cbc:IssueDate><t t-raw="get_current_date()" /></cbc:IssueDate>
1010
<cac:OrderReference>
1111
<cbc:ID><t t-raw="record.lines[0].IvWevp_WEAP_WeaId_WeaNr" /></cbc:ID>

base_wamas_ubl/lib/wamas/ubl_template/return.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2"
66
>
77
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
8-
<cbc:ID />
8+
<cbc:ID><t t-raw="record.IvKretk_KretId_KretNr" /></cbc:ID>
99
<cbc:IssueDate><t t-raw="get_current_date()" /></cbc:IssueDate>
1010
<cac:OrderReference>
1111
<cbc:ID><t t-raw="record.IvKretk_ExtRef" /></cbc:ID>

base_wamas_ubl/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
22
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
3-
<cbc:ID/>
3+
<cbc:ID>1683399</cbc:ID>
44
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
55
<cac:OrderReference>
66
<cbc:ID>1712149</cbc:ID>
@@ -127,7 +127,7 @@
127127
<cbc:ID/>
128128
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
129129
<cac:OrderReference>
130-
<cbc:ID>1711980</cbc:ID>
130+
<cbc:ID>1683388</cbc:ID>
131131
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
132132
</cac:OrderReference>
133133
<cac:DespatchSupplierParty>

base_wamas_ubl/tests/samples/WAMAS2UBL-SAMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<DespatchAdvice xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-2">
22
<cbc:UBLVersionID>2.2</cbc:UBLVersionID>
3-
<cbc:ID/>
3+
<cbc:ID>196241</cbc:ID>
44
<cbc:IssueDate>2023-05-01</cbc:IssueDate>
55
<cac:OrderReference>
66
<cbc:ID>130377</cbc:ID>

0 commit comments

Comments
 (0)