【发布时间】:2026-02-01 18:50:01
【问题描述】:
我们需要为实体添加像officeId这样的服务信息。
或者我们如何使用 IntuitAnyType 来设置和获取我们的服务信息。我尝试将 xmlElement 添加到 IntuitAnyType,然后创建账单,但是当我尝试获取此账单时,IntuitAnyType 字段 (BillEx) 为空。我还尝试添加 NumberTypeCustomFieldDefinition 并引发了验证异常。详细信息:操作找不到相对资源:/v3/company/4620816365019493550/numbertypecustomfielddefinition of full path: https://c50.sandbox.qbo.intuit.com/qbo50/v3/company/xxxxxxxxxxx/numbertypecustomfielddefinition?minorversion=29&requestid=a52a148d0f6f4c3ab366f55ca7440525 is not supported..
var dataService = new DataService(_serviceContext);
var officeId= new QBO.NumberTypeCustomFieldDefinition()
{
DefaultValue = 0,
DefaultValueSpecified = true,
Name = "OfficeId",
Hidden = true,
EntityType = QBO.objectNameEnumType.Bill.ToString(),
Required = false
};
var createdCaseIdField = dataService.Add(caseId);
有可能吗?
【问题讨论】:
标签: c# advanced-custom-fields quickbooks quickbooks-online