|
1
|
XSCKD01_SYS
|
固定值 |
FBillTypeID
|
单据类型 |
|
|
2
|
io_id
|
io_id |
FBillNo
|
单据编号 |
|
|
3
|
io_date
|
固定值 |
FDate
|
日期 |
|
|
4
|
101
|
固定值 |
FSaleOrgId
|
销售组织 |
|
|
5
|
_findCollection find FNumber from 255f7565-c782-3985-9020-59aa6a647e61 where FName=shop_name
|
关联查询函数 |
FCustomerID
|
客户 |
|
|
6
|
order_staff_name
|
固定值 |
FSalesManID
|
销售员 |
|
|
7
|
|
固定值 |
FSaleDeptID
|
销售部门 |
|
|
8
|
100
|
固定值 |
FStockOrgId
|
发货组织 |
|
|
9
|
remark
|
固定值 |
FNote
|
备注 |
|
|
10
|
items
|
items |
FEntity
|
明细信息 |
|
|
11
|
items.sku_id
|
固定值 |
FEntity.FMaterialID
|
物料编码 |
|
|
12
|
items.qty
|
固定值 |
FEntity.FRealQty
|
实发数量 |
|
|
13
|
_function case _findCollection find FIsBatchManage from d36b5c74-bdf8-3bcb-a345-22dac34d52aa where FNumber=items.sku_id _endFind when true then 'items.batch_no' else '' end
|
关联查询函数 |
FEntity.FLot
|
批号 |
|
|
14
|
_function case _findCollection find FIsBatchManage from d36b5c74-bdf8-3bcb-a345-22dac34d52aa where FNumber=items.sku_id _endFind when true then 'items.product_date' else '' end
|
关联查询函数 |
FEntity.FProduceDate
|
生产日期 |
|
|
15
|
_function case _findCollection find FIsBatchManage from d36b5c74-bdf8-3bcb-a345-22dac34d52aa where FNumber=items.sku_id _endFind when true then 'items.expiration_date' else '' end
|
关联查询函数 |
FEntity.FEXPIRYDATE
|
有效期至 |
批次 |
|
16
|
|
固定值 |
FEntity.FPrice
|
单价 |
|
|
17
|
items.sale_price
|
固定值 |
FEntity.FTaxPrice
|
含税单价 |
|
|
18
|
|
固定值 |
FEntity.FEntryTaxRate
|
税率% |
|
|
19
|
BD_OwnerOrg
|
固定值 |
FEntity.FOwnerTypeId
|
货主类型 |
|
|
20
|
101
|
固定值 |
FEntity.FOwnerId
|
货主 |
|
|
21
|
_findCollection find name from e63fcb86-2968-3715-a33f-d36010737265 where wms_co_id=wms_co_id
|
关联查询函数 |
FEntity.FStockID
|
仓库 |
|
|
22
|
|
固定值 |
FEntity.FEntrynote
|
备注 |
|
|
23
|
_function case 'items.sale_price' when '0' then true else false end
|
计算函数 |
FEntity.FIsFree
|
是否赠品 |
|
|
24
|
so_id
|
so_id |
FEntity.F_PSEH_TEXT
|
网上订单号 |
|
|
25
|
|
固定值 |
SubHeadEntity
|
财务信息 |
|
|
26
|
101
|
固定值 |
SubHeadEntity.FSettleOrgID
|
结算组织 |
|
|
27
|
PRE001
|
固定值 |
SubHeadEntity.FSETTLECURRID
|
结算币别 |
|
|
28
|
free_amount
|
free_amount |
SubHeadEntity.FAllDisCount
|
整单折扣额 |
|