| | |
| | | #parent: #root |
| | | Method MappingOperationBOMDataRouting ( |
| | | Routing routing, |
| | | MappingBOMs routingRows |
| | | GlobalOTDTable globalOTDTable, |
| | | Global_MappingOperationBOMs routingRows |
| | | ) |
| | | { |
| | | TextBody: |
| | |
| | | rows := selectset( routingRows, Elements, row, row.ProcessSection() = processSection ); |
| | | firstRow := rows.Element( 0 ); |
| | | // 找orgCode/productId/processSection匹配且sequence最小的一组数据 |
| | | minSeq := MappingOperation::FindMinSeq( this, firstRow.OrganCode(), firstRow.ProductCode(), processSection ); |
| | | minSeq := Global_MappingOperation::FindMinSeq( globalOTDTable, firstRow.OrganCode(), firstRow.ProductCode(), processSection ); |
| | | routingStepId := processSection + "_" + [String]minSeq; |
| | | // 找对应routingStep |
| | | routingStep := RoutingStep::FindByName( routing, routingStepId ); |