|
@@ -43,7 +43,7 @@
|
|
|
WMSH_GRID_MATERIAL wgm
|
|
|
) wgm
|
|
|
WHERE
|
|
|
- rn = 1)) wgm on wgm.batch_id=DBI2.BATCH_INFACOTRY_ID
|
|
|
+ rn = 1)) wgm on wgm.batch_id = DB.BATCH_ID
|
|
|
left join TMSSHIP_LOAD_SHIP_RESULT tlsr on DBI2.BATCH_INFACOTRY_ID=tlsr.batch_id
|
|
|
left join tmsship_total_result ttr on ttr.result_id=tlsr.TOTAL_RESULT_ID
|
|
|
left join omsship_instructions_capacity oic on ttr.order_id=oic.instructions_capacity_id
|