Merhaba
Logo object kullanarak cari ve fatura bilgilerini sorunsuz bir şekilde aktarabiliyorum. Logo tarafına aktarmış olduğum fatura için iade fatura aktarım işlemi yapmaya çalışıyorum.
İşlem sırasında kullanılan DataObjectType.doSalesInvoice objesinin XML serilaze edilmiş hali aşağıdaki gibidir.
İşlem sırasında Post703 Hata Mesajı : Bağlantılı malzeme hareketi bulunamadı (iade/fiyat farkı). hatası alıyorum.
Bu hata tam olarak neden kaynaklanmaktadır. Konu ile ilgili bilgisi olan arkadaşların yardımını rica ederim.
<?xml version="1.0" encoding="ISO-8859-9"?>
<SALES_INVOICES>
<INVOICE DBOP="INS" >
<TYPE>2</TYPE>
<NUMBER>CHK-357251683-I</NUMBER>
<DATE>30.12.2016</DATE>
<TIME>186520576</TIME>
<DOC_NUMBER>CHK-357251683</DOC_NUMBER>
<ARP_CODE>T-CHK-1114618</ARP_CODE>
<GL_CODE>120.02.003</GL_CODE>
<NOTES1></NOTES1>
<NOTES2></NOTES2>
<NOTES3></NOTES3>
<VAT_INCLUDED_GRS>1</VAT_INCLUDED_GRS>
<CREATED_BY>1</CREATED_BY>
<DATE_CREATED>30.12.2016</DATE_CREATED>
<HOUR_CREATED>11</HOUR_CREATED>
<MIN_CREATED>30</MIN_CREATED>
<SEC_CREATED>16</SEC_CREATED>
<SHIPPING_AGENT>Y.ICI KARGO</SHIPPING_AGENT>
<DATA_REFERENCE>0</DATA_REFERENCE>
<DISPATCHES>
<DISPATCH>
<TYPE>2</TYPE>
<NUMBER>CHK-357251683-D</NUMBER>
<DATE>26.12.2016</DATE>
<TIME>186520832</TIME>
<DOC_NUMBER>CHK-357251683</DOC_NUMBER>
<INVOICE_NUMBER>CHK-357251683-I</INVOICE_NUMBER>
<ARP_CODE>T-CHK-1114618</ARP_CODE>
<GL_CODE>120.02.003</GL_CODE>
<INVOICED>1</INVOICED>
<TOTAL_VAT>18.51</TOTAL_VAT>
<DATA_REFERENCE>0</DATA_REFERENCE>
<ORIG_NUMBER></ORIG_NUMBER>
<TRANSACTIONS>
</TRANSACTIONS>
<ORGLOGOID></ORGLOGOID>
<DEFNFLDSLIST>
</DEFNFLDSLIST>
<DEDUCTIONPART1>0</DEDUCTIONPART1>
<DEDUCTIONPART2>0</DEDUCTIONPART2>
<AFFECT_RISK>0</AFFECT_RISK>
<DISP_STATUS>1</DISP_STATUS>
</DISPATCH>
</DISPATCHES>
<TRANSACTIONS>
<TRANSACTION>
<TYPE>0</TYPE>
<MASTER_CODE>CHK-1427791</MASTER_CODE>
<GL_CODE1>191.03</GL_CODE1>
<QUANTITY>1</QUANTITY>
<PRICE>249.95</PRICE>
<TOTAL>249.95</TOTAL>
<UNIT_CODE>ADET</UNIT_CODE>
<UNIT_CONV1>1</UNIT_CONV1>
<UNIT_CONV2>1</UNIT_CONV2>
<VAT_INCLUDED>1</VAT_INCLUDED>
<VAT_RATE>8</VAT_RATE>
<VAT_AMOUNT>18.51</VAT_AMOUNT>
<BILLED>1</BILLED>
<DATA_REFERENCE>0</DATA_REFERENCE>
<DISPATCH_NUMBER>CHK-357251683-D</DISPATCH_NUMBER>
<FA_INFO>
</FA_INFO>
<SL_DETAILS>
</SL_DETAILS>
<DETAILS>
</DETAILS>
<QCLIST>
</QCLIST>
<DIST_ORD_REFERENCE>0</DIST_ORD_REFERENCE>
<CAMPAIGN_INFOS>
</CAMPAIGN_INFOS>
<ORGLOGOID></ORGLOGOID>
<GENIUSFLDSLIST>
</GENIUSFLDSLIST>
<DEFNFLDSLIST>
</DEFNFLDSLIST>
<FAREGDEFNFLDLIST>
</FAREGDEFNFLDLIST>
<PREACCLINES>
</PREACCLINES>
<FOREIGN_TRADE_TYPE>0</FOREIGN_TRADE_TYPE>
<DISTRIBUTION_TYPE_WHS>0</DISTRIBUTION_TYPE_WHS>
<DISTRIBUTION_TYPE_FNO>0</DISTRIBUTION_TYPE_FNO>
</TRANSACTION>
</TRANSACTIONS>
<PAYMENT_LIST>
</PAYMENT_LIST>
<ORGLOGOID></ORGLOGOID>
<GENIUSFLDSLIST>
</GENIUSFLDSLIST>
<DEFNFLDSLIST>
</DEFNFLDSLIST>
<DEDUCTIONPART1>2</DEDUCTIONPART1>
<DEDUCTIONPART2>3</DEDUCTIONPART2>
<INTEL_LIST>
</INTEL_LIST>
<AFFECT_RISK>0</AFFECT_RISK>
<PREACCLINES>
</PREACCLINES>
<DOC_DATE>26.12.2016</DOC_DATE>
<EDURATION_TYPE>0</EDURATION_TYPE>
<EXIMVAT>0</EXIMVAT>
<EARCHIVEDETR_INTPAYMENTTYPE>0</EARCHIVEDETR_INTPAYMENTTYPE>
<OKCINFO_LIST>
</OKCINFO_LIST>
</INVOICE>
</SALES_INVOICES>