| | |
| | | { |
| | | DefaultText: 'Assembly online plan - PPPS' |
| | | } |
| | | InfoMessage InterfaceDataset_AssemblyOnlinePlanPPPSPush_URL |
| | | { |
| | | DefaultText: '/api/assembly-online-plan/saveList' |
| | | } |
| | | InfoMessage InterfaceDataset_ContentType |
| | | { |
| | | DefaultText: 'application/json' |
| | |
| | | RelationSide.RightSide OfflinePlanArchiveSearch |
| | | { |
| | | #keys: '3[415136.0.1246981143][415136.0.1246981142][415136.0.1246981144]' |
| | | Cardinality: '1toN' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: InterfaceDataset |
| | | OwningSide: 'Owned' |
| | | } |
| | |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | this.Column( relflush ); |
| | | this.Row( relflush ); |
| | | |
| | | if( periods.Size() > 0 ){ |
| | | this.GenerateColumn( periods, true ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | showtable := interface.AssemblyOnlinePlanVersion( relnew, ID := name, Name := name, IsShow := true ); |
| | | } |
| | | aopcolumns := selectuniquevalues( macroPlan, NewAssemblyOnlinePlanColumn, aopcolumn, not exists( table, Column, column, column.TimeUnit() = Translations::MP_GlobalParameters_Day() and column.StartDate() = aopcolumn.StartDate() ), aopcolumn.StartDate() ); |
| | | if( aopcolumns.Size() > 0 ){ |
| | | table.GenerateColumn( aopcolumns, false ); |
| | | } |
| | | traverse( macroPlan, NewAssemblyOnlinePlanRow, aoprow, aoprow.Type() = '1' ){ |
| | | row := table.GetRow( aoprow ); |
| | | traverse( aoprow, NewAssemblyOnlinePlanCell, aopcell ){ |
| | |
| | | try{ |
| | | if( loginfo.Name() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){//客æ·éæ± |
| | | httpinterface.URL( Translations::InterfaceDataset_CustomerDemandPPAIDS_URL() ); |
| | | } else if( loginfo.Name() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name() ){//è£
é
ä¸çº¿è®¡å |
| | | httpinterface.URL( Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_URL() ); |
| | | } else if( loginfo.Name() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){//客æ·éæ± |
| | | httpinterface.URL( Translations::InterfaceDataset_CustomerDemandPPAIDS_URL() ); |
| | | } |
| | | httpinterface.Call( loginfo.RequestBody() ); |
| | | result := httpinterface.Result(); |
| | |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | this.Column( relflush ); |
| | | this.Row( relflush ); |
| | | |
| | | if( periods.Size() > 0 ){ |
| | | this.GenerateColumn( periods, true ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | timeunit := guard( this.InterfaceDataset().AssemblyOnlinePlanVersionSearch().TimeUnit(), Translations::MP_GlobalParameters_Day() ) ; |
| | | weekstart := periods.Element( 0 ); |
| | | |
| | | monthstart := periods.Element( 0 ); |
| | | traverse( periods, Elements, periodtime ){ |
| | | if( not isshow or timeunit = Translations::MP_GlobalParameters_Day() ){ |
| | | periodname := periodtime.Format( "M2/D2/Y" ); |
| | | |
| | | this.Column( relnew, Name := periodname, StartDate := periodtime, EndDate := periodtime, TimeUnit := Translations::MP_GlobalParameters_Day() ); |
| | | |
| | | } |
| | | if( not isshow or timeunit = Translations::MP_GlobalParameters_Week() ){ |
| | | weekend := ( weekstart + Duration::Days( 6 ) ).Date(); |
| | | if( ( weekend.Year() <> periodtime.Year() and weekend.Month() > 1 ) or ( abs( weekstart.Week() - periodtime.Week() ) > 1 and weekend.Year() = periodtime.Year() ) ){ |
| | | weekstart := periodtime; |
| | |
| | | this.Column( relnew, Name := weekperiodname, StartDate := weekstart, EndDate := ( weekstart.StartOfNextWeek() - Duration::Days( 1 ) ).Date(), TimeUnit := Translations::MP_GlobalParameters_Week() ); |
| | | |
| | | } |
| | | weekstart := periodtime.StartOfNextWeek(); |
| | | } |
| | | if( not isshow or timeunit = Translations::MP_GlobalParameters_Month() ){ |
| | | if( ( monthstart.Year() <> periodtime.Year() and abs( monthstart.Month() - periodtime.Month() ) <> 11 ) or ( abs( monthstart.Month() - periodtime.Month() ) > 1 and monthstart.Year() = periodtime.Year() ) ){ |
| | | monthstart := periodtime; |
| | | } |
| | |
| | | this.Column( relnew, Name := monthperiodname, StartDate := monthstart, EndDate := enddate, TimeUnit := Translations::MP_GlobalParameters_Month() ); |
| | | |
| | | } |
| | | weekstart := periodtime.StartOfNextWeek(); |
| | | monthstart := periodtime.StartOfNextMonth(); |
| | | } |
| | | } |
| | | *] |
| | | } |
| | |
| | | Description: 'çæè®¡ååºååæ¡£æ°æ®' |
| | | TextBody: |
| | | [* |
| | | interfaceDataset.InventoryPlanArchiveVersion( relflush ); |
| | | //interfaceDataset.InventoryPlanArchiveVersion( relflush ); |
| | | info( '-------------------------Start---------------------'); |
| | | allunit := AssemblyOnlinePlanVersion::GetDefaultAllUnit(); |
| | | name := InventoryPlanArchiveVersion::GetDefaultName(); |
| | |
| | | table := interfaceDataset.InventoryPlanArchiveVersion( relnew, ID := name, Name := name ); |
| | | } |
| | | showtable := selectobject( interfaceDataset, InventoryPlanArchiveVersion, version, version.IsShow() ); |
| | | if( isnull( table ) ){ |
| | | if( isnull( showtable ) ){ |
| | | showtable := interfaceDataset.InventoryPlanArchiveVersion( relnew, ID := name, Name := name, IsShow := true ); |
| | | } |
| | | periods := selectuniquevalues( macroPlan, Period_MP, period, not period.IsHistorical() and period.TimeUnit() = Translations::MP_GlobalParameters_Day() |
| | | and not exists( table, Column, column, column.TimeUnit() = Translations::MP_GlobalParameters_Day() and column.StartDate() = period.StartDate() ), period.StartDate() ); |
| | | if( periods.Size() > 0 ){ |
| | | table.GenerateColumn( periods, false ); |
| | | } |
| | | actinventorytree := NamedValueTree::Create(); |
| | | inventoryqrys := construct( Reals ); |
| | | inventoryindex := 0; |
| | |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-24-2024 (created) |
| | | //æ·»å è¿è¾éä¸å段ï¼åleadingtimeã1çï¼ä»¥é䏿¥æä¸ºåï¼æ¯å¦1.8åºå1.10å°è¾¾ï¼åæ¥æä¸º1.9ï¼å·¥åæåå§å°è®¡ç® |
| | | owner.InventorySummarySource( relflush ); |
| | | productids := construct( Strings ); |
| | | allunit := InventorySummaryReport::GetDefaultAllUnit(); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Clear ( |
| | | Dates periods |
| | | ) |
| | | { |
| | | Description: 'æ¸
é¤ä¹åçæ¾ç¤ºæ°æ®' |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | this.Column( relflush ); |
| | | this.Row( relflush ); |
| | | if( periods.Size() > 0 ){ |
| | | this.GenerateColumn( periods, true ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Generate ( |
| | | OfflinePlanArchiveSearch search |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | info( '-----------Search start-------' ); |
| | | table := selectobject( this,InterfaceDataset.OfflinePlanArchiveVersion, report, not report.IsShow() ); |
| | | //æ¸
空ä¹ååå¨çæ¾ç¤ºæ°æ® |
| | | aopcolumns := selectuniquevalues( table, Column, aopcolumn, aopcolumn.TimeUnit() = search.TimeUnit() and aopcolumn.StartDate() >= search.StartDate() and aopcolumn.StartDate() <= search.EndDate(), aopcolumn.StartDate() ); |
| | | this.Clear( aopcolumns ); |
| | | traverse( table, Row, row, ( search.Unit() = FinancialProductionReport::GetDefaultAllUnit() or row.Unit() = search.Unit() ) |
| | | and ( search.Product() = FinancialProductionReport::GetDefaultAllUnit() or search.Product() = row.Name() )){ |
| | | |
| | | showrow := selectobject( this, Row, showrow, showrow.Name() = row.Name() and showrow.Unit() = search.Unit() ); |
| | | if( isnull( showrow ) ){ |
| | | showrow := this.Row( relnew, Name := row.Name(), ProductID := row.ProductID(), Unit := search.Unit() ); |
| | | } |
| | | traverse( row, Cell, cell, cell.Column().TimeUnit() = search.TimeUnit() ){ |
| | | column := selectobject( this, Column, column, column.ColumnName() = cell.Column().ColumnName() ); |
| | | if( not isnull( column ) ){ |
| | | showcell := selectobject( showrow, Cell, showcell, showcell.Column() = column ); |
| | | if( isnull( showcell ) ){ |
| | | showcell := showrow.Cell( relnew, Quantity := 0, ActualProductionQty := 0 ); |
| | | column.Cell( relinsert, showcell ); |
| | | } |
| | | showcell.Quantity( cell.Quantity() + showcell.Quantity() ); |
| | | showcell.ActualProductionQty( cell.ActualProductionQty() + showcell.ActualProductionQty() ); |
| | | } |
| | | } |
| | | } |
| | | info( '-----------Search end-------' ); |
| | | *] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GenerateColumn ( |
| | | Dates periods |
| | | Dates periods, |
| | | Boolean isshow |
| | | ) |
| | | { |
| | | Description: 'çææ¥æå' |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | timeunit := guard( this.InterfaceDataset().AssemblyOnlinePlanVersionSearch().TimeUnit(), Translations::MP_GlobalParameters_Day() ) ; |
| | | weekstart := periods.Element( 0 ); |
| | | |
| | | monthstart := periods.Element( 0 ); |
| | | traverse( periods, Elements, periodtime ){ |
| | | if( not isshow or timeunit = Translations::MP_GlobalParameters_Day() ){ |
| | | periodname := periodtime.Format( "M2/D2/Y" ); |
| | | |
| | | this.Column( relnew, ColumnName := periodname, StartDate := periodtime, EndDate := periodtime, TimeUnit := Translations::MP_GlobalParameters_Day() ); |
| | | |
| | | } |
| | | if( not isshow or timeunit = Translations::MP_GlobalParameters_Week() ){ |
| | | weekend := ( weekstart + Duration::Days( 6 ) ).Date(); |
| | | if( ( weekend.Year() <> periodtime.Year() and weekend.Month() > 1 ) or ( abs( weekstart.Week() - periodtime.Week() ) > 1 and weekend.Year() = periodtime.Year() ) ){ |
| | | weekstart := periodtime; |
| | |
| | | this.Column( relnew, ColumnName := weekperiodname, StartDate := weekstart, EndDate := ( weekstart.StartOfNextWeek() - Duration::Days( 1 ) ).Date(), TimeUnit := Translations::MP_GlobalParameters_Week() ); |
| | | |
| | | } |
| | | weekstart := periodtime.StartOfNextWeek(); |
| | | } |
| | | if( not isshow or timeunit = Translations::MP_GlobalParameters_Month() ){ |
| | | if( ( monthstart.Year() <> periodtime.Year() and abs( monthstart.Month() - periodtime.Month() ) <> 11 ) or ( abs( monthstart.Month() - periodtime.Month() ) > 1 and monthstart.Year() = periodtime.Year() ) ){ |
| | | monthstart := periodtime; |
| | | } |
| | |
| | | this.Column( relnew, ColumnName := monthperiodname, StartDate := monthstart, EndDate := enddate, TimeUnit := Translations::MP_GlobalParameters_Month() ); |
| | | |
| | | } |
| | | weekstart := periodtime.StartOfNextWeek(); |
| | | monthstart := periodtime.StartOfNextMonth(); |
| | | } |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod InitiateSearch ( |
| | | InterfaceDataset owner |
| | | ) as OfflinePlanArchiveVersion |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Sep-29-2024 (created) |
| | | allunit := FinancialProductionReport::GetDefaultAllUnit(); |
| | | search := owner.OfflinePlanArchiveSearch(); |
| | | if( isnull( owner.OfflinePlanArchiveSearch() ) ){ |
| | | search := owner.OfflinePlanArchiveSearch( relnew, Product := allunit, ProductionLine := allunit, TimeUnit := Translations::MP_GlobalParameters_Day(), Unit := allunit, StartDate := Date::MinDate(), EndDate := Date::MaxDate() ); |
| | | }else{ |
| | | search := owner.OfflinePlanArchiveSearch(); |
| | | search.Product( allunit ); |
| | | search.ProductionLine( allunit ); |
| | | search.TimeUnit( Translations::MP_GlobalParameters_Day() ); |
| | | search.Unit( allunit ); |
| | | search.StartDate( Date::MinDate() ); |
| | | search.EndDate( Date::MaxDate() ); |
| | | } |
| | | table := selectobject( owner, OfflinePlanArchiveVersion, table, table.IsShow() ); |
| | | if( not isnull( table ) ){ |
| | | table.Generate( search); |
| | | } |
| | | return table; |
| | | *] |
| | | } |
| | |
| | | //æ ¹æ®å½åçæ¬çä¸çº¿è®¡å |
| | | allunit := OfflinePlanArchiveVersion::GetDefaultAllUnit(); |
| | | name := OfflinePlanArchiveVersion::GetDefaultName(); |
| | | interface.OfflinePlanArchiveSearch( relnew, Product := allunit, ProductionLine := allunit, TimeUnit := Translations::MP_GlobalParameters_Day(), Unit := allunit, StartDate := Date::MinDate(), EndDate := Date::MaxDate() ); |
| | | search := interface.OfflinePlanArchiveSearch( relnew, Product := allunit, ProductionLine := allunit, TimeUnit := Translations::MP_GlobalParameters_Day(), Unit := allunit, StartDate := Date::MinDate(), EndDate := Date::MaxDate() ); |
| | | table := selectobject( interface, OfflinePlanArchiveVersion, version, not version.IsShow() ); |
| | | if( isnull( table ) ){ |
| | | table := interface.OfflinePlanArchiveVersion( relnew, ID := name, Name := name ); |
| | | } |
| | | //showtable := selectobject( interface, OfflinePlanArchiveVersion, version, version.IsShow() ); |
| | | //if( isnull( table ) ){ |
| | | // showtable := interface.OfflinePlanArchiveVersion( relnew, ID := name, Name := name, IsShow := true ); |
| | | //} |
| | | showtable := selectobject( interface, OfflinePlanArchiveVersion, version, version.IsShow() ); |
| | | if( isnull( showtable ) ){ |
| | | showtable := interface.OfflinePlanArchiveVersion( relnew, ID := name, Name := name, IsShow := true ); |
| | | } |
| | | nopcolumns := selectuniquevalues( macroPlan, NewOfflinePlanTable.NewOfflinePlanColumn, nopcolumn, not exists( table, Column, column, column.TimeUnit() = Translations::MP_GlobalParameters_Day() and column.StartDate() = nopcolumn.StartDate() ), nopcolumn.StartDate() ); |
| | | table.GenerateColumn( nopcolumns ); |
| | | if( nopcolumns.Size() > 0 ){ |
| | | table.GenerateColumn( nopcolumns, false ); |
| | | } |
| | | noptable := maxobject( macroPlan, NewOfflinePlanTable, noptable, noptable.SaveDateTime() ); |
| | | actproductiondatas := selectset( archive,ActualDailyProductionData,data,true ); |
| | | actproductiontree := NamedValueTree::Create(); |
| | |
| | | // cell.Value( nopcell.Value() ); |
| | | } |
| | | } |
| | | //showtable.Generate( search, products ); |
| | | showtable.Generate( search ); |
| | | *] |
| | | } |
| | |
| | | [* |
| | | if( not isnull( DataHolderTable.Data() ) ){ |
| | | productids := selectuniquevalues( DataHolderProduct.Data(), Elements, product, ( dhGenerations.Data().Size() = 0 or exists( dhGenerations.Data(), Elements, e, e.Generation() = product.Generation() ) ) |
| | | and ( dhGenerations.Data().Size() = 0 or exists( dhMQBMLBs.Data(), Elements, e, e.MLBMQB() = product.MQBMLB() ) ) |
| | | and ( dhGenerations.Data().Size() = 0 or exists( dhPowers.Data(), Elements, e, e.Power() = product.Power() ) ), product.ID() ); |
| | | and ( dhMQBMLBs.Data().Size() = 0 or exists( dhMQBMLBs.Data(), Elements, e, e.MLBMQB() = product.MQBMLB() ) ) |
| | | and ( dhPowers.Data().Size() = 0 or exists( dhPowers.Data(), Elements, e, e.Power() = product.Power() ) ), product.ID() ); |
| | | DataHolderTable.Data().Generate( dhSearch.Data(), dhFactorys.Data(), productids ); |
| | | } |
| | | *] |
| | |
| | | [* |
| | | if( not isnull( DataHolderTable.Data() ) ){ |
| | | productids := selectuniquevalues( DataHolderProduct.Data(), Elements, product, ( dhGenerations.Data().Size() = 0 or exists( dhGenerations.Data(), Elements, e, e.Generation() = product.Generation() ) ) |
| | | and ( dhGenerations.Data().Size() = 0 or exists( dhMQBMLBs.Data(), Elements, e, e.MLBMQB() = product.MQBMLB() ) ) |
| | | and ( dhGenerations.Data().Size() = 0 or exists( dhPowers.Data(), Elements, e, e.Power() = product.Power() ) ), product.ID() ); |
| | | and ( dhMQBMLBs.Data().Size() = 0 or exists( dhMQBMLBs.Data(), Elements, e, e.MLBMQB() = product.MQBMLB() ) ) |
| | | and ( dhPowers.Data().Size() = 0 or exists( dhPowers.Data(), Elements, e, e.Power() = product.Power() ) ), product.ID() ); |
| | | DataHolderTable.Data().Generate( dhSearch.Data(), dhFactorys.Data(), productids ); |
| | | } |
| | | *] |
| | |
| | | [* |
| | | if( not isnull( DataHolderTable.Data() ) ){ |
| | | productids := selectuniquevalues( DataHolderProduct.Data(), Elements, product, ( dhGenerations.Data().Size() = 0 or exists( dhGenerations.Data(), Elements, e, e.Generation() = product.Generation() ) ) |
| | | and ( dhGenerations.Data().Size() = 0 or exists( dhMQBMLBs.Data(), Elements, e, e.MLBMQB() = product.MQBMLB() ) ) |
| | | and ( dhGenerations.Data().Size() = 0 or exists( dhPowers.Data(), Elements, e, e.Power() = product.Power() ) ), product.ID() ); |
| | | and ( dhMQBMLBs.Data().Size() = 0 or exists( dhMQBMLBs.Data(), Elements, e, e.MLBMQB() = product.MQBMLB() ) ) |
| | | and ( dhPowers.Data().Size() = 0 or exists( dhPowers.Data(), Elements, e, e.Power() = product.Power() ) ), product.ID() ); |
| | | DataHolderTable.Data().Generate( dhSearch.Data(), dhFactorys.Data(), productids ); |
| | | } |
| | | *] |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'InterfaceDataset' |
| | | FilterArguments: 'search:QMacroPlanner::FormAssemblyOnlinePlanVersion.dhSearch' |
| | | FixedFilter: 'object.Column().TimeUnit() = search.TimeUnit() and object.Column().StartDate() >= search.StartDate() and object.Column().StartDate() <= search.EndDate()' |
| | | Source: 'InterfaceDataset' |
| | | DataType: 'OfflinePlanArchiveVersion' |
| | | Source: 'DataHolderTable' |
| | | Taborder: 0 |
| | | Transformation: 'OfflinePlanArchiveVersion.Row.Cell' |
| | | Transformation: 'Row.Cell' |
| | | ] |
| | | } |
| | | ] |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'InterfaceDataset' |
| | | DataType: 'OfflinePlanArchiveVersion' |
| | | Description: "( search.Generation() = '<All>' or object.Product_MP().Generation() = search.Generation() ) and ( search.MqbMlb() = '<All>' or object.Product_MP().MQBMLB() = search.MqbMlb() ) and ( search.Power() = '<All>' or object.Product_MP().Power() = search.Power() )" |
| | | FilterArguments: 'search:QMacroPlanner::FormAssemblyOnlinePlanVersion.dhSearch' |
| | | FixedFilter: "( search.Product() = '<All>' or object.ProductID() = search.Product() ) and ( search.ProductionLine() = '<All>' or object.ProductionLine() = search.ProductionLine() ) and ( search.Unit() = '<All>' or object.Unit() = search.Unit() )" |
| | | Source: 'InterfaceDataset' |
| | | Source: 'DataHolderTable' |
| | | Taborder: 0 |
| | | Transformation: 'OfflinePlanArchiveVersion.Row' |
| | | Transformation: 'Row' |
| | | ] |
| | | } |
| | | ] |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'InterfaceDataset' |
| | | FilterArguments: 'search:QMacroPlanner::FormAssemblyOnlinePlanVersion.dhSearch' |
| | | FixedFilter: 'object.TimeUnit() = search.TimeUnit() and ( search.StartDate().IsMinInfinity() or object.StartDate() >= search.StartDate() ) and ( search.EndDate().IsMaxInfinity() or object.StartDate() <= search.EndDate() )' |
| | | Source: 'InterfaceDataset' |
| | | DataType: 'OfflinePlanArchiveVersion' |
| | | Source: 'DataHolderTable' |
| | | Taborder: 0 |
| | | Transformation: 'OfflinePlanArchiveVersion.Column' |
| | | Transformation: 'Column' |
| | | ] |
| | | } |
| | | ] |
| | |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | Taborder: 5 |
| | | Visible: false |
| | | ] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Response OnCreated () id:Response_FormOfflinePlanArchive_OnCreated |
| | | { |
| | | #keys: '[415136.0.1286390827]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | table := OfflinePlanArchiveVersion::InitiateSearch( InterfaceDataset ); |
| | | DataHolderTable.Data( table ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelOperation/ButtonSearch |
| | | Response OnCreated () id:Response_PanelOperation_ButtonSearch_OnCreated |
| | | { |
| | | #keys: '[415136.0.1286390995]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( not isnull( DataHolderTable.Data() ) ){ |
| | | DataHolderTable.Data().Generate( dhSearch.Data() ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | #child: PanelHeader |
| | | #child: PanelTable |
| | | Component DataHolderTable id:DataHolderTable_265 |
| | | { |
| | | #keys: '[415136.0.1286390735]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'OfflinePlanArchiveVersion' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |