RE: How to get deleted transactionline items using suiteql
I am trying to get the deleted transactionline using suiteql. I was using DeletedRecord table to get the deleted transactions which doesn’t have deleted line items. But want to know is there a way to fetch deleted transactionline items?
You can create dummy field ‘All Lines’ which will store JSON data of line items like line #, item/account. Then another dummy field ‘Removed Lines’. Removed Lines field will be filled up by a script if a particular line# in ‘All Lines’ is not present in actual lines in transaction.