【问题标题】:How to Show Value Based on Customer's Tax Zone in Acumatica Sales Order如何在 Acumatica 销售订单中根据客户的税区显示价值
【发布时间】:2021-12-11 16:46:42
【问题描述】:

我有一个名为 Sales Channel 的字段,如果客户税区 ID 是本地的,它应该显示本地,否则显示外国。我目前将我的 DAC 作为下拉列表,但我需要将其更改为适合此要求作为动态文本字段,我该怎么做?我附上了一些图片作为指导。

Need to take tax zone ID from customer screen

The customer's tax zone ID determines the Sales Channel

【问题讨论】:

    标签: c# dynamic field acumatica


    【解决方案1】:

    解决此问题的一种方法是定义税区的 PXSetup 视图,该视图使用当前客户作为 where 子句。

    PXSetup<TaxZone, Where<TaxZone.taxZoneID, Equal<Current<Customer.taxZoneID>>>> customerTaxZone;
    

    然后订阅客户字段的FieldUpdated事件。使用 taxzone 设置视图的当前值,您可以确定销售渠道字段的值。

    【讨论】:

    • 所有这些都必须根据我假设的 Acumatica 培训在销售订单的扩展图中定义?
    • 是的,在 SOOrderEntry Graph 的扩展中
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-10-15
    • 1970-01-01
    • 2015-09-13
    相关资源
    最近更新 更多