|
1
|
APP
|
固定值 |
billsource
|
单据来源 |
单据来源,固定传入APP |
|
2
|
consign_time|date
|
固定值 |
billdate
|
出库日期 |
出库日期,格式:2019-01-01 |
|
3
|
order_no
|
出库单号 |
billno
|
单据编号 |
单据编号 |
|
4
|
_findCollection find id from 3d4f16d0-c2c7-3b01-b395-1f498d3d38b8 where name=shop_name
|
关联查询函数 |
customerid_id
|
客户信息 |
客户信息 |
|
5
|
0
|
固定值 |
empid_id
|
业务员信息 |
业务员信息 |
|
6
|
cs_remark
|
客服备注 |
remark
|
单据备注 |
单据备注 |
|
7
|
|
固定值 |
contact_phone
|
联系信息-联系方式 |
联系信息-联系方式 |
|
8
|
0
|
固定值 |
contact_country_id
|
联系信息-国家ID |
联系信息-国家ID |
|
9
|
0
|
固定值 |
contact_province_id
|
联系信息-省ID |
联系信息-省ID |
|
10
|
0
|
固定值 |
contact_city_id
|
联系信息-市ID |
联系信息-市ID |
|
11
|
0
|
固定值 |
contact_district_id
|
联系信息-区ID |
联系信息-区ID |
|
12
|
details_list
|
货品列表节点 |
material_entity
|
商品分录 |
|
|
13
|
_findCollection find id from b36e2f56-3e1b-3d60-9748-c59ec4c9d95f where number=details_list.spec_no
|
关联查询函数 |
material_entity.materialid_id
|
商品 |
商品 |
|
14
|
_findCollection find id from dfb624bb-d6b8-33fc-a971-c3df53cf9288 where name=warehouse_name
|
关联查询函数 |
material_entity.stockid_id
|
仓库 |
仓库 |
|
15
|
details_list.goods_count
|
固定值 |
material_entity.qty
|
数量 |
数量 |
|
16
|
2
|
固定值 |
material_entity.unit_id
|
单位 |
单位(只能填商品关联的单位,来源于商品单位查询接口或商品详情中的baseunitid_id、fixunit1_id等) |
|
17
|
_function (details_list.total_amount+details_list.share_post)/details_list.goods_count
|
计算函数 |
material_entity.price
|
单价 |
单价(如果在“系统参数”的“基础资料参数”中勾选了“商品价格为含税单价”,则price指示含税单价) |
|
18
|
details_list.tax_rate
|
固定值 |
material_entity.cess
|
税率 |
税率(例:13%的税率填13) |
|
19
|
_function CASE WHEN details_list.sell_price>0 THEN 'false' ELSE 'true' END
|
计算函数 |
material_entity.is_free
|
是否赠品 |
是否赠品;true-是,false-否(默认) |
|
20
|
batch_no
|
固定值 |
material_entity.batchno
|
批次 |
批次;批次商品必填 |