webapi采购入库单json原创
金蝶云社区-碎
7人赞赏了该文章 2,222次浏览 未经作者许可,禁止转载编辑于2020年06月29日 14:47:01

标准采购入库单json:

{

    "Model": {

        "FBillTypeID": {

            "FNUMBER": "RKD01_SYS"

        },

        "FDate": "2020-06-29",

        "FStockOrgId": {

            "FNumber": "103"

        },

        "FPurchaseOrgId": {

            "FNumber": "103"

        },

        "FSupplierId": {

            "FNumber": "VEN00001"

        },

        "FOwnerTypeIdHead": "BD_OwnerOrg",

        "FOwnerIdHead": {

            "FNumber": "103"

        },

        "FInStockFin": {

            "FSettleOrgId": {

                "FNumber": "103"

            },

            "FSettleCurrId": {

                "FNumber": "PRE001"

            },

            "FPriceTimePoint": "1"

        },

        "FInStockEntry": [

            {

                "FMaterialId": {

                    "FNumber": "1.01"

                },

                "FUnitID": {

                    "FNumber": "Pcs"

                },

                "FRealQty": 10.0,

                "FPriceUnitID": {

                    "FNumber": "Pcs"

                },

                "FLot": {

                    "FNumber": "s20200629004"

                },

                "FStockId": {

                    "FNumber": "CK001"

                },

                "FOWNERTYPEID": "BD_OwnerOrg",

                "FRemainInStockUnitId": {

                    "FNumber": "Pcs"

                },

                "FOWNERID": {

                    "FNumber": "103"

                },

                "FSRCBILLTYPEID":"PUR_ReceiveBill",

                "FSRCBillNo":"CGSL000026",

                "FPOOrderNo":"CGDD000029",

                "FSerialSubEntity": [

                    {

                        "FSerialNo": "s20200629011"

                    },

                    {

                        "FSerialNo": "s20200629012"

                    },

                    {

                        "FSerialNo": "s20200629013"

                    },

                    {

                        "FSerialNo": "s20200629014"

                    },

                    {

                        "FSerialNo": "s20200629015"

                    },

                    {

                        "FSerialNo": "s20200629016"

                    },

                    {

                        "FSerialNo": "s20200629017"

                    },

                    {

                        "FSerialNo": "s20200629018"

                    },

                    {

                        "FSerialNo": "s20200629019"

                    },

                    {

                        "FSerialNo": "s20200629020"

                    }

                ],

                "FInStockEntry_Link": [

                    {

                        "FInStockEntry_Link_FRuleId": "PUR_ReceiveBill-STK_InStock",

                        "FInStockEntry_Link_FSTableName": "T_PUR_ReceiveEntry",

                        "FInStockEntry_Link_FSBillId": 100031,

                        "FInStockEntry_Link_FSId": 100042,

                        "FInStockEntry_Link_FBaseUnitQty": 10.0,

                        "FInStockEntry_Link_FBaseUnitQtyOld": 10.0,

                        "FInStockEntry_Link_FRemainInStockBaseQty": 10.0,

                        "FInStockEntry_Link_FRemainInStockBaseQtyOld": 10.0

                    }]

            }

        ]

    }

}

 

字段说明:

字段名

中文

说明

必填

类型

FBillTypeID

单据类型

默认:RKD01_SYS

Y

字符串

FDate

日期

YYYY-MM-DD

Y

字符串

FStockOrgId

收料组织

组织编码

Y

字符串

FPurchaseOrgId

采购组织

组织编码

Y

字符串

FSupplierId

供应商

供应商编码

Y

字符串

FOwnerTypeIdHead

货主类型

默认:BD_OwnerOrg

Y

字符串

FOwnerIdHead

货主

组织编码

Y

字符串

FSettleOrgId

结算组织

组织编码

Y

字符串

FSettleCurrId

结算币别

默认:PRE001

Y

字符串

FPriceTimePoint

定价时点

默认:1

Y

字符串






FMaterialId

物料

物料编码

Y

字符串

FUnitID

库存单位

单位编码

Y

字符串

FRealQty

实收数量

入库数量

Y

小数

FPriceUnitID

计价单位

单位编码

Y

字符串

FLot

批号

批号编码

N

字符串

FStockId

仓库

仓库编码

Y

字符串

FOWNERTYPEID

货主类型

默认:BD_OwnerOrg

Y

字符串

FRemainInStockUnitId

采购单位

单位编码

Y

字符串

FOWNERID

货主

组织编码

Y

字符串

FSRCBILLTYPEID

源单类型

默认:PUR_ReceiveBill

Y

字符串

FSRCBillNo

源单编号

收料通知单号

Y

字符串

FPOOrderNo

订单单号

采购订单号

Y

字符串

FSerialNo

序列号

序列号

N

字符串






FInStockEntry_Link_FRuleId

转换规则

默认:PUR_ReceiveBill-STK_InStock

Y

字符串

FInStockEntry_Link_FSTableName

源单表名

默认:T_PUR_ReceiveEntry

Y

字符串

FInStockEntry_Link_FSBillId

源单内码

收料通知单内码

Y

整数

FInStockEntry_Link_FSId

源单分录内码

收料通知单分录内码

Y

整数

FInStockEntry_Link_FBaseUnitQty

修改携带量

实收数量

Y

小数

FInStockEntry_Link_FBaseUnitQtyOld

原始携带量

还可入库数量

Y

小数

FInStockEntry_Link_FRemainInStockBaseQty

修改携带量

实收数量

Y

小数

FInStockEntry_Link_FRemainInStockBaseQtyOld

原始携带量

还可入库数量

Y

小数


图标赞 7
7人点赞
还没有人点赞,快来当第一个点赞的人吧!
图标打赏
0人打赏
还没有人打赏,快来当第一个打赏的人吧!