|
|

楼主 |
发表于 2012/7/12 15:23:58
|
显示全部楼层
问题已解决:更新两个状态 AP即可正常做匹配
--更新采购单po_lines_all表的状态
select a.po_header_id
,a.last_update_date
,a.last_updated_by
,a.last_update_login
,a.closed_code --OPEN
,a.closed_date --null
,a.closed_reason --null
,a.closed_by --null
from po_lines_all a
where a.po_header_id='35331'
-------------------------------------------------------
更新采购单po_line_locations_all表的状态
select b.last_update_date
,b.closed_code --CLOSED FOR RECEIVING
,b.closed_reason --null
,b.closed_date --null
,b.closed_by --null
,b.shipment_closed_date --null
,b.closed_for_invoice_date --null
from po_line_locations_all b
where b.po_header_id='35331' |
|