Acumatica 在查找屏幕中添加用户定义的字段,并使用所选分支进行验证

Acumatica 在查找屏幕中添加用户定义的字段,并使用所选分支进行验证,acumatica,Acumatica,我在客户/业务账户屏幕中添加了一个usrOperatingBranch。我需要它显示在“查找销售订单客户”字段中。 我添加并自定义了Customer字段的属性。但这一领域并未出现。此外,我还希望检查在销售订单输入期间输入的所选分支机构 是否需要将BAccountExt与BAccountR连接??怎么做??是否需要与所选销售订单分支进行内部联接(MatchwithBranch)` [PXDefault] [客户活动(类型)(搜索), 可见性=PXUIVisibility.selector或visi

我在客户/业务账户屏幕中添加了一个usrOperatingBranch。我需要它显示在“查找销售订单客户”字段中。 我添加并自定义了Customer字段的属性。但这一领域并未出现。此外,我还希望检查在销售订单输入期间输入的所选分支机构

是否需要将BAccountExt与BAccountR连接??怎么做??是否需要与所选销售订单分支进行内部联接(MatchwithBranch)`

[PXDefault]
[客户活动(类型)(搜索),
可见性=PXUIVisibility.selector或visible,
DescriptionField=typeof(Customer.acctName),Filterable=true)]
[PX自定义选择列(
类型(PX.Objects.CR.BAccountR.actcd),
类型(PX.Objects.CR.BAccountR.acctName),
类型(PX.Objects.CR.Address.addressLine1),
类型(PX.Objects.CR.Address.addressLine2),
类型(PX.Objects.CR.Address.postalCode),
typeof(PX.Objects.AR.CustomerAttribute.Contact.phone1),
类型(PX.Objects.CR.Address.city),
typeof(PX.Objects.CR.Address.countryID),
typeof(PX.Objects.AR.CustomerAttribute.Location.taxRegistrationID),
类型(PX.Objects.AR.Customer.curyID),
类型(PX.Objects.AR.CustomerAttribute.Contact.saltation),
类型(PX.Objects.AR.Customer.customerClassID),
类型(PX.Objects.AR.Customer.status),
typeof(PX.Objects.CR.BAccountExt.usrOperatingBranch))]

您不必使用GrapherExtension进行连接,我会将您的引用从PX.Objects.CR.BAccountExt.usrOperatingBranch更改为BAccountExt.usrOperatingBranch,然后看看这是否有区别。

不,它仍然不起作用!令人惊讶的是,CustomizeSelector在库存ID的下面的网格中工作,而与UsrOperatingBranch的检查在查找中工作,因此我只能显示属于该分支的客户。
[PXDefault]
[CustomerActive(typeof(Search<BAccountR.bAccountID,Where<Customer.type,    IsNotNull, Or<Current<SOOrder.aRDocType>, Equal<ARDocType.noUpdate>, And<BAccountR.type, Equal<BAccountType.companyType>>>>>),
Visibility = PXUIVisibility.SelectorVisible, 
DescriptionField = typeof(Customer.acctName), Filterable = true)]
[PXCustomizeSelectorColumns(
typeof(PX.Objects.CR.BAccountR.acctCD),
typeof(PX.Objects.CR.BAccountR.acctName),
typeof(PX.Objects.CR.Address.addressLine1),
typeof(PX.Objects.CR.Address.addressLine2),
typeof(PX.Objects.CR.Address.postalCode),
typeof(PX.Objects.AR.CustomerAttribute.Contact.phone1),
typeof(PX.Objects.CR.Address.city),
typeof(PX.Objects.CR.Address.countryID),
typeof(PX.Objects.AR.CustomerAttribute.Location.taxRegistrationID),
typeof(PX.Objects.AR.Customer.curyID),
typeof(PX.Objects.AR.CustomerAttribute.Contact.salutation),
typeof(PX.Objects.AR.Customer.customerClassID),
typeof(PX.Objects.AR.Customer.status),
typeof(PX.Objects.CR.BAccountExt.usrOperatingBranch))]