| | |
| | | #parent: #root |
| | | Method GetRow ( |
| | | String salessegment, |
| | | String product |
| | | Product_MP product |
| | | ) as FinancialSalesRow |
| | | { |
| | | TextBody: |
| | | [* |
| | | // 甄兰鸽 Jun-28-2024 (created) |
| | | row := selectobject( this, FinancialSalesRow, row, row.Name() = product and row.Unit() = salessegment ); |
| | | row := selectobject( this, FinancialSalesRow, row, row.Name() = product.ID() and row.Unit() = salessegment ); |
| | | |
| | | if( isnull( row ) ){ |
| | | row := this.FinancialSalesRow( relnew, Name := product, Unit := salessegment ); |
| | | row := this.FinancialSalesRow( relnew, Name := product.ID(), Unit := salessegment ); |
| | | row.Product_MP( relset, product ); |
| | | //初始化单元格 |
| | | row.InitializeCell( this ); |
| | | row.InitializeCell( this, product ); |
| | | } |
| | | |
| | | return row; |