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;
}