_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_RefreshData.qbl
@@ -25,20 +25,30 @@ traverse( globalOTDTable,Global_MappingCustomOrder,cus) { if(customerOrderIDs.Find( cus.ID()) = -1 ) { owner.CustomerAndForecastOrder(relnew,OrderID := cus.OrderID(),ProductID := cus.ProductID(),BusinessType := cus.BusinessType(),Customer := cus.Customer(),CustomerID := cus.CustomerID(), Quantity := cus.Quantity(),UnitOfMeasureName := cus.UnitOfMeasureName(),DemandDate := cus.OrderDate() if ( customerOrderIDs.Find( cus.ID() ) = -1 ) { owner.CustomerAndForecastOrder( relnew, OrderID := cus.OrderID(), ProductID := cus.ProductID(), BusinessType := cus.BusinessType(), Customer := cus.Customer(), CustomerID := cus.CustomerID(), Quantity := cus.Quantity(), UnitOfMeasureName := cus.UnitOfMeasureName(), DemandDate := cus.OrderDate() ); } } traverse( globalOTDTable,Global_MappingForecast,forecast) { if(forecastIDs.Find( forecast.ID()) = -1 ) { owner.CustomerAndForecastOrder(relnew,ProductID := forecast.ProductID(),BusinessType := forecast.BusinessType(), Quantity := forecast.Quantity(),UnitOfMeasureName := forecast.UnitOfMeasureName(),DemandDate := forecast.EndDate() if(forecastIDs.Find( forecast.ID() ) = -1 ) { owner.CustomerAndForecastOrder( relnew, ProductID := forecast.ProductID(), BusinessType := forecast.BusinessType(), Quantity := forecast.Quantity(), UnitOfMeasureName := forecast.UnitOfMeasureName(), DemandDate := forecast.EndDate() ); } } _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listContextMenuCustomerAndFillingCapacityOrder.def
@@ -11,9 +11,9 @@ BaseType: 'WebMenu' Properties: [ Image: 'ADD2' Image: 'JERRYCAN' Taborder: 3 Title: 'Filling' Title: '填产' ] } Component MenuRefresh @@ -22,9 +22,32 @@ BaseType: 'WebMenu' Properties: [ Image: 'ADD2' Image: 'EDITOR_HAS_DECLARATIVE_DEFINITION' Taborder: 4 Title: 'å·æ°' Title: 'å建æµè¯æ°æ®' ] } Component MenuDelete { #keys: '[414702.0.472081906]' BaseType: 'WebMenu' Properties: [ Image: 'DELETE' Taborder: 5 Title: 'å é¤' ] } Component MenuSelectAll { #keys: '[414702.0.472012591]' BaseType: 'WebMenu' Properties: [ Image: 'DOCUMENT_SELECTION' Shortcut: 'Ctrl+A' Taborder: 6 Title: 'å ¨é' ] } ] _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuDelete_OnClick.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,18 @@ Quintiq file version 2.0 #parent: ListCustomerAndFillingCapacityOrder Response OnClick ( CustomerAndForecastOrder selection ) id:Response_ListCustomerAndFillingCapacityOrder_MenuDelete_OnClick { #keys: '[414702.0.472032713]' DefinitionID => /ListCustomerAndFillingCapacityOrder/Responsedef_ListCustomerAndFillingCapacityOrder_WebMenu_OnClick Initiator: 'MenuDelete' QuillAction { Body: [* selection.Delete(); *] GroupServerCalls: false } } _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuSelectAll_OnClick.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,17 @@ Quintiq file version 2.0 #parent: ListCustomerAndFillingCapacityOrder Response OnClick () id:Response_ListCustomerAndFillingCapacityOrder_MenuSelectAll_OnClick { #keys: '[414702.0.474548365]' CanBindMultiple: false DefinitionID => /ListCustomerAndFillingCapacityOrder/Responsedef_ListCustomerAndFillingCapacityOrder_WebMenu_OnClick Initiator: 'MenuSelectAll' QuillAction { Body: [* this.SelectAll(); *] GroupServerCalls: false } } _Main/UI/MacroPlannerWebApp/Views/Test.vw
@@ -159,6 +159,283 @@ } } } form_FormCustomerAndForecastOrder { title: 'QTIANMA_JITUAN::FormCustomerAndForecastOrder' shown: true componentID: 'QTIANMA_JITUAN::FormCustomerAndForecastOrder' layout { mode: 'open' rowPosition: 16 rowSpan: 16 columnPosition: 1 columnSpan: 4 } components { FormCustomerAndForecastOrder_PanelButton { sizeRatio: 1 } FormCustomerAndForecastOrder_ListCustomerAndFillingCapacityOrder { } FormCustomerAndForecastOrder_DataSetLevelCustomerAndFillingCapacityOrder { groupDepth: -1 column_VerNo { columnId: 'VerNo' dataPath: 'VerNo' dataType: 'string' index: 0 subtotals: '' width: 150 } column_OrderID { columnId: 'OrderID' dataPath: 'OrderID' dataType: 'string' index: 1 subtotals: '' width: 150 } column_ProductID { columnId: 'ProductID' dataPath: 'ProductID' dataType: 'string' index: 2 subtotals: '' width: 150 } column_BusinessType { columnId: 'BusinessType' dataPath: 'BusinessType' dataType: 'string' index: 3 subtotals: '' width: 150 } column_Customer { columnId: 'Customer' dataPath: 'Customer' dataType: 'string' index: 4 subtotals: '' width: 150 } column_ServiceType { columnId: 'ServiceType' dataPath: 'ServiceType' dataType: 'string' index: 5 subtotals: '' width: 150 } column_Quantity { columnId: 'Quantity' dataPath: 'Quantity' dataType: 'real' index: 6 subtotals: '' width: 150 } column_UnitOfMeasureName { columnId: 'UnitOfMeasureName' dataPath: 'UnitOfMeasureName' dataType: 'string' index: 7 subtotals: '' width: 150 } column_PanelBigSheetQuantity { columnId: 'PanelBigSheetQuantity' dataPath: 'PanelBigSheetQuantity' dataType: 'real' index: 8 subtotals: '' width: 150 } column_SalesAmount { columnId: 'SalesAmount' dataPath: 'SalesAmount' dataType: 'number' index: 9 subtotals: '' width: 150 } column_ForecastDemandDate { columnId: 'ForecastDemandDate' dataPath: 'ForecastDemandDate' dataType: 'date' index: 10 subtotals: '' width: 150 } column_DemandDate { columnId: 'DemandDate' dataPath: 'DemandDate' dataType: 'date' index: 11 subtotals: '' width: 150 } } } } form_FormFillingCapacityOrder { title: 'QTIANMA_JITUAN::FormFillingCapacityOrder' shown: true componentID: 'QTIANMA_JITUAN::FormFillingCapacityOrder' layout { mode: 'open' rowPosition: 16 rowSpan: 16 columnPosition: 5 columnSpan: 8 } components { FormFillingCapacityOrder_ListFillingCapacityOrder { } FormFillingCapacityOrder_DataSetLevelFillingCapacityOrder { groupDepth: -1 column_VerNo { columnId: 'VerNo' dataPath: 'VerNo' dataType: 'string' index: 0 subtotals: '' width: 150 } column_ProductID { columnId: 'ProductID' dataPath: 'ProductID' dataType: 'string' index: 1 subtotals: '' width: 150 } column_BusinessType { columnId: 'BusinessType' dataPath: 'BusinessType' dataType: 'string' index: 2 subtotals: '' width: 150 } column_SalesSegmentName { columnId: 'SalesSegmentName' dataPath: 'SalesSegmentName' dataType: 'string' index: 3 subtotals: '' width: 150 } column_StockingPointID { columnId: 'StockingPointID' dataPath: 'StockingPointID' dataType: 'string' index: 4 subtotals: '' width: 150 } column_Customer { columnId: 'Customer' dataPath: 'Customer' dataType: 'string' index: 5 subtotals: '' width: 150 } column_Quantity { columnId: 'Quantity' dataPath: 'Quantity' dataType: 'real' index: 6 subtotals: '' width: 150 } column_UnitOfMeasureName { columnId: 'UnitOfMeasureName' dataPath: 'UnitOfMeasureName' dataType: 'string' index: 7 subtotals: '' width: 150 } column_PanelBigSheetQuantity { columnId: 'PanelBigSheetQuantity' dataPath: 'PanelBigSheetQuantity' dataType: 'real' index: 8 subtotals: '' width: 150 } column_SalesAmount { columnId: 'SalesAmount' dataPath: 'SalesAmount' dataType: 'number' index: 9 subtotals: '' width: 150 } column_ForecastDemandDate { columnId: 'ForecastDemandDate' dataPath: 'ForecastDemandDate' dataType: 'date' index: 10 subtotals: '' width: 150 } column_DemandDate { columnId: 'DemandDate' dataPath: 'DemandDate' dataType: 'date' index: 11 subtotals: '' width: 150 } column_OrderType { columnId: 'OrderType' dataPath: 'OrderType' dataType: 'string' index: 12 subtotals: '' width: 150 } } } } } userconfigurableinformation { _Main/UI/MacroPlannerWebApp/Views/½Ó¿Ú²âÊÔ.vw
@@ -17,7 +17,133 @@ columnPosition: 1 columnSpan: 7 } components: null components { FormInterfaceTest_PanelInterfaceOptions { sizeRatio: 1 } FormInterfaceTest_PanelInterfaceTest { sizeRatio: 1 } FormInterfaceTest_PanelInterfaceTest981 { sizeRatio: 1 } FormInterfaceTest_ListInterfaceTest { } FormInterfaceTest_DataSetLevelInterfaceTest { groupDepth: -1 column_BrokerName { columnId: 'BrokerName' dataPath: 'BrokerName' dataType: 'string' index: 0 subtotals: '' width: 150 } column_ElementTotal { columnId: 'ElementTotal' dataPath: 'ElementTotal' dataType: 'number' index: 1 subtotals: '' width: 150 } column_ErrorDateTime { columnId: 'ErrorDateTime' dataPath: 'ErrorDateTime' dataType: 'string' index: 2 subtotals: '' width: 150 } column_ErrorMessage { columnId: 'ErrorMessage' dataPath: 'ErrorMessage' dataType: 'string' index: 3 subtotals: '' width: 150 } column_ErrorNo { columnId: 'ErrorNo' dataPath: 'ErrorNo' dataType: 'number' index: 4 subtotals: '' width: 150 } column_IsSuccess { columnId: 'IsSuccess' dataPath: 'IsSuccess' dataType: 'boolean' index: 5 subtotals: '' width: 150 } column_Name { columnId: 'Name' dataPath: 'Name' dataType: 'string' index: 6 subtotals: '' width: 150 } column_SuccessDateTime { columnId: 'SuccessDateTime' dataPath: 'SuccessDateTime' dataType: 'string' index: 7 subtotals: '' width: 150 } } } } form_FormBusinessType { title: 'QTIANMA_JITUAN::FormBusinessType' shown: true componentID: 'QTIANMA_JITUAN::FormBusinessType' layout { mode: 'open' rowPosition: 1 rowSpan: 6 columnPosition: 8 columnSpan: 4 } components { FormBusinessType_ListBusinessType { } FormBusinessType_DataSetLevelBusinessType { groupDepth: -1 column_BusinessTypeName { columnId: 'BusinessTypeName' dataPath: 'BusinessTypeName' dataType: 'string' index: 0 subtotals: '' width: 150 } } } } form_FormOptimizerPuzzles {