Smartlists and deletes

Das Goravani goravanis at gmail.com
Fri Jul 15 20:20:38 UTC 2022


This is another way?

Do iLineItemsList.$clear()
Do iLineItemsList.$smartlist.$assign(kFalse)
Do iLineItemsList.$select('WHERE line_inv_id=[iInvRow.inv_id]')
Do iLineItemsList.$fetch(kFetchAll)
Do iLineItemsList.$smartlist.$assign(kTrue)
Set current list iLineItemsList
Select list line(s) (All lines) 
Delete selected lines
Do iLineItemsList.$dodeletes()


More information about the omnisdev-en mailing list