Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev
已重命名6个文件
已添加93个文件
已修改18个文件
已删除6个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | EDIBroker IL_InterfaceLogInfoMiddlesBroker |
| | | { |
| | | MDSDefinition: InterfaceDataset |
| | | TimeZone: 'ACT' |
| | | UseOSTimeZone: false |
| | | EDIModelLink.Destination DestinationInterfaceLogInfoMiddles |
| | | { |
| | | EDIMLTable InterfaceLoginfoMiddle |
| | | { |
| | | PrimaryKeyColumns: ID |
| | | TargetType: InterfaceLoginfoMiddle |
| | | TypeIndex: InterfaceLoginfoMiddleTypeIndex |
| | | EDIMLColumn FinishTime { Attribute: FinishTime ValueType: DateTime } |
| | | EDIMLColumn ID { Attribute: ID ValueType: Number } |
| | | EDIMLColumn Name { Attribute: Name ValueType: String } |
| | | EDIMLColumn Response { Attribute: Response ValueType: String } |
| | | } |
| | | } |
| | | EDIODBCLink.Source SourceInterfaceLogInfoMiddles |
| | | { |
| | | DataIntegrityStrategy: 'Disabled' |
| | | SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.vwed' |
| | | EDIODBCLinkTable InterfaceLoginfoMiddle |
| | | { |
| | | OthersMayCreateTable: true |
| | | OthersMayDeleteRow: true |
| | | OthersMayDropTable: true |
| | | OthersMayFlushTable: true |
| | | OthersMayInsertRow: true |
| | | PrimaryKeyColumns: ID |
| | | RecordModificationHintStrategy: 'None' |
| | | EDIODBCLinkColumn FinishTime |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: DateTime |
| | | } |
| | | EDIODBCLinkColumn ID |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: Number |
| | | } |
| | | EDIODBCLinkColumn Name |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn Response |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | } |
| | | } |
| | | EDITransformation.Transformation TransformationInterfaceLogInfoMiddles |
| | | { |
| | | EDITableTransformation |
| | | { |
| | | InputTable: InterfaceLoginfoMiddle |
| | | OutputTable: InterfaceLoginfoMiddle |
| | | EDIColumnMatch { InputColumn: FinishTime OutputColumn: FinishTime } |
| | | EDIColumnMatch { InputColumn: ID OutputColumn: ID } |
| | | EDIColumnMatch { InputColumn: Name OutputColumn: Name } |
| | | EDIColumnMatch { InputColumn: Response OutputColumn: Response } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | EDIBroker MP_ExportChangeLossSettingsBroker |
| | | { |
| | | MDSDefinition: MacroPlan |
| | | TimeZone: 'ACT' |
| | | UseOSTimeZone: false |
| | | EDIModelLink.Source InputChangeLossSettingsFromModel |
| | | { |
| | | EDIMLTable ChangeLossSettingExcel |
| | | { |
| | | TargetType: ChangeLossSettingExcel |
| | | EDIMLColumn ChangeLossNr { Attribute: ChangeLossNr ValueType: Number } |
| | | EDIMLColumn Product1 { Attribute: Product1 ValueType: String } |
| | | EDIMLColumn Product2 { Attribute: Product2 ValueType: String } |
| | | EDIMLColumn Unit { Attribute: Unit ValueType: String } |
| | | } |
| | | } |
| | | EDITransformation.Transformation TransformChangeLossSettingsForExport |
| | | { |
| | | EDITableTransformation |
| | | { |
| | | InputTable: ChangeLossSettingExcel |
| | | OutputTable: ChangeoverLossSetting |
| | | EDIColumnMatch { InputColumn: ChangeLossNr OutputColumn: ChangeLossNr } |
| | | EDIColumnMatch { InputColumn: Product1 OutputColumn: Product1 } |
| | | EDIColumnMatch { InputColumn: Product2 OutputColumn: Product2 } |
| | | EDIColumnMatch { InputColumn: Unit OutputColumn: Unit } |
| | | } |
| | | } |
| | | EDIXLSLink.Destination OutputChangeLossSettingsToExcel |
| | | { |
| | | FileName: 'MP_ChangeoverLossSettings' |
| | | EDIXLSLinkTable ChangeoverLossSetting |
| | | { |
| | | Columns: |
| | | [ |
| | | EDIXLSLinkColumn ChangeLossNr { ValueType: Number } |
| | | EDIXLSLinkColumn Product1 { ValueType: String } |
| | | EDIXLSLinkColumn Product2 { ValueType: String } |
| | | EDIXLSLinkColumn Unit { ValueType: String } |
| | | ] |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | EDIBroker MP_ImportChangeLossSettingsBroker |
| | | { |
| | | MDSDefinition: MacroPlan |
| | | TimeZone: 'ACT' |
| | | UseOSTimeZone: false |
| | | EDIModelLink.Destination OutputChangeLossSettingsToModel |
| | | { |
| | | EDIMLTable ChangeLossSettingExcel |
| | | { |
| | | PrimaryKeyColumns: Product1 |
| | | PrimaryKeyColumns: Product2 |
| | | PrimaryKeyColumns: Unit |
| | | TargetType: ChangeLossSettingExcel |
| | | TypeIndex: ChangeLossSettingTypeIndex |
| | | EDIMLColumn ChangeLossNr { Attribute: ChangeLossNr ValueType: Number } |
| | | EDIMLColumn Product1 { Attribute: Product1 ValueType: String } |
| | | EDIMLColumn Product2 { Attribute: Product2 ValueType: String } |
| | | EDIMLColumn Unit { Attribute: Unit ValueType: String } |
| | | } |
| | | } |
| | | EDITransformation.Transformation TransformChangeLossSettingsForImport |
| | | { |
| | | EDITableTransformation |
| | | { |
| | | InputTable: ChangeoverLossSetting |
| | | OutputTable: ChangeLossSettingExcel |
| | | EDIColumnMatch { InputColumn: ChangeLossNr OutputColumn: ChangeLossNr } |
| | | EDIColumnMatch { InputColumn: Product1 OutputColumn: Product1 } |
| | | EDIColumnMatch { InputColumn: Product2 OutputColumn: Product2 } |
| | | EDIColumnMatch { InputColumn: Unit OutputColumn: Unit } |
| | | } |
| | | } |
| | | EDIXLSLink.Source InputChangeLossSettingsFromExcel |
| | | { |
| | | FileName: 'MP_ChangeoverLossSetting.xlsx' |
| | | EDIXLSLinkTable ChangeoverLossSetting |
| | | { |
| | | Columns: |
| | | [ |
| | | EDIXLSLinkColumn ChangeLossNr { ValueType: Number } |
| | | EDIXLSLinkColumn Product1 { ValueType: String } |
| | | EDIXLSLinkColumn Product2 { ValueType: String } |
| | | EDIXLSLinkColumn Unit { ValueType: String } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | |
| | | { |
| | | DefaultText: 'ds-yunrong-gw.dmp.vwfawedl.mobi' |
| | | } |
| | | InfoMessage InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name |
| | | { |
| | | DefaultText: 'Assembly online plan - PPPS' |
| | | } |
| | | InfoMessage InterfaceDataset_ContentType |
| | | { |
| | | DefaultText: 'application/json' |
| | |
| | | { |
| | | DefaultText: '/authorization/token/api/open/token/generateToken?grant_type=client_credentials&client_id=19KxoxPF25cy96K8TL&client_secret=' |
| | | } |
| | | InfoMessage MP_ChangeLossSettingExcel_Import_NullInputRequiredField |
| | | { |
| | | DefaultText: 'The import field is empty.' |
| | | } |
| | | InfoMessage MP_ChangeLossSettingExcel_Import_ProductNoExist |
| | | { |
| | | DefaultText: 'The entered product does not exist.' |
| | | } |
| | | InfoMessage MP_ChangeLossSettingExcel_Import_UnitNoExist |
| | | { |
| | | DefaultText: 'The entered unit does not exist.' |
| | | } |
| | | InfoMessage MP_ChangeLossSetting_CheckNull |
| | | { |
| | | DefaultText: 'The required field is blank.' |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation AOnlineAndMOfflinePlanMS64_InterfaceDataset_InterfaceDataset_AOnlineAndMOfflinePlanMS64 |
| | | { |
| | | #keys: '1[415136.0.1039640163]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide InterfaceDataset |
| | | { |
| | | #keys: '3[415136.0.1039640165][415136.0.1039640164][415136.0.1039640166]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: AOnlineAndMOfflinePlanMS64 |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide AOnlineAndMOfflinePlanMS64 |
| | | { |
| | | #keys: '3[415136.0.1039640168][415136.0.1039640167][415136.0.1039640169]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: InterfaceDataset |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation AOnlineAndMOfflinePlanMS64_MS64Data_AOnlineAndMOfflinePlanMS64Data_MS64 |
| | | { |
| | | #keys: '1[415136.0.1039640176]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MS64Data |
| | | { |
| | | #keys: '3[415136.0.1039640178][415136.0.1039640177][415136.0.1039640179]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: AOnlineAndMOfflinePlanMS64 |
| | | OwningSide: 'Owned' |
| | | } |
| | | RelationSide.RightSide MS64 |
| | | { |
| | | #keys: '3[415136.0.1039640181][415136.0.1039640180][415136.0.1039640182]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: AOnlineAndMOfflinePlanMS64Data |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation AOnlineAndMOfflinePlanPIR_InterfaceDataset_InterfaceDataset_AOnlineAndMOfflinePlanPIR |
| | | { |
| | | #keys: '1[415136.0.1039640067]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide InterfaceDataset |
| | | { |
| | | #keys: '3[415136.0.1039640069][415136.0.1039640068][415136.0.1039640070]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: AOnlineAndMOfflinePlanPIR |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide AOnlineAndMOfflinePlanPIR |
| | | { |
| | | #keys: '3[415136.0.1039640072][415136.0.1039640071][415136.0.1039640073]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: InterfaceDataset |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation AOnlineAndMOfflinePlanPIR_PIRData_AOnlineAndMOfflinePlanPIRData_PIR |
| | | { |
| | | #keys: '1[415136.0.1039640080]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide PIRData |
| | | { |
| | | #keys: '3[415136.0.1039640082][415136.0.1039640081][415136.0.1039640083]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: AOnlineAndMOfflinePlanPIR |
| | | OwningSide: 'Owned' |
| | | } |
| | | RelationSide.RightSide PIR |
| | | { |
| | | #keys: '3[415136.0.1039640085][415136.0.1039640084][415136.0.1039640086]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: AOnlineAndMOfflinePlanPIRData |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation AssemblyOnlinePlanPPPSPush_InterfaceDataset_InterfaceDataset_AssemblyOnlinePlanPPPSPush |
| | | { |
| | | #keys: '1[415136.0.1029932763]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide InterfaceDataset |
| | | { |
| | | #keys: '3[415136.0.1029932765][415136.0.1029932764][415136.0.1029932766]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: AssemblyOnlinePlanPPPSPush |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide AssemblyOnlinePlanPPPSPush |
| | | { |
| | | #keys: '3[415136.0.1029932768][415136.0.1029932767][415136.0.1029932769]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: InterfaceDataset |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation AssemblyOnlinePlanPPPSPush_InterfaceLoginfo_InterfaceLoginfo_AssemblyOnlinePlanPPPSPush |
| | | { |
| | | #keys: '1[415136.0.1029932776]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide InterfaceLoginfo |
| | | { |
| | | #keys: '3[415136.0.1029932778][415136.0.1029932777][415136.0.1029932779]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: AssemblyOnlinePlanPPPSPush |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide AssemblyOnlinePlanPPPSPush |
| | | { |
| | | #keys: '3[415136.0.1029932781][415136.0.1029932780][415136.0.1029932782]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: InterfaceLoginfo |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation ChangeLossSettingExcel_MacroPlan_MacroPlan_ChangeLossSettingExcel |
| | | { |
| | | #keys: '1[415136.0.1035218354]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[415136.0.1035218356][415136.0.1035218355][415136.0.1035218357]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: ChangeLossSettingExcel |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide ChangeLossSettingExcel |
| | | { |
| | | #keys: '3[415136.0.1035218359][415136.0.1035218358][415136.0.1035218360]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation InterfaceLoginfoMiddle_InterfaceDataset_InterfaceDataset_InterfaceLoginfoMiddle |
| | | { |
| | | #keys: '1[415136.0.1035642038]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide InterfaceDataset |
| | | { |
| | | #keys: '3[415136.0.1035642040][415136.0.1035642039][415136.0.1035642041]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: InterfaceLoginfoMiddle |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide InterfaceLoginfoMiddle |
| | | { |
| | | #keys: '3[415136.0.1035642043][415136.0.1035642042][415136.0.1035642044]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: InterfaceDataset |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute EndDate |
| | | { |
| | | #keys: '3[415136.0.1039640140][415136.0.1039640139][415136.0.1039640141]' |
| | | Description: 'ç»ææ¥æ' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsActive |
| | | { |
| | | #keys: '3[415136.0.1039640227][415136.0.1039640226][415136.0.1039640228]' |
| | | Description: 'æ¯å¦æ¿æ´»' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Product |
| | | { |
| | | #keys: '3[415136.0.1039640197][415136.0.1039640196][415136.0.1039640198]' |
| | | Description: 'ç©æå·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StartDate |
| | | { |
| | | #keys: '3[415136.0.1039640137][415136.0.1039640136][415136.0.1039640138]' |
| | | Description: 'å¼å§æ¶é´' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Version |
| | | { |
| | | #keys: '3[415136.0.1039640134][415136.0.1039640133][415136.0.1039640135]' |
| | | Description: 'çæ¬' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionFrom |
| | | { |
| | | #keys: '3[415136.0.1039640207][415136.0.1039640206][415136.0.1039640208]' |
| | | Description: 'ä»çæ¬' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionTo |
| | | { |
| | | #keys: '3[415136.0.1039640217][415136.0.1039640216][415136.0.1039640218]' |
| | | Description: 'å°çæ¬' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Werk |
| | | { |
| | | #keys: '3[415136.0.1039640131][415136.0.1039640130][415136.0.1039640132]' |
| | | Description: 'å·¥å代ç ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Version |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Werk |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type AOnlineAndMOfflinePlanMS64 |
| | | { |
| | | #keys: '5[415136.0.1039640128][415136.0.1039640126][0.0.0][415136.0.1039640127][415136.0.1039640129]' |
| | | BaseType: Object |
| | | Description: 'è£
é
ä¸çº¿è®¡å+æºå ä¸çº¿è®¡å-æ¥è¯¢æ¡ä»¶' |
| | | StructuredName: 'AOnlineAndMOfflinePlanMS64s' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Product |
| | | { |
| | | #keys: '3[415136.0.1039640151][415136.0.1039640150][415136.0.1039640152]' |
| | | Description: 'ç©æå·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Product |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type AOnlineAndMOfflinePlanMS64Data |
| | | { |
| | | #keys: '5[415136.0.1039640148][415136.0.1039640146][0.0.0][415136.0.1039640147][415136.0.1039640149]' |
| | | BaseType: Object |
| | | Description: 'è£
é
ä¸çº¿è®¡å+æºå ä¸çº¿è®¡å-æ°æ®' |
| | | StructuredName: 'AOnlineAndMOfflinePlanMS64Datas' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute EndDate |
| | | { |
| | | #keys: '3[415136.0.1039640058][415136.0.1039640057][415136.0.1039640059]' |
| | | Description: 'ç»ææ¥æ' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StartDate |
| | | { |
| | | #keys: '3[415136.0.1039640048][415136.0.1039640047][415136.0.1039640049]' |
| | | Description: 'å¼å§æ¶é´' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Version |
| | | { |
| | | #keys: '3[415136.0.1039640038][415136.0.1039640037][415136.0.1039640039]' |
| | | Description: 'çæ¬' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Werk |
| | | { |
| | | #keys: '3[415136.0.1039640028][415136.0.1039640027][415136.0.1039640029]' |
| | | Description: 'å·¥å代ç ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GenerateData ( |
| | | InterfaceDataset owner, |
| | | String werk, |
| | | const MacroPlan macroplan, |
| | | Date startdate, |
| | | Date enddate |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-23-2024 (created) |
| | | owner.AOnlineAndMOfflinePlanPIR( relflush ); |
| | | pir := owner.AOnlineAndMOfflinePlanPIR( relnew, Werk := werk, Version := macroplan.ScenarioName(), StartDate := startdate, EndDate := enddate ); |
| | | totalrows := 0; |
| | | traverse( macroplan, AssemblyOnlinePlanColumn, column ){ |
| | | traverse( column, AssemblyOnlinePlanCell, cell, cell.Value() <> '' and cell.AssemblyOnlinePlanRow().RowNr() = '1' ){ |
| | | quantityrow := cell.AssemblyOnlinePlanRow(); |
| | | |
| | | pir.PIRData( relnew, Product := quantityrow.ProductID() |
| | | , PlanningDate := column.ColumnDate() |
| | | , PlanningQty := [Number]cell.Value()); |
| | | } |
| | | } |
| | | totalrows := totalrows + pir.PIRData( relsize ); |
| | | |
| | | //traverse( macroplan, OfflinePlanTable |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type AOnlineAndMOfflinePlanPIR |
| | | { |
| | | #keys: '5[415136.0.1039640013][415136.0.1039640011][0.0.0][415136.0.1039640012][415136.0.1039640014]' |
| | | BaseType: Object |
| | | Description: 'è£
é
ä¸çº¿è®¡å+æºå ä¸çº¿è®¡å-æ¥è¯¢æ¡ä»¶' |
| | | StructuredName: 'AOnlineAndMOfflinePlanPIRs' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PlanningDate |
| | | { |
| | | #keys: '3[415136.0.1039640107][415136.0.1039640106][415136.0.1039640108]' |
| | | Description: 'æäº§æ¥æ' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PlanningQty |
| | | { |
| | | #keys: '3[415136.0.1039640117][415136.0.1039640116][415136.0.1039640118]' |
| | | Description: 'å¯¹åºæ¥æçè®¡åæ°é' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Product |
| | | { |
| | | #keys: '3[415136.0.1039640097][415136.0.1039640096][415136.0.1039640098]' |
| | | Description: 'ç©æå·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type AOnlineAndMOfflinePlanPIRData |
| | | { |
| | | #keys: '5[415136.0.1039640021][415136.0.1039640019][0.0.0][415136.0.1039640020][415136.0.1039640022]' |
| | | BaseType: Object |
| | | Description: 'è£
é
ä¸çº¿è®¡å+æºå ä¸çº¿è®¡å-æ°æ®' |
| | | StructuredName: 'AOnlineAndMOfflinePlanPIRDatas' |
| | | } |
| | |
| | | traverse ( archiveExecutionStatus, TemporaryDemandData, tdd ,tdd.Origin() = "" or tdd.StartDate() >= macroPlan.StartOfPlanning().Date()) { |
| | | targetProduct_MP := select( macroPlan, Product_MP, tempPMP, tempPMP.ID() = tdd.ProductID() ); |
| | | targetStockingPoint_MP := select( macroPlan, StockingPoint_MP, tempSPMP, tempSPMP.ID() = tdd.StockingPointID() ); |
| | | info( tdd.SalesSegmentName() ); |
| | | // info( tdd.SalesSegmentName() ); |
| | | if ( not isnull( targetProduct_MP ) and not isnull( targetStockingPoint_MP ) ) { |
| | | forcest := Forecast::Create( targetProduct_MP, |
| | | targetStockingPoint_MP, |
| | |
| | | archiveExecutionStatus.AES_TemporaryDemandData().Source().FlatQuery( "truncate table A_Forecasts" ); |
| | | |
| | | // è¿åæåæ¶æ¯ |
| | | RequirementImportExecutionStatus::Create( archiveExecutionStatus, code, "Complete", userName, Translations::A_VWED_RequirementImportSuccessful(), true ); |
| | | if( message <> ''){ |
| | | RequirementImportExecutionStatus::Create( archiveExecutionStatus, code, "Complete", userName, message, true ); |
| | | }else{ |
| | | RequirementImportExecutionStatus::Create( archiveExecutionStatus, code, "Complete", userName, Translations::A_VWED_RequirementImportSuccessful(), true ); |
| | | } |
| | | } else { |
| | | RequirementImportExecutionStatus::Create( archiveExecutionStatus, code, "Complete", userName, message, false ); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Fac |
| | | { |
| | | #keys: '3[415136.0.1029932754][415136.0.1029932753][415136.0.1029932755]' |
| | | Description: 'å·¥åç®å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute FactoryName |
| | | { |
| | | #keys: '3[415136.0.1029932760][415136.0.1029932759][415136.0.1029932761]' |
| | | Description: 'å·¥ååç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute InterfaceTime |
| | | { |
| | | #keys: '3[415136.0.1029932757][415136.0.1029932756][415136.0.1029932758]' |
| | | Description: 'æ¥å£æ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PlanningDate |
| | | { |
| | | #keys: '3[415136.0.1029932714][415136.0.1029932713][415136.0.1029932715]' |
| | | Description: 'è®¡åæ¥æ' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PlanningQty |
| | | { |
| | | #keys: '3[415136.0.1029932727][415136.0.1029932726][415136.0.1029932728]' |
| | | Description: 'å¯¹åºæ¥æçä¸çº¿è®¡åæ°é' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Product |
| | | { |
| | | #keys: '3[415136.0.1029932704][415136.0.1029932703][415136.0.1029932705]' |
| | | Description: 'ç©æå·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Sequence |
| | | { |
| | | #keys: '3[415136.0.1029932737][415136.0.1029932736][415136.0.1029932738]' |
| | | Description: 'å¯¹åºæ¥æçä¸çº¿é¡ºåº' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionFlag |
| | | { |
| | | #keys: '3[415136.0.1029932747][415136.0.1029932746][415136.0.1029932748]' |
| | | Description: 'çæ¬æ è¯' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionName |
| | | { |
| | | #keys: '3[415136.0.1029932750][415136.0.1029932749][415136.0.1029932751]' |
| | | Description: 'çæ¬åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Fac |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: FactoryName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: VersionName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GenerateData ( |
| | | const MacroPlan macroplan, |
| | | InterfaceDataset interfaceDataset, |
| | | String executor, |
| | | Boolean versionflag |
| | | ) |
| | | { |
| | | Description: 'çæå¯ä»¥ä¸åç客æ·éæ±ï¼PPA+IDSï¼æ°æ®' |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-20-2024 (created) |
| | | cdlast := maxobject( interfaceDataset, AssemblyOnlinePlanPPPSPush, cd, cd.InterfaceTime(), cd.PlanningDate(), cd.Product() ); |
| | | if( not isnull( cdlast ) ){ |
| | | loginfo := cdlast.InterfaceLoginfo(); |
| | | if( not loginfo.IsShow() ){ |
| | | loginfo.Delete(); |
| | | }else{ |
| | | loginfo.Last( false ); |
| | | } |
| | | interfaceDataset.AssemblyOnlinePlanPPPSPush( relflush ); |
| | | } |
| | | nowdate := DateTime::ActualTime(); |
| | | loginfo := interfaceDataset.InterfaceLoginfo( relnew, ExecuteUser := executor |
| | | , Name := Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name() |
| | | , InterfaceDateTime := nowdate |
| | | , Message := 'è£
é
ä¸çº¿è®¡å-PPPSä¼ è¾è³æ°æ®ä¸å°ï¼å
嫿åºï¼/SAPï¼ä¸å
嫿åºï¼' |
| | | , IsShow := false |
| | | , Last := true |
| | | , ReturnSuccess := true |
| | | , ReturnMsg := 'Success' |
| | | , Success := true |
| | | ); |
| | | traverse( macroplan, AssemblyOnlinePlanColumn, column ){ |
| | | traverse( column, AssemblyOnlinePlanCell, cell, cell.Value() <> '' and cell.AssemblyOnlinePlanRow().RowNr() = '1' ){ |
| | | quantityrow := cell.AssemblyOnlinePlanRow(); |
| | | ordercell := selectobject( column, AssemblyOnlinePlanCell, ocell, ocell.AssemblyOnlinePlanRow().ProductID() = quantityrow.ProductID() |
| | | and ocell.AssemblyOnlinePlanRow().ProductionLine() = quantityrow.ProductionLine() |
| | | and ocell.AssemblyOnlinePlanRow().RowNr() = '2' ); |
| | | |
| | | cd :=interfaceDataset.AssemblyOnlinePlanPPPSPush( relnew, Product := quantityrow.ProductID() |
| | | , PlanningDate := column.ColumnDate() |
| | | , PlanningQty := [Number]cell.Value() |
| | | , Sequence := ordercell.Value() |
| | | , VersionName := macroplan.ScenarioName() |
| | | , InterfaceTime := nowdate |
| | | , VersionFlag := versionflag |
| | | ); |
| | | loginfo.AssemblyOnlinePlanPPPSPush( relinsert, cd ); |
| | | } |
| | | } |
| | | loginfo.TotalRow( loginfo.AssemblyOnlinePlanPPPSPush( relsize ) ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type AssemblyOnlinePlanPPPSPush |
| | | { |
| | | #keys: '5[415136.0.1029932700][415136.0.1029932698][0.0.0][415136.0.1029932699][415136.0.1029932701]' |
| | | BaseType: Object |
| | | Description: '3.5è£
é
ä¸çº¿è®¡å-PPPSä¼ è¾è³æ°æ®ä¸å°ï¼å
嫿åºï¼/SAPï¼ä¸å
嫿åºï¼' |
| | | StructuredName: 'AssemblyOnlinePlanPPPSPushs' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ChangeLossNr |
| | | { |
| | | #keys: '3[415136.0.1035218301][415136.0.1035218300][415136.0.1035218302]' |
| | | Description: 'æ¢åæå¤±ï¼å°ï¼' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Product1 |
| | | { |
| | | #keys: '3[415136.0.1035218324][415136.0.1035218323][415136.0.1035218325]' |
| | | Description: '产å1' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Product2 |
| | | { |
| | | #keys: '3[415136.0.1035218327][415136.0.1035218326][415136.0.1035218328]' |
| | | Description: '产å2' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Unit |
| | | { |
| | | #keys: '3[415136.0.1035218331][415136.0.1035218330][415136.0.1035218332]' |
| | | Description: 'åä½' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CheckImport ( |
| | | MacroPlan macroplan |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-22-2024 (created) |
| | | if( exists( macroplan, ChangeLossSettingExcel, excel, excel.Product1() = '' |
| | | or excel.Product2() = '' |
| | | or excel.Unit() = '' |
| | | or excel.ChangeLossNr() = 0 ) ){ |
| | | error( Translations::MP_ChangeLossSettingExcel_Import_NullInputRequiredField() ); |
| | | } |
| | | //导å
¥äº§åæ¯å¦åå¨ |
| | | if( exists( macroplan, ChangeLossSettingExcel, excel, not exists( macroplan, Product_MP, product, product.ID() = excel.Product1() or product.ID() = excel.Product2() ) ) ){ |
| | | error( Translations::MP_ChangeLossSettingExcel_Import_ProductNoExist() ); |
| | | } |
| | | //导å
¥äº§çº¿æ¯å¦åå¨ |
| | | if( exists( macroplan, ChangeLossSettingExcel, excel, not exists( macroplan, Unit, unit, unit.ID() = excel.Unit() ) ) ){ |
| | | error( Translations::MP_ChangeLossSettingExcel_Import_UnitNoExist() ); |
| | | } |
| | | //导å
¥ç两个产åç¸ç |
| | | if( exists( macroplan, ChangeLossSettingExcel, excel, excel.Product1() = excel.Product2() ) ){ |
| | | error( Translations::MP_ChangeLossSetting_SameProduct() ); |
| | | } |
| | | //éå¤å¯¼å
¥æ ¡éª |
| | | //if( selectduplicates( owner, LaneExcel, excel, excel.StartFrom(), |
| | | // excel.EndTo(), |
| | | // excel.StartStockingPoint(), |
| | | // excel.EndStockingPoint(), |
| | | // excel.TransporationType(), |
| | | // excel.Product(), |
| | | // excel.TransporationTime() ).Size() > 0 ){ |
| | | // error( Translations::MP_LaneExcel_Import_RepeatKey() ); |
| | | //} |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ExportTemplate ( |
| | | MacroPlan macroplan, |
| | | Boolean isxlsxformat |
| | | ) as BinaryValue |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-22-2024 (created) |
| | | value := macroplan.MP_ExportChangeLossSettingsBroker().ExecuteToXLS( isxlsxformat ).AsBinaryValue(); |
| | | |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetDefalutName () as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-22-2024 (created) |
| | | return 'MP_ChangeoverLossSetting.xlsx'; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Import ( |
| | | MacroPlan macroplan, |
| | | BinaryValue binaryvalue |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-22-2024 (created) |
| | | |
| | | macroplan.ValidateBroker( typeof( MP_ImportChangeLossSettingsBroker ).ShortName(), macroplan.MP_ImportChangeLossSettingsBroker().Source(), binaryvalue ); |
| | | progress( 'Importing lanes', DateTime::ActualTime() ); |
| | | macroplan.MP_ImportChangeLossSettingsBroker().ExecuteFromXLS( binaryvalue.AsBinaryData(), true ); |
| | | |
| | | try{ |
| | | ChangeLossSettingExcel::CheckImport( macroplan ); |
| | | }onerror{ |
| | | //æ ¡éªå¤±è´¥åå é¤ |
| | | macroplan.ChangeLossSettingExcel( relflush ); |
| | | error( e.GeneralInformation() ); |
| | | } |
| | | //éåå¤ç导å
¥çæ°æ® |
| | | traverse( macroplan, ChangeLossSettingExcel, excel ){ |
| | | cls := selectobject( macroplan, ChangeLossSetting, cls, cls.ProductFirst().ID() = excel.Product1() |
| | | and cls.ProductSecond().ID() = excel.Product2() |
| | | and cls.Unit().ID() = excel.Unit() ); |
| | | if( isnull( cls ) ){ |
| | | cls := macroplan.ChangeLossSetting( relnew, ChangeLossNr := excel.ChangeLossNr() ); |
| | | product1 := selectobject( macroplan, Product_MP, product, product.ID() = excel.Product1() ); |
| | | product2 := selectobject( macroplan, Product_MP, product, product.ID() = excel.Product2() ); |
| | | unit := selectobject( macroplan, Unit, unit, unit.ID() = excel.Unit() ); |
| | | cls.ProductFirst( relset, product1 ); |
| | | cls.ProductSecond( relset, product2 ); |
| | | cls.Unit( relset, unit ); |
| | | }else { |
| | | cls.ChangeLossNr( excel.ChangeLossNr() ); |
| | | } |
| | | excel.Delete(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | TypeIndex ChangeLossSettingTypeIndex |
| | | { |
| | | Attributes: |
| | | [ |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: Product2 |
| | | } |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: Product1 |
| | | } |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: Unit |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type ChangeLossSettingExcel |
| | | { |
| | | #keys: '5[415136.0.1035218297][415136.0.1035218295][0.0.0][415136.0.1035218296][415136.0.1035218298]' |
| | | BaseType: Object |
| | | Description: 'æ¢å设置导å
¥å¯¼åºç±»' |
| | | StructuredName: 'ChangeLossSettingExcels' |
| | | } |
| | |
| | | interfaceDataset.CustomerDemandPPAIDS( relflush ); |
| | | } |
| | | nowdate := DateTime::ActualTime(); |
| | | loginfo := interfaceDataset.InterfaceLoginfo( relnew, ExecuteUser := executor |
| | | , Name := Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() |
| | | , InterfaceDateTime := DateTime::ActualTime() |
| | | , Message := '客æ·éæ±ï¼PPA+IDSï¼æ°æ®æ¨é' |
| | | , IsShow := false |
| | | , Last := true |
| | | , ReturnSuccess := true |
| | | , ReturnMsg := 'Success' |
| | | , Success := true |
| | | loginfo := interfaceDataset.InterfaceLoginfo( relnew, ExecuteUser := executor |
| | | , Name := Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() |
| | | , InterfaceDateTime := nowdate |
| | | , Message := '客æ·éæ±ï¼PPA+IDSï¼æ°æ®æ¨é' |
| | | , Last := true |
| | | , IsShow := false |
| | | , ReturnSuccess := true |
| | | , ReturnMsg := 'Success' |
| | | , Success := true |
| | | ); |
| | | traverse( macroplan, SalesDemand.astype( Forecast ), forecast ){ |
| | | cd :=interfaceDataset.CustomerDemandPPAIDS( relnew, Product := forecast.ProductID() |
| | |
| | | #parent: #root |
| | | StaticMethod Dispatch ( |
| | | const MacroPlan macroPlan, |
| | | RecycleBin owner |
| | | RecycleBin owner, |
| | | String versionFlag |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // Akari Aug-21-2024 (created) |
| | | owner.DispatchShiftPlan( relflush ); |
| | | // owner.RB_DispatchShiftPlanBroker().Source().FlatQuery( "truncate table A_DispatchShiftPlan" ); |
| | | |
| | | now := DateTime::Now(); |
| | | macroPlanName := macroPlan.MDSMacroPlan().Description(); |
| | | traverse( macroPlan,Unit.UnitPeriod.astype( UnitPeriodTime ).ShiftPlan,shiftPlan ){ |
| | |
| | | ShiftDate := shiftPlan.UnitPeriodTime().Period_MP().StartDate(), |
| | | Tips := shiftPlan.Remark(), |
| | | VersionName := macroPlanName, |
| | | VersionFlag := versionFlag, |
| | | FactoryName := factory.ID(), |
| | | InterfaceTime := now |
| | | ); |
| | |
| | | cnv2.SetCustomConversion(); |
| | | cnv2.CustomFormatString( 'yyyy-MM-dd' ); |
| | | |
| | | // sadatalist := construct( ShippingActualDatas ); |
| | | sadatalist := construct( FinishedEngineInventorys ); |
| | | for( seq := 0;seq < data.Size();seq++){ |
| | | item := data.Get(seq); |
| | | FinishedEngineInventory::GenerateData( loginfo, cnv2, item ); |
| | | // sadatalist.Add( sadata ); |
| | | sadata := FinishedEngineInventory::GenerateData( loginfo, cnv2, item ); |
| | | sadatalist.Add( sadata ); |
| | | } |
| | | |
| | | options := DatasetFindOptions::Construct( 'MacroPlan' ).IncludeOffline( true ); //to load we must search offline datasets. |
| | | mdskey := DatasetController::FindUnique( options ); |
| | | |
| | | MDSMacroPlan::Root( mdskey ) -> InventoryInterfaceData::SynchronizeInventory( owner, sadatalist ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SyncMiddle ( |
| | | InterfaceDataset owner |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-23-2024 (created) |
| | | owner.IL_InterfaceLogInfoMiddlesBroker().Execute(); |
| | | // æ¸
ç©ºä¸´æ¶æ°æ®åº |
| | | owner.IL_InterfaceLogInfoMiddlesBroker().Source().FlatQuery( "truncate table A_InterfaceLogInfoMiddle" ); |
| | | traverse( owner, InterfaceLoginfoMiddle, middle ){ |
| | | loginfo := selectobject( owner, InterfaceLoginfo, loginfo, loginfo.Name() = middle.Name() and loginfo.IsShow() = false and loginfo.Last() = true ); |
| | | loginfo.FinishTime( middle.FinishTime() ); |
| | | loginfo.Response( middle.Response() ); |
| | | loginfo.IsShow( false ); |
| | | middle.Delete(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute FinishTime |
| | | { |
| | | #keys: '3[415136.0.1035642031][415136.0.1035642030][415136.0.1035642032]' |
| | | Description: '宿æ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ID |
| | | { |
| | | #keys: '3[415136.0.1035643101][415136.0.1035643100][415136.0.1035643102]' |
| | | IsReadOnly: true |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Name |
| | | { |
| | | #keys: '3[415136.0.1035642019][415136.0.1035642018][415136.0.1035642020]' |
| | | Description: 'æ¥å£åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Response |
| | | { |
| | | #keys: '3[415136.0.1035642035][415136.0.1035642034][415136.0.1035642036]' |
| | | Description: 'æ¥å£è¿åæ°æ®' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Name |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Response |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | TypeIndex InterfaceLoginfoMiddleTypeIndex |
| | | { |
| | | Attributes: |
| | | [ |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: ID |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type InterfaceLoginfoMiddle |
| | | { |
| | | #keys: '5[415136.0.1035642012][415136.0.1035642010][0.0.0][415136.0.1035642011][415136.0.1035642013]' |
| | | BaseType: Object |
| | | Description: 'æ¥å£æ¥å¿ä¸é´ä¸´æ¶è¡¨' |
| | | StructuredName: 'InterfaceLoginfoMiddles' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInventory ( |
| | | MacroPlan macroplan, |
| | | InterfaceDataset owner, |
| | | const FinishedEngineInventorys inventorys |
| | | ) |
| | | { |
| | | Description: 'å卿ºæååºå' |
| | | TextBody: |
| | | [* |
| | | |
| | | //æ¸
空åæçåºåæ´æ°æ°æ® |
| | | //traverse( interfaceDataset, InventoryInterfaceData, iid, iid.Date() = date ){ |
| | | // iid.Delete(); |
| | | //} |
| | | // è·åæå®æ¥æåºåæ¥å£æ°æ® |
| | | //å卿ºæååºå |
| | | traverse( inventorys, Elements, inventory ){ |
| | | product := select( macroplan, Product_MP, product, product.Notes() = inventory.FourCode() ); |
| | | InventoryInterfaceData::Generate( owner, inventory.DDay(), product.ID(), inventory.BIPlace(), [Number]inventory.Total() ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | |
| | | // sadatalist := construct( ShippingActualDatas ); |
| | | for( seq := 0;seq < data.Size();seq++){ |
| | | item := data.Get(seq); |
| | | MachineStockData::GenerateData( loginfo, cnv2, item ); |
| | | item := data.Get(seq); |
| | | inventory :=MachineStockData::GenerateData( loginfo, cnv2, item ); |
| | | inventoryname := inventory.Lgort(); |
| | | if( inventory.Fac() = 'DL' and inventory.Lgort() = 'All' ){ |
| | | inventoryname := inventory.LineType(); |
| | | } |
| | | InventoryInterfaceData::Generate( owner, inventory.DDay(), inventory.MaterialNo(), inventoryname, [Number]inventory.Total() ); |
| | | // sadatalist.Add( sadata ); |
| | | } |
| | | } |
| | |
| | | BaseType: 'WebActionBarGroup' |
| | | Children: |
| | | [ |
| | | Component ButtonChangeLossSetting |
| | | Component ButtonChangeoverLossSetting |
| | | { |
| | | #keys: '[415136.0.747550259]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR' |
| | | Label: 'Change loss setting' |
| | | Label: 'Changeover loss setting' |
| | | Taborder: 0 |
| | | ] |
| | | } |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ActionBarGroupRestraint_ButtonChangeLossSetting_OnClic.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ActionBarGroupRestraint/ButtonChangeLossSetting |
| | | Response OnClick () id:Response_MacroPlanner_ActionBarGroupRestraint_ButtonChangeLossSetting_OnClick |
| | | #parent: ActionBarGroupRestraint/ButtonChangeoverLossSetting |
| | | Response OnClick () id:Response_MacroPlanner_ActionBarGroupRestraint_ButtonChangeoverLossSetting_OnClick |
| | | { |
| | | #keys: '[415136.0.748214014]' |
| | | CanBindMultiple: false |
| | |
| | | #parent: #root |
| | | Method Edit ( |
| | | ChangeLossSetting selection |
| | | ) id:Method_DialogCreateEditChangeLossSetting_Edit |
| | | ) id:Method_DialogCreateEditChangeoverLossSetting_Edit |
| | | { |
| | | #keys: '[415136.0.746200731]' |
| | | Body: |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method New ( |
| | | FormChangeLossSetting form |
| | | ) id:Method_DialogCreateEditChangeLossSetting_New |
| | | FormChangeoverLossSetting form |
| | | ) id:Method_DialogCreateEditChangeoverLossSetting_New |
| | | { |
| | | #keys: '[415136.0.746200358]' |
| | | Body: |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OnOK () id:Method_DialogCreateEditChangeLossSetting_OnOK |
| | | Method OnOK () id:Method_DialogCreateEditChangeoverLossSetting_OnOK |
| | | { |
| | | #keys: '[415136.0.746200837]' |
| | | Body: |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/_ROOT_Component_DialogCreateEditChangeLossSetting.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogCreateEditChangeLossSetting |
| | | OrphanComponent DialogCreateEditChangeoverLossSetting |
| | | { |
| | | #keys: '[415136.0.735612161]' |
| | | BaseType: 'WebForm' |
| | |
| | | { |
| | | #keys: '[415136.0.735612354]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'FormChangeLossSetting' |
| | | Databinding: 'FormChangeoverLossSetting' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | |
| | | ExcludeFromActiveComponent: true |
| | | Image: 'GEAR' |
| | | Padding: 'false' |
| | | Title: 'Change loss setting' |
| | | Title: 'Changeover loss setting' |
| | | ] |
| | | } |
| | |
| | | Method New ( |
| | | Routing selection, |
| | | FormRoutings formrouting |
| | | ) id:Method_DialogCreateEditThermalTrialRatio_New |
| | | ) id:Method_DialogCreateEditHotTestRatio_New |
| | | { |
| | | #keys: '[415136.0.756141435]' |
| | | Body: |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OnOK () id:Method_DialogCreateEditThermalTrialRatio_OnOK |
| | | Method OnOK () id:Method_DialogCreateEditHotTestRatio_OnOK |
| | | { |
| | | #keys: '[415136.0.762562093]' |
| | | Body: |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SetDefaultValue () id:Method_DialogCreateEditThermalTrialRatio_SetDefaultValue |
| | | Method SetDefaultValue () id:Method_DialogCreateEditHotTestRatio_SetDefaultValue |
| | | { |
| | | #keys: '[415136.0.756141199]' |
| | | Body: |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditThermalTrialRatio/_ROOT_Component_DialogCreateEditThermalTrialRatio.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogCreateEditThermalTrialRatio |
| | | OrphanComponent DialogCreateEditHotTestRatio |
| | | { |
| | | #keys: '[415136.0.756140026]' |
| | | BaseType: 'WebForm' |
| | |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'Thermal trial ratio' |
| | | Title: 'Hot test ratio' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[415136.0.1033612182]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnApply |
| | | { |
| | | #keys: '[415136.0.1033612184]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Apply' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnOk |
| | | { |
| | | #keys: '[415136.0.1033612186]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[415136.0.1033612188]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | ExcludeFromActiveComponent: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Padding: 'true' |
| | | Style: 'footer' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[415136.0.1033612180]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component efFactory id:efFactory_891 |
| | | { |
| | | #keys: '[415136.0.1033612218]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Label: 'å·¥å代ç ' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component dsStartDate id:dsStartDate_57 |
| | | { |
| | | #keys: '[415136.0.1033612231]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: 'å¼å§æ¥æ' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component dsEndDate id:dsEndDate_963 |
| | | { |
| | | #keys: '[415136.0.1033612244]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: 'ç»ææ¥æ' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component efOriginMacroPlan |
| | | { |
| | | #keys: '[415136.0.1033612274]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Label: 'ä»çæ¬' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component efDestinationMacroPlan |
| | | { |
| | | #keys: '[415136.0.1033612302]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Label: 'å°çæ¬' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component cbActiveVersion |
| | | { |
| | | #keys: '[415136.0.1033612322]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Checked: true |
| | | Label: 'æ¯å¦æ¿æ´»çæ¬' |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | Component ddlProduct |
| | | { |
| | | #keys: '[415136.0.1034848130]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'Product_MP' |
| | | Children: |
| | | [ |
| | | Component deContent |
| | | { |
| | | #keys: '[415136.0.1034848132]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | FixedFilter: 'object.IsLeaf()' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'Product_MP' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | DisplayField: 'Name' |
| | | Label: 'ç©æå·' |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnApply |
| | | Response OnClick () id:Response_pnlActions_btnApply_OnClick |
| | | { |
| | | #keys: '[415136.0.1033612190]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | Precondition: |
| | | [* |
| | | return Form.HasChanges(); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ApplyChanges(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[415136.0.1033612192]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOk |
| | | Response OnClick () id:Response_pnlActions_btnOk_OnClick |
| | | { |
| | | #keys: '[415136.0.1033612191]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ApplyChanges(); |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogZEDPPSMS64 |
| | | { |
| | | #keys: '[415136.0.1033612178]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'ZED_PPS_MS64' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[415136.0.1033611817]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[415136.0.1033611821]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[415136.0.1033611823]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | ExcludeFromActiveComponent: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Padding: 'true' |
| | | Style: 'footer' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[415136.0.1033611815]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component efFactory |
| | | { |
| | | #keys: '[415136.0.1033611885]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Label: 'å·¥å代ç ' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component efMacroPlan |
| | | { |
| | | #keys: '[415136.0.1033611906]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Label: 'çæ¬' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component dsStartDate |
| | | { |
| | | #keys: '[415136.0.1033611945]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: '计åå¼å§æ¶é´' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component dsEndDate |
| | | { |
| | | #keys: '[415136.0.1033611978]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: '计åç»ææ¶é´' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[415136.0.1033611827]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOk |
| | | Response OnClick () id:Response_pnlActions_btnOk_OnClick |
| | | { |
| | | #keys: '[415136.0.1033611826]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ApplyChanges(); |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogZEDPPSPIR |
| | | { |
| | | #keys: '[415136.0.1033611813]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'ZED_PPS_PIR' |
| | | ] |
| | | } |
| | |
| | | [ |
| | | Image: 'EXPORT1' |
| | | Label: '导åº' |
| | | Taborder: 0 |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component bDownload id:bDownload_774 |
| | |
| | | [ |
| | | Image: 'DOWNLOAD' |
| | | Label: 'ä¸è½½' |
| | | Taborder: 1 |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component dhXMLDataListener |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component Button593 |
| | | { |
| | | #keys: '[414996.1.20921786]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'åå¸çæ¬' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component Button633 |
| | | { |
| | | #keys: '[414996.1.20921810]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'æ±æ¥çæ¬' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pOperation/Button593 |
| | | Response OnClick () id:Response_pOperation_Button593_OnClick |
| | | { |
| | | #keys: '[414996.1.20921852]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | DispatchShiftPlan::Dispatch( MacroPlan,RecycleBin,this.Label() ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pOperation/Button633 |
| | | Response OnClick () id:Response_pOperation_Button633_OnClick |
| | | { |
| | | #keys: '[414996.1.20921936]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | DispatchShiftPlan::Dispatch( MacroPlan,RecycleBin,this.Label() ); |
| | | *] |
| | | } |
| | | } |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormChangeLossSetting/Component_ListChangeLossSetting.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListChangeLossSetting |
| | | Component ListChangeLossSetting id:ListChangeLossSetting_568 |
| | | { |
| | | #keys: '[415136.0.735611728]' |
| | | #keys: '[415136.0.1033650293]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorChangeLossSetting |
| | | { |
| | | #keys: '[415136.0.735611729]' |
| | | #keys: '[415136.0.1033650294]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | |
| | | Transformation: 'ChangeLossSetting' |
| | | ] |
| | | } |
| | | #child: listActionBarPageChangeLossSetting |
| | | #child: listActionBarPageChangeLossSetting_1 |
| | | Component DataSetLevelChangeLossSetting |
| | | { |
| | | #keys: '[415136.0.735611734]' |
| | | #keys: '[415136.0.1033650296]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuChangeLossSetting |
| | | #child: listContextMenuChangeLossSetting_1 |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListChangeLossSetting_WebMenu_OnClick |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListChangeLossSetting_568_WebMenu_OnClick |
| | | { |
| | | #keys: '[415136.0.747540770]' |
| | | #keys: '[415136.0.1033650287]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelHeader |
| | | { |
| | | #keys: '[415136.0.1033690374]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ButtonImport |
| | | { |
| | | #keys: '[415136.0.1033690395]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'IMPORT1' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component ButtonHeader |
| | | { |
| | | #keys: '[415136.0.1033690437]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'EXPORT1' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelList |
| | | { |
| | | #keys: '[415136.0.1033650239]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: ListChangeLossSetting_568 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageChangeLossSetting id:listActionBarPageChangeLossSetting_1 |
| | | { |
| | | #keys: '[415136.0.1033650295]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormChangeLossSetting/Component_listContextMenuChangeLossSetting.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuChangeLossSetting |
| | | Component listContextMenuChangeLossSetting id:listContextMenuChangeLossSetting_1 |
| | | { |
| | | #keys: '[415136.0.735611736]' |
| | | #keys: '[415136.0.1033650297]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuNew |
| | | { |
| | | #keys: '[415136.0.735612003]' |
| | | #keys: '[415136.0.1033650298]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | |
| | | } |
| | | Component MenuEdit |
| | | { |
| | | #keys: '[415136.0.735612046]' |
| | | #keys: '[415136.0.1033650299]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | |
| | | } |
| | | Component MenuDelete |
| | | { |
| | | #keys: '[415136.0.735612088]' |
| | | #keys: '[415136.0.1033650300]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListChangeLossSetting_568 |
| | | Response OnClick ( |
| | | structured[ChangeLossSetting] selection |
| | | ) id:Response_ListChangeLossSetting_568_MenuDelete_OnClick |
| | | { |
| | | #keys: '[415136.0.1033650291]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListChangeLossSetting_568/Responsedef_ListChangeLossSetting_568_WebMenu_OnClick |
| | | Initiator: 'MenuDelete' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | traverse( selection, Elements, e ){ |
| | | e.Delete(); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListChangeLossSetting_568 |
| | | Response OnClick ( |
| | | ChangeLossSetting selection |
| | | ) id:Response_ListChangeLossSetting_568_MenuEdit_OnClick |
| | | { |
| | | #keys: '[415136.0.1033650290]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListChangeLossSetting_568/Responsedef_ListChangeLossSetting_568_WebMenu_OnClick |
| | | Initiator: 'MenuEdit' |
| | | Precondition: |
| | | [* |
| | | return MacroPlan::HasMacroPlan( MacroPlan, feedback ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogCreateEditChangeoverLossSetting ); |
| | | dlg.Edit( selection ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListChangeLossSetting_568 |
| | | Response OnClick () id:Response_ListChangeLossSetting_568_MenuNew_OnClick |
| | | { |
| | | #keys: '[415136.0.1033650289]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListChangeLossSetting_568/Responsedef_ListChangeLossSetting_568_WebMenu_OnClick |
| | | Initiator: 'MenuNew' |
| | | Precondition: |
| | | [* |
| | | return MacroPlan::HasMacroPlan( MacroPlan, feedback ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogCreateEditChangeoverLossSetting ); |
| | | dlg.New( FormChangeoverLossSetting ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelHeader/ButtonHeader |
| | | Response OnClick () id:Response_PanelHeader_ButtonHeader_OnClick |
| | | { |
| | | #keys: '[415136.0.1033690473]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( MacroPlan ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // |
| | | binaryValue := ChangeLossSettingExcel::ExportTemplate( MacroPlan, true ); |
| | | |
| | | Application.Download( ChangeLossSettingExcel::GetDefalutName(), binaryValue.AsBinaryData() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelHeader/ButtonImport |
| | | Response OnClick () id:Response_PanelHeader_ButtonImport_OnClick |
| | | { |
| | | #keys: '[415136.0.1035340153]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | try { |
| | | uploadJsonString := Application.GetFile(); |
| | | if ( uploadJsonString <> "" ) { |
| | | uploadJson := JSON::Parse( uploadJsonString ); |
| | | Archive::VerifyTheFileName( uploadJson ); |
| | | |
| | | fileName := uploadJson.Get( "name" ).GetString(); |
| | | base64String := uploadJson.Get( "data" ).GetString(); |
| | | |
| | | webFileBinaryData := BinaryData::FromBase64EncodedString( base64String ).AsBinaryValue(); |
| | | |
| | | ChangeLossSettingExcel::Import( MacroPlan, webFileBinaryData ); |
| | | |
| | | WebMessageBox::Success( Translations::A_VWED_Success() ); |
| | | } |
| | | } onerror { |
| | | WebMessageBox::Error( e.GeneralInformation() ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormChangeoverLossSetting |
| | | { |
| | | #keys: '[415136.0.735611670]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: PanelHeader |
| | | #child: PanelList |
| | | ] |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR' |
| | | Title: 'Changeover loss setting' |
| | | ] |
| | | } |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'external[InterfaceDataset]' |
| | | DataType: 'InterfaceDataset' |
| | | FixedFilter: 'object.IsShow()' |
| | | Source: 'InterfaceDataset' |
| | | Taborder: 0 |
| | | Transformation: 'InterfaceLoginfo' |
| | |
| | | Taborder: 11 |
| | | ] |
| | | } |
| | | Component MenuThermalTrialRatio |
| | | Component MenuHotTestRatio |
| | | { |
| | | #keys: '[415136.0.761890786]' |
| | | BaseType: 'WebMenu' |
| | |
| | | [ |
| | | Image: 'OSZILLOGRAPH' |
| | | Taborder: 12 |
| | | Title: 'Thermal trial ratio' |
| | | Title: 'Hot test ratio' |
| | | ] |
| | | } |
| | | Component MenuSetUphillRouting |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormRoutings/Response_MacroPlanner_ListRoutings_MenuThermalTrialRatio_OnClick.def ÐÞ¸Ä |
| | |
| | | #parent: ListRoutings |
| | | Response OnClick ( |
| | | Routing selection |
| | | ) id:Response_ListRoutings_MenuThermalTrialRatio_OnClick |
| | | ) id:Response_MacroPlanner_ListRoutings_MenuHotTestRatio_OnClick |
| | | { |
| | | #keys: '[415136.0.761890849]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListRoutings/Responsedef_ListRoutings_WebMenu_OnClick |
| | | Initiator: 'MenuThermalTrialRatio' |
| | | Initiator: 'MenuHotTestRatio' |
| | | Precondition: |
| | | [* |
| | | return MacroPlan::HasMacroPlan( DataHolderActiveScenario.Data(), feedback ); |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogCreateEditThermalTrialRatio ); |
| | | dlg := construct( DialogCreateEditHotTestRatio ); |
| | | dlg.New( selection, FormRoutings ); |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | { |
| | | forms |
| | | { |
| | | form_FormChangeLossSetting |
| | | form_FormChangeoverLossSetting |
| | | { |
| | | title: 'QMacroPlanner::FormChangeLossSetting' |
| | | title: 'QMacroPlanner::FormChangeoverLossSetting' |
| | | shown: true |
| | | componentID: 'QMacroPlanner::FormChangeLossSetting' |
| | | componentID: 'QMacroPlanner::FormChangeoverLossSetting' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | |
| | | } |
| | | components |
| | | { |
| | | FormChangeLossSetting_ListChangeLossSetting |
| | | FormChangeoverLossSetting_PanelHeader |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormChangeoverLossSetting_PanelList |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormChangeoverLossSetting_ListChangeLossSetting |
| | | { |
| | | } |
| | | FormChangeLossSetting_DataSetLevelChangeLossSetting |
| | | FormChangeoverLossSetting_DataSetLevelChangeLossSetting |
| | | { |
| | | groupDepth: -1 |
| | | column_Unit_ID |