Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg
|  |  |  | 
|---|
|  |  |  | product := tempProducts.Element( i ); | 
|---|
|  |  |  | productionQuantity := product.ProductionQuantity(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if( line.Tips().LikeUserLocale( "淇濆吇" ) and productionQuantity > 0){ | 
|---|
|  |  |  | product.DispatchShiftSchedulingDetail( relnew,ShiftVolume := 0 ,SingleShiftName := "鐧界彮"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //      if( line.Tips().LikeUserLocale( "淇濆吇" ) and productionQuantity > 0){ | 
|---|
|  |  |  | //        product.DispatchShiftSchedulingDetail( relnew,ShiftVolume := 0 ,SingleShiftName := "鐧界彮"); | 
|---|
|  |  |  | //      } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if( singleShiftVolume1 > 0 and productionQuantity > 0){ | 
|---|
|  |  |  | tempProductQuantity := singleShiftVolume1 - productionQuantity; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | iid1 := interfaceDataset.InventoryInterfaceData( relnew, Date := Date::Construct( 2020, 1, 28 ), PartNumber := "BLEU EV2 Sports" ); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | iid1.InventoryInterfaceDataDetail( relnew, Date := Date::Construct( 2020, 1, 28 ), PartNumber := "BLEU EV2 Sports", InventoryPoint := "PXSN", Quantity := 900 ); | 
|---|
|  |  |  | iid1.InventoryInterfaceDataDetail( relnew, Date := Date::Construct( 2020, 1, 28 ), PartNumber := "BLEU EV2 Sports", InventoryPoint := "LPLE", Quantity := 800 ); | 
|---|
|  |  |  | iid1.InventoryInterfaceDataDetail( relnew, Date := Date::Construct( 2020, 1, 28 ), PartNumber := "BLEU EV2 Sports", InventoryPoint := "3PLE", Quantity := 3100 ); | 
|---|
|  |  |  | iid1.InventoryInterfaceDataDetail( relnew, Date := Date::Construct( 2020, 1, 28 ), PartNumber := "BLEU EV2 Sports", InventoryPoint := "PXSN", Quantity := 900, Dtype := "APS" ); | 
|---|
|  |  |  | iid1.InventoryInterfaceDataDetail( relnew, Date := Date::Construct( 2020, 1, 28 ), PartNumber := "BLEU EV2 Sports", InventoryPoint := "LPLE", Quantity := 800, Dtype := "HTTP" ); | 
|---|
|  |  |  | iid1.InventoryInterfaceDataDetail( relnew, Date := Date::Construct( 2020, 1, 28 ), PartNumber := "BLEU EV2 Sports", InventoryPoint := "3PLE", Quantity := 3100, Dtype := "eee" ); | 
|---|
|  |  |  | *] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | BaseType: Object | 
|---|
|  |  |  | OnCreate: | 
|---|
|  |  |  | [* | 
|---|
|  |  |  | ips := select( this, InventoryInterfaceData.InterfaceDataset.InventoryPointSelection, tempIPS, tempIPS.ProductID() = this.PartNumber() and tempIPS.InventoryPoint() = this.InventoryPoint() and this.Fac() = tempIPS.Fac() ); | 
|---|
|  |  |  | ips := select( this, InventoryInterfaceData.InterfaceDataset.InventoryPointSelection, tempIPS, | 
|---|
|  |  |  | tempIPS.ProductID() = this.PartNumber() and | 
|---|
|  |  |  | tempIPS.InventoryPoint() = this.InventoryPoint() and | 
|---|
|  |  |  | this.Fac() = tempIPS.Fac() and | 
|---|
|  |  |  | this.Dtype() = tempIPS.Dtype() ); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if ( isnull( ips ) ) { | 
|---|
|  |  |  | ips := this.InventoryInterfaceData().InterfaceDataset().InventoryPointSelection( relnew, ProductID := this.PartNumber(), InventoryPoint := this.InventoryPoint(), Fac := this.Fac() ); | 
|---|
|  |  |  | ips := this.InventoryInterfaceData().InterfaceDataset().InventoryPointSelection( relnew, | 
|---|
|  |  |  | ProductID := this.PartNumber(), | 
|---|
|  |  |  | InventoryPoint := this.InventoryPoint(), | 
|---|
|  |  |  | Fac := this.Fac(), | 
|---|
|  |  |  | Dtype := this.Dtype() ); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | this.InventoryPointSelection( relset, ips ); | 
|---|
| 对比新文件 | 
|  |  |  | 
|---|
|  |  |  | Quintiq file version 2.0 | 
|---|
|  |  |  | #parent: #root | 
|---|
|  |  |  | Attribute Dtype | 
|---|
|  |  |  | { | 
|---|
|  |  |  | #keys: '3[416456.0.19351383][416456.0.19351382][416456.0.19351384]' | 
|---|
|  |  |  | ValueType: String | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | [ | 
|---|
|  |  |  | DisplayField: 'Name' | 
|---|
|  |  |  | Label: 'StockingPoint' | 
|---|
|  |  |  | Taborder: 3 | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | Component eDtype | 
|---|
|  |  |  | { | 
|---|
|  |  |  | #keys: '[416456.0.20811940]' | 
|---|
|  |  |  | BaseType: 'WebEditField' | 
|---|
|  |  |  | Properties: | 
|---|
|  |  |  | [ | 
|---|
|  |  |  | Enabled: false | 
|---|
|  |  |  | Label: 'Dtype' | 
|---|
|  |  |  | Taborder: 2 | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | efProductID.Text( dhInventoryPointSelection.Data().ProductID() ); | 
|---|
|  |  |  | efInventoryPoint.Text( dhInventoryPointSelection.Data().InventoryPoint() ); | 
|---|
|  |  |  | eDtype.Text( dhInventoryPointSelection.Data().Dtype() ); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | spmp := select( MacroPlan, StockingPoint_MP, tempSPMP, tempSPMP.ID() = inventoryPointSelection.StockpoingPoint() ); | 
|---|
|  |  |  | ddlStockingPoint.Data( spmp ); | 
|---|
|  |  |  | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | Properties: | 
|---|
|  |  |  | [ | 
|---|
|  |  |  | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ImgIsIncluded","title":"ImgIsIncluded","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ImgIsIncluded"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"InventoryPoint","title":"InventoryPoint","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"InventoryPoint"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockpoingPoint","title":"StockpoingPoint","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockpoingPoint"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Fac","title":"Fac","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Fac"}}]' | 
|---|
|  |  |  | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ImgIsIncluded","title":"ImgIsIncluded","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ImgIsIncluded"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"InventoryPoint","title":"InventoryPoint","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"InventoryPoint"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockpoingPoint","title":"StockpoingPoint","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockpoingPoint"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Fac","title":"Fac","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Fac"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Dtype","title":"Dtype","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Dtype"}}]' | 
|---|
|  |  |  | ContextMenu: 'listContextMenuInventoryPointSelection' | 
|---|
|  |  |  | Taborder: 2 | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | 
|---|
|  |  |  | dataType: 'string' | 
|---|
|  |  |  | index: 2 | 
|---|
|  |  |  | subtotals: '' | 
|---|
|  |  |  | width: 150 | 
|---|
|  |  |  | width: 114 | 
|---|
|  |  |  | } | 
|---|
|  |  |  | column_Dtype | 
|---|
|  |  |  | { | 
|---|
|  |  |  | columnId: 'Dtype' | 
|---|
|  |  |  | dataPath: 'Dtype' | 
|---|
|  |  |  | dataType: 'string' | 
|---|
|  |  |  | index: 3 | 
|---|
|  |  |  | subtotals: '' | 
|---|
|  |  |  | width: 81 | 
|---|
|  |  |  | } | 
|---|
|  |  |  | column_StockpoingPoint | 
|---|
|  |  |  | { | 
|---|
|  |  |  | columnId: 'StockpoingPoint' | 
|---|
|  |  |  | dataPath: 'StockpoingPoint' | 
|---|
|  |  |  | dataType: 'string' | 
|---|
|  |  |  | index: 3 | 
|---|
|  |  |  | index: 4 | 
|---|
|  |  |  | subtotals: '' | 
|---|
|  |  |  | width: 150 | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | columnId: 'Fac' | 
|---|
|  |  |  | dataPath: 'Fac' | 
|---|
|  |  |  | dataType: 'string' | 
|---|
|  |  |  | index: 4 | 
|---|
|  |  |  | index: 5 | 
|---|
|  |  |  | subtotals: '' | 
|---|
|  |  |  | width: 89 | 
|---|
|  |  |  | } | 
|---|