0117
Posted danjuly
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了0117相关的知识,希望对你有一定的参考价值。
use UFTData502874_000009;
select a.id as 商品编号
,a.code as 编号
,a.NAME as 商品名称
,a.productInfo as 品牌
,a.specification as 规格型号
,a.lowQuantity as 最低库存量
,c.baseQuantity as 库存量单位
,c.subQuantity as 库存量辅单位
from dbo.AA_Inventory a
left join (select idinventory,baseQuantity,subQuantity from ST_CurrentStock)c on c.idinventory=a.id
--left join dbo.ST_CurrentStock c on c.idinventory=a.id
--where a.lowQuantity is not null
--group by a.id,a.code,a.NAME,a.specification,a.lowQuantity
-- group by id,code,NAME,specification,lowQuantity
-- group by a.id,a.code,a.NAME,a.specification,a.lowQuantity
-- ST_CurrentStock -- 现存量表
-- select idinventory from dbo.ST_CurrentStock
select idinventory,pa.name
from dbo.Pu_PurchaseRequisition_b b
left join (select * from dbo.Pu_PurchaseRequisition)p on p.id=b.idPurchaseRequisitionDTO
left join (select * from dbo.AA_Partner )pa on pa.id=p.id;
select * from dbo.Pu_PurchaseRequisition p
left join (select * from dbo.AA_Partner )pa on pa.id=p.id;
-------------------------------------------------------
use UFTData502874_000009;
select * from dbo.AA_Partner where name like‘%公司%‘;
select * from dbo.AA_Partner where name like‘%凤祥%‘;
select * from dbo.AA_Partner where code=‘010003‘;
-- 类型为1 的是 供应商公司
select * from dbo.AA_Partner where idpartnerclass=‘1‘ order by code asc;
-- 公司编号 code 010001
-- 供应商的ID 等于 采购单的 idsuggpartner
select * from dbo.Pu_PurchaseRequisition
--insert into dbo.Pu_PurchaseRequisition
以上是关于0117的主要内容,如果未能解决你的问题,请参考以下文章
CS0117 - Xamarin 未检测到“资源”文件夹和文件
SetContentView(Resource.Layout.V2T) CS0117 错误“Resource.Layout”不包含“V2T”的定义