我正在尝试将我的引用从 Acumatica 端点版本 20.200.001 更新到 22.200.001,因为只有更高版本包含发票行详细信息字段税收类别的映射。
但是当我将这些引用更新为 Acumatica.Default_22.200.001(将所有版本更新到最新版本 5.3)时,我使用 Acumatica.Auth.Api 收到命名空间的此错误;之前工作得很好。
Error CS0234 The type or namespace name 'Auth' does not exist in the namespace 'Acumatica' (are you missing an assembly reference?) SkillInvestAPIIntegration C:\PROJECTS\MYOB\SkillInvest\CODE NOT MODIFIED\SkillInvestAPIIntegration\SkillInvestAPIIntegration\SkillInvestAPIIntegration\Rep\MYOBFunctions.cs 1 Active
我可以得到一些帮助吗,谢谢!
我能够使用以下方法加载新的 API 参考。
using Acumatica.Default_22_200_001.Model;
using Acumatica.RESTClient.Client;
using static Acumatica.RESTClient.AuthApi.AuthApiExtensions;
using static Acumatica.RESTClient.ContractBasedApi.ApiClientExtensions;
var client = new ApiClient(siteURL);
client.Login(username, password, tenant, branch, locale);