¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation DispatchShiftSchedulingInformation_RecycleBin_RecycleBin_DispatchShiftSchedulingInformation |
| | | { |
| | | #keys: '1[414996.1.67010175]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide RecycleBin |
| | | { |
| | | #keys: '3[414996.1.67010177][414996.1.67010176][414996.1.67010178]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: DispatchShiftSchedulingInformation |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide DispatchShiftSchedulingInformation |
| | | { |
| | | #keys: '3[414996.1.67010180][414996.1.67010179][414996.1.67010181]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: RecycleBin |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
| | |
| | | TextBody: |
| | | [* |
| | | // rislai Jul-23-2024 (created) |
| | | date := Date::ActualDate(); |
| | | date := Date::ActualDate() - 1; |
| | | loginfo := interfaceDataset.InterfaceLoginfo( relnew, ExecuteUser := QuintiqUser::CurrentUser().ShortName() |
| | | , Name := Translations::InterfaceDataset_ActualDailyProductionData_Name() |
| | | , InterfaceDateTime := DateTime::ActualTime() |
| | |
| | | } |
| | | |
| | | traverse ( archiveExecutionStatus, TemporaryDemandData, tdd ,tdd.Origin() = "" or tdd.StartDate() >= macroPlan.StartOfPlanning().Date()) { |
| | | targetProduct_MP := select( macroPlan, Product_MP, tempPMP, tempPMP.ID() = tdd.ProductID() ); |
| | | targetProduct_MP := select( macroPlan, Product_MP, tempPMP, tempPMP.Notes() = tdd.ProductID() ); |
| | | // 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() ); |
| | | if ( not isnull( targetProduct_MP ) and not isnull( targetStockingPoint_MP ) ) { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Fac |
| | | { |
| | | #keys: '3[414996.1.67010086][414996.1.67010085][414996.1.67010087]' |
| | | Description: 'å·¥åç®å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute FactoryName |
| | | { |
| | | #keys: '3[414996.1.67010074][414996.1.67010073][414996.1.67010075]' |
| | | Description: 'å·¥ååç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ID |
| | | { |
| | | #keys: '3[414996.1.67010089][414996.1.67010088][414996.1.67010090]' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute InterfaceTime |
| | | { |
| | | #keys: '3[414996.1.67010077][414996.1.67010076][414996.1.67010078]' |
| | | Description: 'ä¸åæ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Product |
| | | { |
| | | #keys: '3[414996.1.67010096][414996.1.67010095][414996.1.67010097]' |
| | | Description: 'ç©æå·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductLine |
| | | { |
| | | #keys: '3[414996.1.67010068][414996.1.67010067][414996.1.67010069]' |
| | | Description: '产线' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ShiftDate |
| | | { |
| | | #keys: '3[414996.1.67010092][414996.1.67010091][414996.1.67010093]' |
| | | Description: 'çæ¬¡æ¥æ' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ShiftEndDate |
| | | { |
| | | #keys: '3[414996.1.67010149][414996.1.67010148][414996.1.67010150]' |
| | | Description: 'çæ¬¡çç»ææ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ShiftName |
| | | { |
| | | #keys: '3[414996.1.67010106][414996.1.67010105][414996.1.67010107]' |
| | | Description: 'çæ¬¡åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ShiftStartDate |
| | | { |
| | | #keys: '3[414996.1.67010139][414996.1.67010138][414996.1.67010140]' |
| | | Description: 'çæ¬¡èµ·å§æ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ShiftVolume |
| | | { |
| | | #keys: '3[414996.1.67010126][414996.1.67010125][414996.1.67010127]' |
| | | Description: 'åçæ¬¡äº§é' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SingleShiftName |
| | | { |
| | | #keys: '3[414996.1.67010116][414996.1.67010115][414996.1.67010117]' |
| | | Description: 'åçæ¬¡åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Tips |
| | | { |
| | | #keys: '3[414996.1.67010083][414996.1.67010082][414996.1.67010084]' |
| | | Description: '夿³¨' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionFlag |
| | | { |
| | | #keys: '3[414996.1.67010071][414996.1.67010070][414996.1.67010072]' |
| | | Description: 'çæ¬æ è¯' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionName |
| | | { |
| | | #keys: '3[414996.1.67010080][414996.1.67010079][414996.1.67010081]' |
| | | 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: ID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ProductLine |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Tips |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: VersionFlag |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: VersionName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Function CalcFac |
| | | { |
| | | TextBody: |
| | | [* |
| | | // Akari Aug-21-2024 (created) |
| | | value := ""; |
| | | if( this.FactoryName() = "大è¿å·¥å" ){ |
| | | value := "DL"; |
| | | }else if( this.FactoryName() = "é¿æ¥å·¥å"){ |
| | | value := "CC"; |
| | | } |
| | | |
| | | this.Fac( value ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Dispatch |
| | | { |
| | | TextBody: |
| | | [* |
| | | // Akari Sep-4-2024 (created) |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | TypeIndex IDTypeIndex |
| | | { |
| | | Attributes: |
| | | [ |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: ID |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type DispatchShiftSchedulingInformation |
| | | { |
| | | #keys: '5[414996.1.67010064][414996.1.67010062][0.0.0][414996.1.67010063][414996.1.67010065]' |
| | | BaseType: Object |
| | | Description: 'ä¸åçæ¬¡æäº§ä¿¡æ¯' |
| | | StructuredName: 'DispatchShiftSchedulingInformations' |
| | | } |