Acumatica DAC扩展不会提取数据 [英] Acumatica DAC Extension won't pull data

查看:100
本文介绍了Acumatica DAC扩展不会提取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用DAC扩展的时间非常令人沮丧。我为CustSalesPeople创建了一系列UDF,它们显示在页面上,我可以用数据填充它们。当我以编程方式访问它们时,得到的是零而不是它们的值。在下面的代码中,它成功地将usrCommissionTotal设置为row.commisionPct的数量。所有其他值均为零。我缺少什么?

Having a very frustrating time with a DAC extension. I've created a series of UDFs for CustSalesPeople, they show up on the page, and I can fill them with data. When I went to access them programmatically I get a slate of zeros instead of their values. In the code below it successfully sets usrCommissionTotal to the amount of row.commisionPct. All other values come through as zero. What am I missing?

推荐答案

UsrCommisson1字段为十进制类型。 Acumatica要求所有DAC字段均为可空类型。是否将UsrCommisson1字段的类型从十进制更改为十进制? (可为空)解决问题吗?

UsrCommisson1 field is of decimal type. Acumatica requires all DAC fields to be of a nullable type. Will changing type for the UsrCommisson1 field from decimal to decimal? (Nullable) resolve the issue?

这篇关于Acumatica DAC扩展不会提取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