SVRZ#35236 BES: BTW-veld bieden voor vrije inkooporders
svn path=/Website/trunk/; revision=28046
This commit is contained in:
@@ -29,10 +29,10 @@ oRs.Close();
|
||||
|
||||
if (btwtabel_key == -1)
|
||||
{
|
||||
sql = "SELECT f.fin_btwtabel_key"
|
||||
+ " FROM fin_btwtabel f"
|
||||
+ " WHERE w.fin_btwtabel_verwijder IS NULL"
|
||||
+ " AND w.fin_btwtabel_default = 1"
|
||||
sql = "SELECT fin_btwtabel_key"
|
||||
+ " FROM fin_btwtabel "
|
||||
+ " WHERE fin_btwtabel_verwijder IS NULL"
|
||||
+ " AND fin_btwtabel_default = 1"
|
||||
oRs = Oracle.Execute(sql);
|
||||
if (!oRs.eof)
|
||||
btwtabel_key = oRs("fin_btwtabel_key").Value || -1;
|
||||
@@ -41,8 +41,8 @@ if (btwtabel_key == -1)
|
||||
|
||||
var sql = "SELECT fin_btwtabelwaarde_perc"
|
||||
+ " , fin_btwtabelwaarde_oms"
|
||||
+ " FROM fin_btwtabelwaarde w"
|
||||
+ " WHERE w.fin_btwtabel_key = " + btwtabel_key
|
||||
+ " FROM fin_btwtabelwaarde"
|
||||
+ " WHERE fin_btwtabel_key = " + btwtabel_key
|
||||
+ " ORDER BY fin_btwtabelwaarde_perc";
|
||||
|
||||
var params = { required: required,
|
||||
|
||||
Reference in New Issue
Block a user