你看一下二开界面新增一个事件,删除一条产线的occurances,标准功能里面还是有
| | |
| | | or loginfo.Name() = Translations::InterfaceDataset_FinishedEngineInventory_Name() ) ){ |
| | | //æºå åºå |
| | | traverse( loginfo, MachineStockData, inventory ){ |
| | | InventoryInterfaceData::Generate( interfaceDataset, inventory.DDay(), inventory.MaterialNo(), inventory.LineType(), [Number]inventory.Total() ); |
| | | inventoryname := inventory.Lgort(); |
| | | if( inventory.Fac() = 'DL' and inventory.Lgort() = 'All' ){ |
| | | inventoryname := inventory.LineType(); |
| | | } |
| | | InventoryInterfaceData::Generate( interfaceDataset, inventory.DDay(), inventory.MaterialNo(), inventoryname, [Number]inventory.Total() ); |
| | | } |
| | | //å卿ºæååºå |
| | | traverse( loginfo, FinishedEngineInventory, inventory ){ |
| | |
| | | } |
| | | } |
| | | if( not isnull( leadingeti ) ){ |
| | | subscription := selectobject( eti, Participation.Event.LeadingParticipation.Subscription, subscription, subscription.Calendar().CalendarID() = eti.Participation().Calendar().CalendarID() ); |
| | | if( subscription.ExplicitTimeInterval( relsize ) = 1 ){ |
| | | subscription.Delete(); |
| | | }else{ |
| | | eti.Delete(); |
| | | } |
| | | |
| | | } |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Lgort |
| | | { |
| | | #keys: '3[415136.0.951252825][415136.0.951252824][415136.0.951252826]' |
| | | Description: 'åºåç¹ï¼å½fac为DLä¸lgortå¼ä¸ºallåålinetypçå¼' |
| | | ValueType: String |
| | | } |
| | |
| | | all_total := guard( item.Get( "all_total").GetReal(), 0 ); |
| | | dday := guard( item.Get( "dday").GetString(),""); |
| | | line_type := guard( item.Get( "fac").GetString(),""); |
| | | lgort := guard( item.Get( "lgort").GetString(),""); |
| | | |
| | | msdata := owner.MachineStockData( relnew, MaterialNo := material_no |
| | | , MaterialName := material_name |
| | |
| | | , Total := total |
| | | , AllTotal := all_total |
| | | , DDay := cnv.Convert( dday ) |
| | | , LineType := line_type ); |
| | | , LineType := line_type |
| | | , Lgort := lgort ); |
| | | |
| | | return msdata; |
| | | *] |