将付款方式添加为“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>