_Main/BL/Type_LocalColumn/Attribute_DisplayDate.qbl
ÎļþÃû´Ó _Main/BL/Type_LocalColumn/Attribute_WeekDate.qbl ÐÞ¸Ä @@ -1,6 +1,6 @@ Quintiq file version 2.0 #parent: #root Attribute WeekDate Attribute DisplayDate { #keys: '3[414996.1.170054736][414996.1.170054735][414996.1.170054737]' ValueType: String _Main/BL/Type_LocalColumn/Function_CalcWeekDate.qbl
@@ -11,10 +11,16 @@ stringDate := date.Format( "Y/M2/D2"); perSuffx := ifexpr( this.CustomDate().Week() < 10,"0"+[String]this.CustomDate().Week(),[String]this.CustomDate().Week() ); value := "KW" + perSuffx + " - " + stringDate; }else if( this.TimeUnit() = "Month" ){ us_locale := Locale::Construct( 'en_us' ); date := this.CustomDate(); stringDate := date.Format( "Y: MM / M" + "æ" ,us_locale ) value := stringDate; }else{ value := this.CustomDate().Format( "Y/M2/D2" ); } this.WeekDate( value ); this.DisplayDate( value ); *] } _Main/UI/MacroPlannerWebApp/Component_Form701/Component_MatrixEditor.def
@@ -83,7 +83,7 @@ ] Properties: [ Legend: 'Date' Legend: 'DisplayDate' SortCriteria: 'Index' Taborder: 2 ] _Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Component_MatrixEditor#127.def
@@ -83,7 +83,7 @@ ] Properties: [ Legend: 'WeekDate' Legend: 'DisplayDate' SortCriteria: 'Index' Taborder: 2 ] _Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanComparison/Component_MatrixEditor#988.def
@@ -83,7 +83,7 @@ ] Properties: [ Legend: 'Date' Legend: 'DisplayDate' SortCriteria: 'Index' Taborder: 2 ]