简体   繁体   English

Sage 50 2014 SData问题

[英]Sage 50 2014 SData issues

Hi I am having a bit of trouble with sdata. 嗨,我在sdata上遇到了麻烦。 I have been able to see a schema using http://localhost:5493/sdata/accounts50/GCRM/-/ $schema. 我已经能够看到使用http:// localhost:5493 / sdata / accounts50 / GCRM /-/ $ schema的架构。 When I try to view accounts etc, through something like the following localhost:5493/sdata/accounts50/GCRM/-/accounts('ACCOUNTCODE') I get an error errorResourceKindNotFoundUnable to locate the specified object 'accounts50/GCRM/-/accounts' 当我尝试通过类似以下本地主机的方式查看帐户等时:5493 / sdata / accounts50 / GCRM /-/ a​​ccounts('ACCOUNTCODE')我收到错误errorResourceKindNotFoundUnable找不到指定的对象'accounts50 / GCRM /-/ a​​ccounts'

I have tried several variations of the url based on this resource http://sage.github.io/SData-2.0/ 我已经根据此资源http://sage.github.io/SData-2.0/尝试了几种url变体

Am I missing I missing some configuration? 我是否缺少某些配置? I have base the url on the details provided by the Sage.SData.Service.Config.UI.exe utility. 我已根据Sage.SData.Service.Config.UI.exe实用程序提供的详细信息来确定网址。 Any help is appreciated. 任何帮助表示赞赏。

I have been working on a laravel project that uses sData and whilst there appears to be no documentaion on end point I have compiled a list that can be used to gather data from sage accounts here is the list I have used. 我一直在研究一个使用sData的laravel项目,尽管在端点上似乎没有文档,但我编译了一个可用于从Sage帐户收集数据的列表,这是我使用的列表。

sagecrmErp2008feeds

bankAccounts, commodities, commodityGroups, commodityIdentifiers, computePrice, computePriceSchema, contacts, contactGroups, financialPeriods, interactions, locations, operatingCompanies, Opportunities, prices, priceLists, pricingDocumentLine, projects, purchaseOrderDeliveries, purchaseOrderDeliveryLines, purchaseOrders, purchaseOrderLines, receipts, salesCredits, salesCreditLines, salesInvoices, salesInvoiceLines, salesOrderDeliveries, salesOrderDeliveryLines, salesOrders, salesOrderLines, salesPersons, salesQuotations, salesQuotationLines, taxCodes, tradingAccounts, tradingAccountSummaries, tradingActivities, unitsOfMeasure, unitsOfMeasureGroup, 银行帐户,商品,商品组,商品标识符,computePrice,computePriceSchema,联系人,contactGroups,findPeriods,交互,位置,operatingCompany,商机,价格,价目表,priceingDocumentLine,项目,purchaseOrderDeliveries,purchaseOrderDeliveryLines,purchaseOrders,purchaseOrderLines,receives,salesCredits,salesInvoiceLines salesInvoiceLines,salesOrderDeliveries,salesOrderDeliveryLines,salesOrders,salesOrderLines,salesPersons,salesQuotations,salesQuotationLines,taxCodes,tradingAccounts,tradingAccountSummaries,tradingActivities,unitsMeasure,unitsOfMeasure,unitsOfMeasureGroup,

sage2009feeds sage2009feeds

emails, financialAccounts, notes, phoneNumbers, postalAddresses, 电子邮件,金融帐户,便笺,电话号码,邮政地址,

these should help you user835440 这些应该可以帮助您

this is the one I tried should get you started 这是我尝试过的一种,应该可以帮助您入门

http://localhost:5493/sdata/accounts50/GCRM/-/tradingAccounts

if want to do a query you simple add this to the end ?select=name&count=3 and if you want use json just add this &format=json so your full string would read as http://localhost:5493/sdata/accounts50/GCRM/-/tradingAccounts?select=name&count=3&format=json hope this helps 如果要执行查询,只需将其添加到末尾?select=name&count=3 ;如果要使用json,只需添加此&format=json这样您的完整字符串将读取为http://localhost:5493/sdata/accounts50/GCRM/-/tradingAccounts?select=name&count=3&format=json希望这会http://localhost:5493/sdata/accounts50/GCRM/-/tradingAccounts?select=name&count=3&format=json帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM