和 OA 对接为什么那么烦

2022-03-30 09:41:17 +08:00
 Renco

OA 提供标准流程请求文档,请求后返回错误码,文档上找到错误码的翻译,说是字段错误,然后联系 OA 方问是哪个字段错了,能否提供具体的错误信息 。

OA 回复:这个您直接根据我们提供的表单字段 copy 一下就行了,和其他客户对接的时候这些都不是什么问题。

。。。一个表单三四十个字段,部分接口还用的 xml 请求。难道只能这边一个个去查字段??

5535 次点击
所在节点    程序员
31 条回复
EIJAM
2022-03-30 12:51:25 +08:00
OA 的用户不是大众,而是公司里的这个总那个总,还有总下面的这个办那个办(没错,一般员工是被无视的)。
一切都是领导拍脑袋,这个领导向东那个领导向西,产品敢得罪哪个领导?于是设计出来的东西就主次不分。今天你觉得完美的设计,明天领导一句话就给你改了。
OA 还要集成各种新的老的内部的外部的业务,对接方水平也是层次不齐,ui 都统一不了。
这种环境,你招大拿来,大拿也待不住。剩下的人要么水平差要么混日子,自然也不会去优化系统(能跑就行,优化了后台领导也不知道,优化了前端领导不喜欢怎么办)。
Renco
2022-03-30 13:16:04 +08:00
@Tink 是的
Bigglesworth
2022-03-30 15:47:25 +08:00
哎呀,泛微 oa 是比较老古董,文档对不上很正常,老是搞定制化,很多东西其实你们可以自己在 oa 里开发,让他们开发报价会比较高。
wangsd
2022-03-30 18:04:34 +08:00
对接过金蝶的 ERP ,对接那个人提供的文档还没我网上找的详细,给你看看查询某个物料返回的信息。

