()
| 2958 | return selection.length; |
| 2959 | } |
| 2960 | function getPKFromSelection() { |
| 2961 | const selection = _tableObject.getSelection(); |
| 2962 | if (selection.length === 0) { |
| 2963 | return null; |
| 2964 | } |
| 2965 | return { |
| 2966 | jobId: Number(selection[0].jpos_jobid), |
| 2967 | headerType: Number(selection[0].jpos_headertype), |
| 2968 | listPosNos: selection.map(obj => Number(obj.jpos_posno)), |
| 2969 | subPosNo: Number(selection[0].jpos_subposno) |
| 2970 | }; |
| 2971 | } |
| 2972 | function _showParentTable(forceReload = true) { |
| 2973 | $(".form_wrapper").removeClass("serviceslist"); |
| 2974 | if (forceReload) { |
no outgoing calls
no test coverage detected