| | |
| | | { |
| | | DefaultText: 'ds-yunrong-gw.dmp.vwfawedl.mobi' |
| | | } |
| | | InfoMessage InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name |
| | | InfoMessage InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name |
| | | { |
| | | DefaultText: 'Assembly online plan - PPPS' |
| | | } |
| | |
| | | { |
| | | DefaultText: '/data-service/api/service/post-data/V1.101/f084aa52d19c48d090416936a94f1dab' |
| | | } |
| | | InfoMessage InterfaceDataset_InventoryPlanPPPSPush_Name |
| | | { |
| | | DefaultText: 'Plan inventory data' |
| | | } |
| | | InfoMessage InterfaceDataset_InventoryPlanPPPSPush_URL |
| | | { |
| | | DefaultText: '/api/plan-stock/saveList' |
| | | } |
| | | InfoMessage InterfaceDataset_InventoryReport_Name |
| | | { |
| | | DefaultText: 'Inventory report' |
| | |
| | | { |
| | | DefaultText: '/data-service/api/service/post-data/V1.101/2f6c42fe895c45bdb2e8e1ca8489b5a2' |
| | | } |
| | | InfoMessage InterfaceDataset_ProductionPlaningPPPSPush_Name |
| | | { |
| | | DefaultText: 'Production planning data' |
| | | } |
| | | InfoMessage InterfaceDataset_ProductionPlaningPPPSPush_URL |
| | | { |
| | | DefaultText: '/api/production-planning/saveList' |
| | | } |
| | | InfoMessage InterfaceDataset_SAP_Address |
| | | { |
| | | DefaultText: '10.120.76.86' |
| | | } |
| | | InfoMessage InterfaceDataset_ShiftPlanPPPSPush_Name |
| | | { |
| | | DefaultText: 'Shift plan data' |
| | | } |
| | | InfoMessage InterfaceDataset_ShiftPlanPPPSPush_URL |
| | | { |
| | | DefaultText: '/api/shift/saveList' |
| | | } |
| | | InfoMessage InterfaceDataset_ShippingActualData_Name |
| | | { |
| | | DefaultText: 'Shipping actual data' |
| | |
| | | TextBody: |
| | | [* |
| | | // 甄兰鸽 Aug-20-2024 (created) |
| | | loginfo := maxobject( interfaceDataset, InterfaceLoginfo, loginfo, loginfo.Name() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name(), loginfo.InterfaceDateTime() ); |
| | | loginfo := maxobject( interfaceDataset, InterfaceLoginfo, loginfo, loginfo.Name() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name(), loginfo.InterfaceDateTime() ); |
| | | if( not isnull( loginfo ) ){ |
| | | if( not loginfo.IsShow() ){ |
| | | loginfo.Delete(); |
| | |
| | | } |
| | | nowdate := DateTime::ActualTime(); |
| | | loginfo := interfaceDataset.InterfaceLoginfo( relnew, ExecuteUser := executor |
| | | , Name := Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name() |
| | | , Name := Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name() |
| | | , InterfaceDateTime := nowdate |
| | | , Message := '装配上线计划-PPPS传输至数据中台(包含排序)/SAP(不包含排序)' |
| | | , Last := true |
| | |
| | | |
| | | loginfo := interfaceDataset.InterfaceLoginfo( relnew, |
| | | ExecuteUser := executor, |
| | | Name := "Plan inventory data", |
| | | Name := Translations::InterfaceDataset_InventoryPlanPPPSPush_Name(), |
| | | InterfaceDateTime := DateTime::ActualTime(), |
| | | Message := "计划库存数据", |
| | | RequestBody := requestbody, |
| | |
| | | try{ |
| | | if( loginfo.Name() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){//客户需求 |
| | | httpinterface.URL( Translations::InterfaceDataset_CustomerDemandPPAIDS_URL() ); |
| | | } else if( loginfo.Name() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name() ){//装配上线计划 |
| | | } else if( loginfo.Name() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name() ){//装配上线计划 |
| | | httpinterface.URL( Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_URL() ); |
| | | } else if( loginfo.Name() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){//客户需求 |
| | | httpinterface.URL( Translations::InterfaceDataset_CustomerDemandPPAIDS_URL() ); |
| | | } else if( loginfo.Name() = Translations::InterfaceDataset_InventoryPlanPPPSPush_Name() ){//计划库存 |
| | | httpinterface.URL( Translations::InterfaceDataset_InventoryPlanPPPSPush_URL() ); |
| | | } else if( loginfo.Name() = Translations::InterfaceDataset_ShiftPlanPPPSPush_Name() ){//班次计划 |
| | | httpinterface.URL( Translations::InterfaceDataset_ShiftPlanPPPSPush_URL() ); |
| | | } else if( loginfo.Name() = Translations::InterfaceDataset_ProductionPlaningPPPSPush_Name() ){//生产排产计划 |
| | | httpinterface.URL( Translations::InterfaceDataset_ProductionPlaningPPPSPush_URL() ); |
| | | } |
| | | httpinterface.Call( loginfo.RequestBody() ); |
| | | result := httpinterface.Result(); |
| | |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogCustomerDemandPPAIDS ); |
| | | dlg.Title( Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name() ); |
| | | dlg.New( Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name() ); |
| | | dlg.Title( Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name() ); |
| | | dlg.New( Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | if( efInterfacename.Text() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){//客户需求 |
| | | CustomerDemandPPAIDS::GenerateData( InterfaceDataset, MacroPlan, currentuser ); |
| | | } |
| | | if( efInterfacename.Text() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPSPush_Name()){//装配上线 |
| | | if( efInterfacename.Text() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name()){//装配上线 |
| | | AssemblyOnlinePlanPPPSPush::GenerateData( InterfaceDataset, MacroPlan, currentuser ); |
| | | } |
| | | |