_Main/BL/InfoMessages.qbl
@@ -102,6 +102,10 @@ { DefaultText: 'ds-yunrong-gw.dmp.vwfawedl.mobi' } InfoMessage InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name { DefaultText: 'Assembly online plan - PPPS' } InfoMessage InterfaceDataset_ContentType { DefaultText: 'application/json' _Main/BL/Relations/Relation_AssemblyOnlinePlanPPPSPush_InterfaceDataset_InterfaceDataset_Assemb.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,23 @@ 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' } } _Main/BL/Relations/Relation_AssemblyOnlinePlanPPPSPush_InterfaceLoginfo_InterfaceLoginfo_Assemb.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,23 @@ 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' } } _Main/BL/Type_AssemblyOnlinePlanPush/Attribute_Fac.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,8 @@ Quintiq file version 2.0 #parent: #root Attribute Fac { #keys: '3[415136.0.1029932754][415136.0.1029932753][415136.0.1029932755]' Description: 'å·¥åç®å' ValueType: String } _Main/BL/Type_AssemblyOnlinePlanPush/Attribute_FactoryName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,8 @@ Quintiq file version 2.0 #parent: #root Attribute FactoryName { #keys: '3[415136.0.1029932760][415136.0.1029932759][415136.0.1029932761]' Description: 'å·¥ååç§°' ValueType: String } _Main/BL/Type_AssemblyOnlinePlanPush/Attribute_InterfaceTime.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,8 @@ Quintiq file version 2.0 #parent: #root Attribute InterfaceTime { #keys: '3[415136.0.1029932757][415136.0.1029932756][415136.0.1029932758]' Description: 'æ¥å£æ¶é´' ValueType: DateTime } _Main/BL/Type_AssemblyOnlinePlanPush/Attribute_PlanningDate.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,8 @@ Quintiq file version 2.0 #parent: #root Attribute PlanningDate { #keys: '3[415136.0.1029932714][415136.0.1029932713][415136.0.1029932715]' Description: 'è®¡åæ¥æ' ValueType: Date } _Main/BL/Type_AssemblyOnlinePlanPush/Attribute_PlanningQty.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,8 @@ Quintiq file version 2.0 #parent: #root Attribute PlanningQty { #keys: '3[415136.0.1029932727][415136.0.1029932726][415136.0.1029932728]' Description: 'å¯¹åºæ¥æçä¸çº¿è®¡åæ°é' ValueType: Number } _Main/BL/Type_AssemblyOnlinePlanPush/Attribute_Product.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,8 @@ Quintiq file version 2.0 #parent: #root Attribute Product { #keys: '3[415136.0.1029932704][415136.0.1029932703][415136.0.1029932705]' Description: 'ç©æå·' ValueType: String } _Main/BL/Type_AssemblyOnlinePlanPush/Attribute_Sequence.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,8 @@ Quintiq file version 2.0 #parent: #root Attribute Sequence { #keys: '3[415136.0.1029932737][415136.0.1029932736][415136.0.1029932738]' Description: 'å¯¹åºæ¥æçä¸çº¿é¡ºåº' ValueType: String } _Main/BL/Type_AssemblyOnlinePlanPush/Attribute_VersionFlag.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,8 @@ Quintiq file version 2.0 #parent: #root Attribute VersionFlag { #keys: '3[415136.0.1029932747][415136.0.1029932746][415136.0.1029932748]' Description: 'çæ¬æ è¯' ValueType: Boolean } _Main/BL/Type_AssemblyOnlinePlanPush/Attribute_VersionName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,8 @@ Quintiq file version 2.0 #parent: #root Attribute VersionName { #keys: '3[415136.0.1029932750][415136.0.1029932749][415136.0.1029932751]' Description: 'çæ¬åç§°' ValueType: String } _Main/BL/Type_AssemblyOnlinePlanPush/DefaultValue_Fac.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Fac } _Main/BL/Type_AssemblyOnlinePlanPush/DefaultValue_FactoryName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: FactoryName } _Main/BL/Type_AssemblyOnlinePlanPush/DefaultValue_VersionName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: VersionName } _Main/BL/Type_AssemblyOnlinePlanPush/StaticMethod_GenerateData.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,47 @@ 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, AssemblyOnlinePlanRow.AssemblyOnlinePlanCell, cell ){ // cd :=interfaceDataset.AssemblyOnlinePlanPPPSPush( relnew, Product := forecast.ProductID() // , PlanningDate := forecast.StartDate() // , DemandQty := [Number]forecast.Quantity() // , VersionName := macroplan.ScenarioName() // , InterfaceTime := nowdate // , VersionFlag := versionflag // ); // loginfo.CustomerDemandPPAIDS( relinsert, cd ); //} loginfo.TotalRow( loginfo.AssemblyOnlinePlanPPPSPush( relsize ) ); *] } _Main/BL/Type_AssemblyOnlinePlanPush/_ROOT_Type_AssemblyOnlinePlanPPPSPush.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,10 @@ 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' } _Main/BL/Type_CustomerDemandPPAIDS/StaticMethod_GenerateData.qbl
@@ -24,7 +24,7 @@ nowdate := DateTime::ActualTime(); loginfo := interfaceDataset.InterfaceLoginfo( relnew, ExecuteUser := executor , Name := Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() , InterfaceDateTime := DateTime::ActualTime() , InterfaceDateTime := nowdate , Message := '客æ·éæ±ï¼PPA+IDSï¼æ°æ®æ¨é' , IsShow := false , Last := true