|
|
@@ -351,10 +351,10 @@ public class X12Converter {
|
|
|
txCount++;
|
|
|
/*非必填 Actual end customer country which is sold by disti , please provide the TERRITORY_SHORT_NAME and TERRITORY_CODE as following mapping sheet.*/
|
|
|
writer.writeStartSegment("N4")
|
|
|
- .writeElement(pd.getPd_endCustomerCountryName())//? Ex:China
|
|
|
+ .writeElement(pd.getPd_endCustomerCountryName())//Ex:China
|
|
|
.writeElement("")
|
|
|
.writeElement("")
|
|
|
- .writeElement(pd.getPd_endCustomerCountry())//? Ex:CN
|
|
|
+ .writeElement(pd.getPd_endCustomerCountry())//Ex:CN
|
|
|
.writeEndSegment();
|
|
|
txCount++;
|
|
|
|
|
|
@@ -421,12 +421,13 @@ public class X12Converter {
|
|
|
.writeEndSegment();
|
|
|
txCount++;
|
|
|
|
|
|
+ writer.writeStartSegment("CUR")
|
|
|
+ .writeElement("BY")
|
|
|
+ .writeElement(pos.getPs_currency())
|
|
|
+ .writeEndSegment();
|
|
|
+ txCount++;
|
|
|
+
|
|
|
}
|
|
|
- writer.writeStartSegment("CUR")
|
|
|
- .writeElement("BY")
|
|
|
- .writeElement(pos.getPs_currency())
|
|
|
- .writeEndSegment();
|
|
|
- txCount++;
|
|
|
//结束
|
|
|
// 订单小计 (CTT)
|
|
|
writer.writeStartSegment("CTT")
|