Josh Kenzer Posted July 2 Share Posted July 2 I need to loop through an AP Bill's items. I can't figure out the syntax for the loop: {!#LOOP_BEGIN.all#APBILLITEM@apbill@=@apbill.recordnum#text(1)!} // aggregate some stuff here {!#LOOP_END.all!} Is this possible? I'm basically trying to do something very similar to this, but with AP Bill and AP Bill Items. Link to comment Share on other sites More sharing options...
Members Solution Sterio, Louis Posted July 3 Members Solution Share Posted July 3 On the AP bill object within a document template try this {!#LOOP_BEGIN.all#APBILLITEM@RECORDKEY@[email protected]!} {!APBILLITEM.RECORDNO!} {!#LOOP_END.all!} 1 Link to comment Share on other sites More sharing options...
Josh Kenzer Posted July 3 Author Share Posted July 3 Perfect. I had tried the recordkey as the filter, but I was getting an error. I think it must have been the apbill.recordnum#text. As always, much appreciated @Sterio, Louis Link to comment Share on other sites More sharing options...
Recommended Posts