YKPN#75315 -- Fout in import van Cirfood / Benq

svn path=/Customer/trunk/; revision=58014
This commit is contained in:
Norbert Wassink
2022-11-17 08:21:37 +00:00
parent 791b02537b
commit d62013da89

View File

@@ -14049,6 +14049,7 @@ AS
AND rdp.prs_bedrijf_key = b.prs_bedrijf_key
AND rdp.prs_bedrijf_key = 90501 -- Cirfood algemeen
AND rra.res_rsv_artikel_verwijder IS NULL
AND rrr.res_rsv_ruimte_verwijder IS NULL
AND rrr.res_rsv_ruimte_externsyncdate IS NULL;
@@ -14137,8 +14138,8 @@ BEGIN
ykpn.add_xml_row(v_bestand, '</Item>');
ykpn.add_xml_element (v_bestand, 'QuantityOrdered',rec_art.aantal);
ykpn.add_xml_row(v_bestand, '<Price>');
ykpn.add_xml_element (v_bestand, 'NetPrice',rec_art.prijs);
ykpn.add_xml_element (v_bestand, 'BrtPrice',ROUND(rec_art.prijs/(1+rec_art.btw/100),2));
ykpn.add_xml_element (v_bestand, 'BrtPrice',rec_art.prijs);
ykpn.add_xml_element (v_bestand, 'NetPrice',ROUND(rec_art.prijs/(1+rec_art.btw/100),2));
ykpn.add_xml_element (v_bestand, 'Currency','EUR');
ykpn.add_xml_element (v_bestand, 'VatPercentage',rec_art.btw);
ykpn.add_xml_row(v_bestand, '</Price>');