我想使用REST API在acumatica中创建客户。我将其导入邮递员官方JSON swagger配置,并使用以下端点:
http://*********/Acumatica2019DB/entity/Default/17.200.001/Customer
方法:PUT
身体:
{
"CustomerID" : {"value" : "JOHNGOOD" } ,
"CustomerName" : {"value" : "John Good" },
"MainContact" :
{
"Email" : {"value" : "demo@gmail.com" },
"Address" :
{
"AddressLine1" : {"value" : "4030 Lake Washington Blvd NE" },
"AddressLine2" : {"value" : "Suite 100" },
"City" : {"value" : "Kirkland" },
"State" : {"value" : "WA" },
"PostalCode" : {"value" : "98033" }
}
}
}
我面临以下问题:
Error: An error occurred during processing of the field Subaccount: Error: Product Group, Department of Subaccount do not exist in the system.
---> PX.Data.PXSetPropertyException: Error: Product Group, Department of SubCD do not exist in the system.
这些值(产品组,子帐户部门)是什么意思?如何配置它们?