xiaoding721
2024-09-05 53766fff74696ed21adb9807f41398ba55a2a7df
添加班次计划及班次详情下发
已添加27个文件
已修改2个文件
238 ■■■■■ 文件已修改
_Main/BL/Relations/Relation_DispatchShiftSchedulingInformation_RecycleBin_RecycleBin_DispatchSh.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ActualDailyProductionReport/StaticMethod_Synchronize.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_Fac.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_FactoryName.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ID.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_InterfaceTime.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_Product.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ProductLine.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ShiftDate.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ShiftEndDate.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ShiftName.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ShiftStartDate.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ShiftVolume.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_SingleShiftName.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_Tips.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_VersionFlag.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_VersionName.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_Fac.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_FactoryName.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_ID.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_ProductLine.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_Tips.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_VersionFlag.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_VersionName.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Function_CalcFac.qbl 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/TypeIndex_IDTypeIndex.qbl 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/_ROOT_Type_DispatchShiftSchedulingInformation.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_DispatchShiftSchedulingInformation_RecycleBin_RecycleBin_DispatchSh.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
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'
  }
}
_Main/BL/Type_ActualDailyProductionReport/StaticMethod_Synchronize.qbl
@@ -8,7 +8,7 @@
  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()
_Main/BL/Type_Archive/StaticMethod_GenerateForecast.qbl
@@ -12,7 +12,8 @@
    }
    
    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 ) ) {
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_Fac.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute Fac
{
  #keys: '3[414996.1.67010086][414996.1.67010085][414996.1.67010087]'
  Description: '工厂简写'
  ValueType: String
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_FactoryName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute FactoryName
{
  #keys: '3[414996.1.67010074][414996.1.67010073][414996.1.67010075]'
  Description: '工厂名称'
  ValueType: String
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ID
{
  #keys: '3[414996.1.67010089][414996.1.67010088][414996.1.67010090]'
  IsReadOnly: true
  ValueType: String
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_InterfaceTime.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute InterfaceTime
{
  #keys: '3[414996.1.67010077][414996.1.67010076][414996.1.67010078]'
  Description: '下发时间'
  ValueType: DateTime
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_Product.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute Product
{
  #keys: '3[414996.1.67010096][414996.1.67010095][414996.1.67010097]'
  Description: '物料号'
  ValueType: String
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ProductLine.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProductLine
{
  #keys: '3[414996.1.67010068][414996.1.67010067][414996.1.67010069]'
  Description: '产线'
  ValueType: String
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ShiftDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ShiftDate
{
  #keys: '3[414996.1.67010092][414996.1.67010091][414996.1.67010093]'
  Description: '班次日期'
  ValueType: Date
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ShiftEndDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ShiftEndDate
{
  #keys: '3[414996.1.67010149][414996.1.67010148][414996.1.67010150]'
  Description: '班次的结束时间'
  ValueType: DateTime
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ShiftName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ShiftName
{
  #keys: '3[414996.1.67010106][414996.1.67010105][414996.1.67010107]'
  Description: '班次名称'
  ValueType: String
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ShiftStartDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ShiftStartDate
{
  #keys: '3[414996.1.67010139][414996.1.67010138][414996.1.67010140]'
  Description: '班次起始时间'
  ValueType: DateTime
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_ShiftVolume.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ShiftVolume
{
  #keys: '3[414996.1.67010126][414996.1.67010125][414996.1.67010127]'
  Description: '单班次产量'
  ValueType: Real
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_SingleShiftName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SingleShiftName
{
  #keys: '3[414996.1.67010116][414996.1.67010115][414996.1.67010117]'
  Description: '单班次名称'
  ValueType: String
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_Tips.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute Tips
{
  #keys: '3[414996.1.67010083][414996.1.67010082][414996.1.67010084]'
  Description: '备注'
  ValueType: String
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_VersionFlag.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute VersionFlag
{
  #keys: '3[414996.1.67010071][414996.1.67010070][414996.1.67010072]'
  Description: '版本标识'
  ValueType: String
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_VersionName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute VersionName
{
  #keys: '3[414996.1.67010080][414996.1.67010079][414996.1.67010081]'
  Description: '版本名称'
  ValueType: String
}
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_Fac.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: Fac
}
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_FactoryName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: FactoryName
}
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_ID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: ID
}
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_ProductLine.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: ProductLine
}
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_Tips.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: Tips
}
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_VersionFlag.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: VersionFlag
}
_Main/BL/Type_DispatchShiftSchedulingInformation/DefaultValue_VersionName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: VersionName
}
_Main/BL/Type_DispatchShiftSchedulingInformation/Function_CalcFac.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
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 );
  *]
}
_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Dispatch
{
  TextBody:
  [*
    // Akari Sep-4-2024 (created)
  *]
}
_Main/BL/Type_DispatchShiftSchedulingInformation/TypeIndex_IDTypeIndex.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,12 @@
Quintiq file version 2.0
#parent: #root
TypeIndex IDTypeIndex
{
  Attributes:
  [
    TypeIndexAttribute
    {
      ModelElement: ID
    }
  ]
}
_Main/BL/Type_DispatchShiftSchedulingInformation/_ROOT_Type_DispatchShiftSchedulingInformation.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
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'
}