{
"Creator": "",
"NeedUpDateFields": [],
"NeedReturnFields": [],
"IsDeleteEntry": "True",
"SubSystemId": "",
"IsVerifyBaseDataField": "false",
"IsEntryBatchFill": "True",
"ValidateFlag": "True",
"NumberSearch": "True",
"InterationFlags": "",
"Model": {
"FMATERIALID": 0,
"FCreateOrgId": {
"FNumber": "100"
},
"FUseOrgId": {
"FNumber": "100"
},
"FNumber":"",
"FName": "测试 104",
"FSpecification": "大份,微辣",
"FImgStorageType": "B",
"FIsSalseByNet": false,
"SubHeadEntity": {
"FErpClsID": "1",
"FCategoryID": {
"FNumber": "CHLB01_SYS"
},
"FTaxType": {
"FNumber": "WLDSFL01_SYS"
},
"FTaxRateId": {
"FNUMBER": "SL31_SYS"
},
"FBaseUnitId": {
"FNumber": "Pcs"
},
"FIsPurchase": true,
"FIsInventory": true,
"FIsSubContract": false,
"FIsSale": true,
"FIsProduce": false,
"FIsAsset": false,
"FWEIGHTUNITID": {
"FNUMBER": "kg"
},
"FVOLUMEUNITID": {
"FNUMBER": "m"
}
},
"SubHeadEntity1": {
"FStoreUnitID": {
"FNumber": "Pcs"
},
"FUnitConvertDir": "1",
"FIsLockStock": true,
"FIsCycleCounting": false,
"FCountCycle": "1",
"FCountDay": 1,
"FIsMustCounting": false,
"FIsBatchManage": false,
"FIsKFPeriod": false,
"FIsExpParToFlot": false,
"FCurrencyId": {
"FNumber": "PRE001"
},
"FIsEnableMinStock": false,
"FIsEnableMaxStock": false,
"FIsEnableSafeStock": false,
"FIsEnableReOrder": false,
"FIsSNManage": false,
"FIsSNPRDTracy": false,
"FSNManageType": "1",
"FSNGenerateTime": "1"
},
"SubHeadEntity2": {
"FSaleUnitId": {
"FNumber": "Pcs"
},
"FSalePriceUnitId": {
"FNumber": "Pcs"
},
"FMaxQty": 100000.0,
"FIsATPCheck": false,
"FIsReturnPart": false,
"FIsInvoice": false,
"FIsReturn": true,
"FAllowPublish": false,
"FISAFTERSALE": true,
"FISPRODUCTFILES": true,
"FISWARRANTED": false,
"FWARRANTYUNITID": "D",
"FOutLmtUnit": "SAL",
"FIsTaxEnjoy": false
},
"SubHeadEntity3": {
"FPurchaseUnitId": {
"FNumber": "Pcs"
},
"FPurchasePriceUnitId": {
"FNumber": "Pcs"
},
"FIsQuota": false,
"FQuotaType": "1",
"FIsVmiBusiness": false,
"FEnableSL": false,
"FIsPR": false,
"FIsReturnMaterial": true,
"FIsSourceControl": false,
"FPOBillTypeId": {
"FNUMBER": "CGSQD01_SYS"
},
"FPrintCount": 1,
"FMinPackCount": 1
},
"SubHeadEntity4": {
"FPlanningStrategy": "1",
"FMfgPolicyId": {
"FNumber": "ZZCL001_SYS"
},
"FFixLeadTimeType": "1",
"FVarLeadTimeType": "1",
"FCheckLeadTimeType": "1",
"FOrderIntervalTimeType": "3",
"FMaxPOQty": 100000.0,
"FEOQ": 1.0,
"FVarLeadTimeLotSize": 1.0,
"FIsMrpComReq": false,
"FReserveType": "1",
"FAllowPartAhead": false,
"FCanDelayDays": 999,
"FAllowPartDelay": true,
"FPlanOffsetTimeType": "1"
},
"SubHeadEntity5": {
"FProduceUnitId": {
"FNumber": "Pcs"
},
"FProduceBillType": {
"FNUMBER": "SCDD03_SYS"
},
"FOrgTrustBillType": {
"FNUMBER": "SCDD06_SYS"
},
"FIsSNCarryToParent": false,
"FIsProductLine": false,
"FBOMUnitId": {
"FNumber": "Pcs"
},
"FIsMainPrd": false,
"FIsCoby": false,
"FIsECN": false,
"FIssueType": "1",
"FOverControlMode": "1",
"FMinIssueQty": 1.0,
"FISMinIssueQty": false,
"FIsKitting": false,
"FIsCompleteSet": false,
"FMinIssueUnitId": {
"FNUMBER": "Pcs"
},
"FStandHourUnitId": "3600",
"FBackFlushType": "1"
},
"SubHeadEntity7": {
"FSubconUnitId": {
"FNumber": "Pcs"
},
"FSubconPriceUnitId": {
"FNumber": "Pcs"
},
"FSubBillType": {
"FNUMBER": "WWDD01_SYS"
}
},
"SubHeadEntity6": {
"FCheckIncoming": false,
"FCheckProduct": false,
"FCheckStock": false,
"FCheckReturn": false,
"FCheckDelivery": false,
"FEnableCyclistQCSTK": false,
"FEnableCyclistQCSTKEW": false,
"FCheckEntrusted": false,
"FCheckOther": false
},
"FEntityInvPty": [
{
"FInvPtyId": {
"FNumber": "01"
},
"FIsEnable": true,
"FIsAffectPrice": false,
"FIsAffectPlan": false,
"FIsAffectCost": false
},
{
"FInvPtyId": {
"FNumber": "02"
},
"FIsEnable": true,
"FIsAffectPrice": false,
"FIsAffectPlan": false,
"FIsAffectCost": false
},
{
"FInvPtyId": {
"FNumber": "03"
},
"FIsEnable": false,
"FIsAffectPlan": false,
"FIsAffectCost": false
},
{
"FInvPtyId": {
"FNumber": "04"
},
"FIsEnable": false,
"FIsAffectPrice": false,
"FIsAffectPlan": false,
"FIsAffectCost": false
},
{
"FInvPtyId": {
"FNumber": "06"
},
"FIsEnable": false,
"FIsAffectPrice": false,
"FIsAffectPlan": false,
"FIsAffectCost": false
}
]
}
}
souco
2022-03-30 18:40:26 +08:00
@wangsd True true
koloonps
2022-03-30 19:51:52 +08:00
@wangsd 金蝶这个二次开发我还做过.....这么说吧金蝶就没有文档给你,都是自己去百度的
jago
2022-03-30 20:14:05 +08:00
泛微现在都是 9.0 ,这块支持应该还行,8.0 已经没人维护了
redford42
2022-03-30 21:19:05 +08:00
该不会是致远吧(擦擦汗
shakoon
2022-03-31 08:27:40 +08:00
我在十多年前搞过 OA 的开发,主要职责是在屎山上继续拉屎。并不是不想把屎铲走,好几处底层代码优化后运行效率提高了很多,但是真的是难以撼动整座屎山啊。
Renco
2022-03-31 14:50:50 +08:00
只能一个个硬怼字段排错了,结果发现是文档问题,文档写 String ,然后我传英文字母报错,发现他们建模用的是 int...
Renco
2022-03-31 14:51:01 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/843780

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX