用于添加“ INV AGT”付款形式的xml查询应该是什么
使用pnr_addmultielemets。以下代码将FP行生成为“ MS INVAGT”。
我缺少什么吗?
<PNR_AddMultiElements>
<pnrActions>
<optionCode>11</optionCode>
</pnrActions>
<dataElementsMaster>
<marker1 />
<dataElementsIndiv>
<elementManagementData>
<segmentName>FP</segmentName>
</elementManagementData>
<formOfPayment>
<fop>
<identification>MS</identification>
</fop>
</formOfPayment>
<fopExtension>
<fopSequenceNumber>1</fopSequenceNumber>
<newFopsDetails>
<printedFreeflow>INV AGT</printedFreeflow>
</newFopsDetails>
</fopExtension>
<referenceForDataElement>
<reference>
<qualifier>ST</qualifier>
<number>1</number>
</reference>
</referenceForDataElement>
</dataElementsIndiv>
<dataElementsIndiv>
<elementManagementData>
<segmentName>RF</segmentName>
</elementManagementData>
<freetextData>
<freetextDetail>
<subjectQualifier>3</subjectQualifier>
<type>P2</type>
</freetextDetail>
<longFreetext>admin</longFreetext>
</freetextData>
</dataElementsIndiv>
</dataElementsMaster>
</PNR_AddMultiElements>
答案 0 :(得分:0)
<PNR_AddMultiElements>
<pnrActions>
<optionCode>11</optionCode>
</pnrActions>
<dataElementsMaster>
<marker1/>
<dataElementsIndiv>
<elementManagementData>
<segmentName>FP</segmentName>
</elementManagementData>
<formOfPayment>
<fop>
<identification>MS</identification>
<freetext>INV AGT</freetext>
</fop>
</formOfPayment>
</dataElementsIndiv>
<dataElementsIndiv>
<elementManagementData>
<segmentName>RF</segmentName>
</elementManagementData>
<freetextData>
<freetextDetail>
<subjectQualifier>3</subjectQualifier>
<type>P2</type>
</freetextDetail>
<longFreetext>admin</longFreetext>
</freetextData>
</dataElementsIndiv>
</dataElementsMaster>