Announcements
protected void prePromptModifyContract()
{
QueryBuildDataSource qbdGeneralJournalAccountEntry;
Query query;
query = this.parmReportContract().parmQueryContracts().lookup(this.getFirstQueryContractKey());
qbdGeneralJournalAccountEntry = SysQuery::findOrCreateDataSource(query, tableNum(GeneralJournalAccountEntry));
SysQuery::addDimensionAttributeFilter(query,
qbdGeneralJournalAccountEntry.name(),
fieldStr(GeneralJournalAccountEntry, LedgerDimension),
DimensionComponent::DimensionAttribute,
SysQuery::valueEmptyString(),
DimensionAttribute::getWellKnownDimensionAttributeName(DimensionAttributeType::MainAccount));
}
protected boolean validate()
{
boolean isValid = true;
Query query;
QueryBuildRange queryBuildRange;
QueryBuildDataSource queryBuildDataSource;
query = this.getFirstQuery();
queryBuildDataSource = query.dataSourceTable(tableNum(GeneralJournalAccountEntry));
queryBuildRange = queryBuildDataSource.findRange(fieldNum(GeneralJournalAccountEntry, LedgerDimension));
return isValid;
}
André Arnaud de Cal... 291,331 Super User 2024 Season 2
Martin Dráb 230,333 Most Valuable Professional
nmaenpaa 101,156