FSN#36148 mld_typeopdr_srtdiscipline_key inkorten
svn path=/Website/trunk/; revision=29034
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
function model_mld_typeopdr_srtdiscipline()
|
||||
{
|
||||
this.table = "mld_v_typeopdr_srtdisc";
|
||||
this.table = "mld_typeopdr_srtdiscipline";
|
||||
this.primary = "mld_typeopdr_srtdisc_key";
|
||||
this.records_name = "mld_typeopdr_srtdisciplines";
|
||||
this.record_name = "mld_typeopdr_srtdiscipline";
|
||||
|
||||
@@ -343,8 +343,7 @@ if (mld_key == -1 || copy)
|
||||
if (mld_info.mld_status >= 4 ) { // niet afgewezen(1), ingevoerd(2) of ingezien(3)
|
||||
showbes = mld_info.show_bes; // Heeft voor een gegeven (srt)discipline een vaste waarde
|
||||
// De opdrachttypes behorende bij de srtdiscipline of bij de discipline
|
||||
sql = "SELECT mld_typeopdr_srtdiscipline_key"
|
||||
+ " , mto.mld_typeopdr_zichtbaarfe"
|
||||
sql = "SELECT mto.mld_typeopdr_zichtbaarfe"
|
||||
+ " FROM ins_srtdiscipline sd"
|
||||
+ " , mld_discipline d"
|
||||
+ " , mld_typeopdr_srtdiscipline tsd"
|
||||
@@ -355,8 +354,7 @@ if (mld_key == -1 || copy)
|
||||
+ " AND tsd.mld_typeopdr_key = mto.mld_typeopdr_key"
|
||||
+ " AND d.ins_discipline_key = " + mld_info.disc
|
||||
+ " UNION ALL"
|
||||
+ " SELECT mld_typeopdr_srtdiscipline_key"
|
||||
+ " , mto.mld_typeopdr_zichtbaarfe"
|
||||
+ " SELECT mto.mld_typeopdr_zichtbaarfe"
|
||||
+ " FROM ins_srtdiscipline sd"
|
||||
+ " , mld_discipline d"
|
||||
+ " , mld_typeopdr_srtdiscipline tsd"
|
||||
|
||||
Reference in New Issue
Block a user