/****** Object: StoredProcedure [dbo].[pro_bobang_ICItemQiTao] Script Date: 07/29/2015 16:12:10 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO alter PROC [dbo].[pro_bobang_ICItemQiTao] ), --bom单号 ) --bom单号 as begin set nocount on --1.--业务员查
SELECT * FROM OUT_MO_RES WHERE PEGGED_ID='001201271060'; --5000175080/160_1-MFG0011 SELECT * FROM V_OUT_MO; select * from V_OUT_MO_ITEM_1 out_mo_item left join sap_marc on substr(out_mo_item.loc_ID, 0, 4)=sap_marc.werks and out_mo_item.item=sap_marc.
PROCEDURE Get_wip_accept_item_date(p_use_id in number, p_org_id IN NUMBER, p_start_date IN DATE, p_end_date IN DATE) is cursor accept_cursor(p_org number, p_inventory_item_id number) is select wro.required_quantity, wro.quantity_issued, wro.quantity_
1.总账期间启用后无法修改.固定资产期间启用后无法修改 ----修改总账 ' where fcategory='GL' and Fkey='startyear' --修改启用期间 ' where fcategory='GL' and Fkey='startperiod' --修改当前年份 ' where fcategory='GL' and Fkey='CurrentYear' --修改当前期间 ' where fcategory='GL' and Fkey='CurrentPeriod' --
在后台数据库ICClassType表中,字段FID<0的是老单,FID>0的是新单.--事务类型select * from ICClassType where FTableName ='t_RP_NewReceiveBill' /*例如 收款单的事务类型为 */1000005 收款单1000014 预收单1000015 应收退款单 select * from t_TableDescription where FTableName ='t_RP_NewReceiveBi