在訂單產生DELIVERY ID時經常出現
Error: The action can not be performed because the selected records could not be locked?
經查是個別CHAR欄位後面帶了空格.用下面方式處理即可.
update wsh_delivery_details
set shipping_instructions = rtrim(shipping_instructions)
where length(shipping_instructions) < >length(rtrim(shipping_instructions))
and organization_id=1041;
update oe_order_lines_all set shipping_instructions = rtrim(shipping_instructions)
where length(shipping_instructions) < >length(rtrim(shipping_instructions))
and org_id=1041;
commit;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/92289/viewspace-1712155/
,如需转载,请注明出处,否则将追究法律责任。