求解:用api保存分步式调入单该怎么构建关联信息?
490次浏览
编辑于2017年03月17日 16:54:49
环境:K/3 Cloud 6.1
Api保存时获取的Json如下:
{"format":1,"useragent":"ApiClient","rid":"{F7978A70-E363-A64A-FD19-60FB26E3F0A5}","parameters":["STK_TRANSFERIN",{"Model":{"FBillTypeID":{"FNumber":"FBDR01_SYS"},"FDate":"2017-03-13T11:47:32Z","FStockOrgID":{"FNumber":"101"},"FStockOutOrgID":{"FNumber":"101"},"FTransferMode":"Direct","FTransferDirect":"General","FOwnerTypeIdHead":"BD_OwnerOrg","FOwnerIdHead":{"FNumber":"101"},"FOwnerTypeOutIdHead":"BD_OwnerOrg","FOwnerOutIdHead":{"FNumber":"101"},"FVESTONWAY":"B","FBizType":"NORMAL","FSTKTRSINENTRY":[{"FMaterialID":{"FNumber":"1000001"},"FSrcMaterialId":{"FNumber":"1000001"},"FPlanTransferQty":3,"FQty":3,"FPathLossQty":0,"FUnitID":{"FNumber":"Pcs"},"FSrcStockID":{"FNumber":"CK001"},"FDestStockID":{"FNumber":"CK002"},"FKeeperTypeOutID":"BD_KeeperOrg","FKeeperOutID":{"FNumber":"101"},"FKeeperTypeID":"BD_KeeperOrg","FKeeperID":{"FNumber":"101"},"FOwnerTypeID":"BD_OwnerOrg","FOwnerID":{"FNumber":"101"},"FSrcStockStatusID":{"FNumber":"KCZT01_SYS"},"FDestStockStatusID":{"FNumber":"KCZT05_SYS"},"FSrcBillType":"STK_TRANSFEROUT","FSRCBILLNAME":{"FNumber":"FBDC01_SYS"},"FSrcBillNo":"FBDC000018","FSTKTSTKRANSFERINENTRY_Link":{"FSTKTSTKRANSFERINENTRY_Link_FFlowId":"","FSTKTSTKRANSFERINENTRY_Link_FFlowLineId":"","FSTKTSTKRANSFERINENTRY_Link_FRuleId":"STK_TRANSFEROUT-STK_TRANSFERIN","FSTKTSTKRANSFERINENTRY_Link_FSTableName":"T_STK_STKTRANSFEROUTENTRY","FSTKTSTKRANSFERINENTRY_Link_FSBillId":"100030","FSTKTSTKRANSFERINENTRY_Link_FSId":"100043","FSTKTSTKRANSFERINENTRY_Link_FBASEJOINQTY":1,"FSTKTSTKRANSFERINENTRY_Link_FRECEIVEQTY":0,"FSTKTSTKRANSFERINENTRY_Link_FBASEOUTJOINQTY":1,"FSTKTSTKRANSFERINENTRY_Link_FOUTJOINQTY":1,"FSTKTSTKRANSFERINENTRY_Link_FSECJOINQTY":0,"FSTKTSTKRANSFERINENTRY_Link_FSECOUTJOINQTY":1,"FSTKTSTKRANSFERINENTRY_Link_FSALBASEJOINQTY":0,"FSTKTSTKRANSFERINENTRY_Link_FSALBASEOUTJOINQTY":1},"FSrcBillDate":"2017-03-13T11:47:32Z"}]}}],"timestamp":"2017-03-17","v":"1.0"}
推荐阅读