|
@@ -187,7 +187,7 @@
|
|
|
LEFT JOIN UFDATA_903_2021.dbo.ComputationUnit d ON d.cComunitCode= c.cComUnitCode
|
|
|
LEFT JOIN UFDATA_903_2021.dbo.SO_SODetails_extradefine be ON be.iSOsID= s.iSOsID
|
|
|
WHERE
|
|
|
- sm.csocode=#{sy.orderNumber} and sd.iRowNo=#{sy.iRowNo}
|
|
|
+ sm.csocode=#{sy.orderNumber} and s.iRowNo=#{sy.iRowNo}
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
@@ -210,7 +210,7 @@
|
|
|
om.cVenCode as supplierCode,od.iTaxPrice,'903' as ompoAccount
|
|
|
FROM OM_MOMain om
|
|
|
LEFT JOIN OM_MODetails od on om.MOID=od.MOID
|
|
|
- LEFT JOIN Vendor v on om.supplierCode=v.cVenCode
|
|
|
+ LEFT JOIN Vendor v on om.cVenCode=v.cVenCode
|
|
|
where om.iVerifyStateNew = 2 and (om.cCloser is null or om.cCloser='asuser')
|
|
|
and om.cCode=#{sy.cCode} and od.iVouchRowNo=#{sy.iVouchRowNo}
|
|
|
</select>
|