3
在章节的主体中,我有4个计算字段。当所有四个字段均为0值时,我想隐藏一行。请让我知道你的建议...如何在动态AX报告中隐藏一条线?
在章节的主体中,我有4个计算字段。当所有四个字段均为0值时,我想隐藏一行。请让我知道你的建议...如何在动态AX报告中隐藏一条线?
体内创建executeSection方法和来电super()
如果希望部分进行打印:
public void executeSection()
{
if(value1!=0 || value2!=0 || value3!=0 || value4!=0)
{
super();
}
}
在简单的顺序,你可以:
executeSection
方法send
方法的实施例的方法send
(在这种情况下选择1会更好):
boolean send(Common cursor, int level=1, boolean triggerOffBody=TRUE)
{
boolean ret;
InventTable inventTable;
if (cursor.tableId == TableNum(InventTable))
{
inventTable = cursor;
if (inventTable.InventType == InventType::BOM)
ret = super(cursor, level, triggerOffBody);
}
return ret;
}