GI不允许过滤少数列

时间:2017-01-27 14:37:22

标签: acumatica

我在GI中有几列没有任何过滤选项。这些列来自自定义计算的未绑定十进制列。但是,并非所有未绑定的列都有,但很少有仍具有过滤选项。

有什么想法吗?

这是包含过滤器选项的列 -



#region UsrTotalCost
protected decimal? _usrTotalCost;

[PXDecimal(4)]
[PXUIField(DisplayName = "Total Cost")]

public virtual decimal? UsrTotalCost
{
	get
	{
		decimal? val1 = this.BodyCost == null ? 0 : this.BodyCost;
		decimal? val2 = this.TruckCost == null ? 0 : this.TruckCost;
		decimal? val3 = this.CostOfParts == null ? 0 : this.CostOfParts;
		decimal? val4 = this.CostOfLabour == null ? 0 : this.CostOfLabour;
		decimal? val5 = this.CostOfSub == null ? 0 : this.CostOfSub;

		return val1 + val2 + val3 + val4 + val5;
	}
}
public abstract class usrTotalCost : IBqlField { }
#endregion




而且,这里是没有过滤选项的列 -



#region UsrProfitLost
protected decimal? _usrProfitLost;

[PXDecimal(4)]
[PXUIField(DisplayName = "Gross Profit")]

public virtual decimal? UsrProfitLost
{
	get
	{
		decimal? val = this.GrossSale == null ? 0 : this.GrossSale;

		decimal? val1 = this.BodyCost == null ? 0 : this.BodyCost;
		decimal? val2 = this.TruckCost == null ? 0 : this.TruckCost;
		decimal? val3 = this.CostOfParts == null ? 0 : this.CostOfParts;
		decimal? val4 = this.CostOfLabour == null ? 0 : this.CostOfLabour;
		decimal? val5 = this.CostOfSub == null ? 0 : this.CostOfSub;

		return val - (val1 + val2 + val3 + val4 + val5);
	}
}
public abstract class usrProfitLost : IBqlField { }
#endregion




1 个答案:

答案 0 :(得分:0)

要确认:按照设计,对GI中的所有未绑定字段禁用过滤器对话框。对于某些未绑定的字段,它无法突然出现。

我假设在某个地方可能存在另一个具有相同“总成本”标题和过滤器对话框的数据库绑定字段...