static void Test_NumberSeqTableRef(Args _args)
{
NumberSequenceTable _nst;
NumberSequenceReference _nsr;
NumberSequenceDataType _nsd;
;
while select _nst
order by _nst.NumberSequence
join _nsr
where _nst.RecId == _nsr.NumberSequenceId
join _nsd
where _nsd.RecId == _nsr.NumberSequenceDatatype
&& _nst.Txt like 'AAA *'
{
info(strFmt('%1 ; %2 ; %3 ; %4 ; %5 ; %6',_nst.NumberSequence,_nst.Txt,_nst.Format,_nst.Highest,
_nsd.referenceLabelForDisplay(), _nsd.referenceModuleLabel() ));
}
}
No comments:
Post a Comment