FSN#28324 NEW_ITEM-ATTACHMENT standaard
svn path=/Website/trunk/; revision=33155
This commit is contained in:
@@ -1551,7 +1551,8 @@
|
||||
+ " , NULL " // vervaldatum
|
||||
+ " , ''"
|
||||
+ " , 1 "
|
||||
+ " , " + safe.quoted_sql(params.opmerking, 2000) + "); END;";
|
||||
+ " , " + safe.quoted_sql(params.srtdeel_opmerking, 2000) // PF: hier stond opmerking ipv srtdeel_opmerking, heeft het dus nooit gedaan??
|
||||
+ " , " + safe.quoted_sql(params.srtdeel_details_loc, 255) + "); END;";
|
||||
|
||||
Oracle.Execute(sql);
|
||||
// JGL: Het zou fijn zijn als upsert_srtdeel een functie wordt en gewoon
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
while (!basketEmpty)
|
||||
{
|
||||
description = punchNVL("NEW_ITEM-DESCRIPTION[#]", i, "Onbekend");
|
||||
attachment = punchNVL("NEW_ITEM-ATTACHMENT[#]", i, "");
|
||||
productGroup = punchNVL("NEW_ITEM-MATGROUP[#]",i, "Onbekend");
|
||||
quantity = parseInt(punchNVL("NEW_ITEM-QUANTITY[#]",i, "-1"),10);
|
||||
unitOfMeasure = punchNVL("NEW_ITEM-UNIT[#]",i, '');
|
||||
@@ -66,7 +67,8 @@
|
||||
srtdeel_prijs: prijs,
|
||||
srtdeel_eenheid: unitOfMeasure,
|
||||
srtdeel_btw: 21,
|
||||
srtdeel_opmerking: opmerking
|
||||
srtdeel_opmerking: opmerking,
|
||||
srtdeel_details_loc: attachment
|
||||
});
|
||||
orderurl += "&ps=" + bes_srtdeel_key + "&pn=" + quantity;
|
||||
// Check customer specific restrictions
|
||||
|
||||
Reference in New Issue
Block a user