_Main/UI/MacroPlannerWebApp/Component_FormForecastForHedging/Component_ListForecastForHedging.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,41 @@ Quintiq file version 2.0 Component ListForecastForHedging { #keys: '[412960.0.117650662]' BaseType: 'WebList' Children: [ Component DataExtractorForecastForHedging453 { #keys: '[412960.0.117650663]' BaseType: 'WebDataExtractor' Properties: [ DataType: 'structured[Forecast]' Source: 'DataHolderForecastForHedging' Taborder: 0 Transformation: 'Elements' ] } #child: listActionBarPageForecastForHedging Component DataSetLevelForecastForHedging { #keys: '[412960.0.117650668]' BaseType: 'WebDataSetLevel' Children: [ #child: listContextMenuForecastForHedging ] Properties: [ Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ID","title":"ID","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"EndDate","title":"EndDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"EndDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"SalesSegmentName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}}]' ContextMenu: 'listContextMenuForecastForHedging' Taborder: 2 ] } ] Properties: [ Taborder: 1 ] } _Main/UI/MacroPlannerWebApp/Component_FormForecastForHedging/Component_PanelForecastForHedging.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,15 @@ Quintiq file version 2.0 Component PanelForecastForHedging { #keys: '[412960.0.117670724]' BaseType: 'WebPanel' Children: [ #child: ListForecastForHedging #child: PanelForecastForHedging961 ] Properties: [ Taborder: 0 ] } _Main/UI/MacroPlannerWebApp/Component_FormForecastForHedging/Component_PanelForecastForHedging961.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,63 @@ Quintiq file version 2.0 Component PanelForecastForHedging961 { #keys: '[412960.0.124780919]' BaseType: 'WebPanel' Children: [ Component DateSelectorForecastForHedging { #keys: '[412960.0.124781002]' BaseType: 'WebDateSelector' Properties: [ Date: 2023-01-01 DateFormat: 'YMM' Label: 'æªæ¢æ¥æ' MinDate: 2023-01-01 Taborder: 1 ] } Component ButtonForecastForHedging { #keys: '[412960.0.124781317]' BaseType: 'WebButton' Properties: [ BadgeTextColor: 'blue' ButtonSize: 'compact' Label: ' æç´¢ ' Taborder: 2 ] } Component EditFieldForecastForHedging { #keys: '[412960.0.124781382]' BaseType: 'WebEditField' Properties: [ PlaceHolder: 'æ¨¡ç³æç´¢' Taborder: 0 ] } Component LabelForecastForHedging { #keys: '[412960.0.124781423]' BaseType: 'WebLabel' Properties: [ Label: 'æç´¢' Taborder: 3 Text: 'æç´¢' Visible: false ] } ] Properties: [ FixedSize: true Orientation: 'horizontal' SizeRatio: 0 Taborder: 0 ] } _Main/UI/MacroPlannerWebApp/Component_FormForecastForHedging/Component_listActionBarPageForecastForHedging.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,10 @@ Quintiq file version 2.0 Component listActionBarPageForecastForHedging { #keys: '[412960.0.117650665]' BaseType: 'listActionBarPage' Properties: [ Taborder: 1 ] } _Main/UI/MacroPlannerWebApp/Component_FormForecastForHedging/Component_listContextMenuForecastForHedging.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,10 @@ Quintiq file version 2.0 Component listContextMenuForecastForHedging { #keys: '[412960.0.117650670]' BaseType: 'listContextMenu' Properties: [ Taborder: 0 ] } _Main/UI/MacroPlannerWebApp/Component_FormForecastForHedging/Response_PanelForecastForHedging961_ButtonForecastForHedging_OnClick.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,24 @@ Quintiq file version 2.0 #parent: PanelForecastForHedging961/ButtonForecastForHedging Response OnClick () id:Response_PanelForecastForHedging961_ButtonForecastForHedging_OnClick { #keys: '[412960.0.124781470]' CanBindMultiple: false DefinitionID: 'Responsedef_WebButton_OnClick' GroupServerCalls: true QuillAction { Body: [* DataExtractorForecastForHedging.FixedFilter( "( object.ID().LikeUserLocale( " + EditFieldForecastForHedging.Text().AsQUILL() + " )" + " or " + "object.ProductID().LikeUserLocale( " + EditFieldForecastForHedging.Text().AsQUILL() + " )" // + " or " + "object.Quantity().AsString().LikeUserLocale( " + EditFieldForecastForHedging.Text().AsQUILL() + " )" + " or " + "object.UnitOfMeasureName().LikeUserLocale( " + EditFieldForecastForHedging.Text().AsQUILL() + " )" + " or " + "object.SalesSegmentName().LikeUserLocale( " + EditFieldForecastForHedging.Text().AsQUILL() + " ) )" + "and" + "( object.EndDate() < " + DateSelectorForecastForHedging.Date().StartOfNextMonth().AsQUILL() + " and " + "object.EndDate() >= " + DateSelectorForecastForHedging.Date().StartOfMonth().AsQUILL() + " )" ); *] } } _Main/UI/MacroPlannerWebApp/Component_FormForecastForHedging/Response_PanelForecastForHedging961_DateSelectorForecastForHedging_OnCreated.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,16 @@ Quintiq file version 2.0 #parent: PanelForecastForHedging961/DateSelectorForecastForHedging Response OnCreated () id:Response_PanelForecastForHedging961_DateSelectorForecastForHedging_OnCreated { #keys: '[412960.0.124961321]' CanBindMultiple: false DefinitionID: 'Responsedef_WebComponent_OnCreated' GroupServerCalls: true QuillAction { Body: [* this.Date( Date::ActualDate() ); *] } } _Main/UI/MacroPlannerWebApp/Component_FormForecastForHedging/_ROOT_Component_FormForecastForHedging.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,43 @@ Quintiq file version 2.0 #root #parent: MacroPlannerWebApp OrphanComponent FormForecastForHedging { #keys: '[412960.0.116513237]' BaseType: 'WebForm' Children: [ #child: PanelForecastForHedging Component DataHolderForecastForHedging { #keys: '[412960.0.117670741]' BaseType: 'WebDataHolder' Databinding: 'structured[Forecast]*' Children: [ Component DataExtractorForecastForHedging { #keys: '[412960.0.117620894]' BaseType: 'WebDataExtractor' Properties: [ DataType: 'MacroPlan' Source: 'MacroPlan' Taborder: 0 Transformation: 'SalesDemand.astype(Forecast)' ] } ] Properties: [ Taborder: 1 ] } ] Properties: [ Description: 'å²ååè½ä¸ç颿µæ°æ®çé¢' Image: 'PURCHASE_ORDER' Title: '颿µå表页' ] } _Main/UI/MacroPlannerWebApp/Views/Test_for_hedging.vw
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,183 @@ Quintiq file version 2.0 { viewcontents { forms { form_legacy_1 { title: 'Currencies' shown: true componentID: 'FormCurrency' layout { mode: 'open' rowPosition: 1 rowSpan: 8 columnPosition: 1 columnSpan: 6 } components { FormCurrency_PanelCurrency { sizeRatio: 1 } FormCurrency_ListCurrency { } FormCurrency_DataSetLevelCurrency { groupDepth: -1 sort: 'DESC:IsBase,Name' column_All_constraints { columnId: 'All constraints' dataPath: 'All constraints' dataType: 'string' title: 'All constraints' index: 0 subtotals: '' width: 33 } column_Base { columnId: 'Base' dataPath: 'Base' dataType: 'string' title: 'åºç¡' index: 1 subtotals: '' width: 30 } column_InUse { columnId: 'InUse' dataPath: 'InUse' dataType: 'string' title: 'InUse' index: 2 subtotals: '' width: 30 } column_Name { columnId: 'Name' dataPath: 'Name' dataType: 'string' title: 'åç§°' index: 3 subtotals: '' width: 150 } column_Symbol { columnId: 'Symbol' dataPath: 'Symbol' dataType: 'string' title: '象å¾' index: 4 subtotals: '' width: 150 } } } } form_legacy_2 { title: 'Currency rates' shown: true componentID: 'FormCurrencyRates' layout { mode: 'open' rowPosition: 1 rowSpan: 8 columnPosition: 7 columnSpan: 6 } components { FormCurrencyRates_ListCurrencyRate { } FormCurrencyRates_DataSetLevelCurrencyRate { groupDepth: -1 sort: 'DESC:Start' column_All_constraints { columnId: 'All constraints' dataPath: 'All constraints' dataType: 'string' title: 'All constraints' index: 0 subtotals: '' width: 33 } column_Start { columnId: 'Start' dataPath: 'Start' dataType: 'date' title: 'å¼å§' index: 1 subtotals: '' width: 150 } column_Rate { columnId: 'Rate' dataPath: 'Rate' dataType: 'real' title: 'é度' index: 2 subtotals: '' width: 150 } } } } form_legacy_3 { title: 'Currency rates chart' shown: true componentID: 'FormCurrencyRatesChart' layout { mode: 'open' rowPosition: 9 rowSpan: 8 columnPosition: 1 columnSpan: 12 } components { FormCurrencyRatesChart_DashboardChartCurrencyRates { SynchronizationGroup: '' } FormCurrencyRatesChart_DashboardChartCurrencyRates_legend { LegendItems: [ ] } } } } userconfigurableinformation { } page: 'applicationDevelopmentActionBarPageDef' group: '' index: 0 image: 'APPLICATION_SERVER_PREFERENCES' description: '' } formatversion: 2 id: 'Test_for_hedging' name: 'Test for hedging' isglobal: false isroot: true } _Main/UI/MacroPlannerWebApp/_ROOT_Project_MacroPlannerWebApp.qp
@@ -5,7 +5,7 @@ ProjectProperties { ApplicationComponentName: 'ApplicationMacroPlanner' BuildVersion: '2022.3.0.32' BuildVersion: '2022.3.0.72' Description: 'Quintiq Macro Planner' ProjectKind: 'WebClient' }