AADS#38692 -- Productnummer ook uit NEW_ITEM-EXT_PRODUCT_ID halen als alternatief.

svn path=/Website/branches/v2016.2/; revision=31922
This commit is contained in:
Arthur Egberink
2016-12-09 13:51:59 +00:00
parent 467706b941
commit cc72a99941

View File

@@ -45,7 +45,11 @@
unitOfMeasure = punchNVL("NEW_ITEM-UNIT[#]",i, '');
price = punchNVL("NEW_ITEM-PRICE[#]",i, '');
// eenheid = punchNVL("NEW_ITEM-UNIT[#]",i, "Onbekend");
vendorProductNumber = punchNVL("NEW_ITEM-VENDORMAT[#]",i, '');
vendorProductNumber = punchNVL("NEW_ITEM-VENDORMAT[#]",i, 'Leeg');
if (vendorProductNumber == 'Leeg')
{
vendorProductNumber = punchNVL("NEW_ITEM-EXT_PRODUCT_ID[#]",i, '');
}
vendor = punchNVL("NEW_ITEM-VENDOR[#]",i, '');
opmerking = punchNVL("NEW_ITEM-LONGTEXT_#:132[]",i, '');