I need to move row to a subpage (once certain condition meet), and delete it in the main page. Here are my formulas and the automation. With the DeleteRows(currentvalue) added the pushbutton did not function. If the deleteRows(currentvalue) removed, the button functions,but the closed rows in the main page remains, and also added into the subpage where all closed items should be. Second problem also, once new closed items are added and clicking the push button the paid section where previous closed items added it multiplies the closed items depending on how many click you do.
RunActions(
[TR-SBTC]
.Filter([TR-SBTC].[Liability Status] = “Closed”)
.FormulaMap(
AddRow(
[PAID-PN/TR],
[PAID-PN/TR].BANK, CurrentValue.BANK,
[PAID-PN/TR].[Original PN/TR Number], CurrentValue.[Original PN/TR Number],
[PAID-PN/TR].[New PN Number], CurrentValue.[New PN Number],
[PAID-PN/TR].[Company Name], CurrentValue.[Company Name],
[PAID-PN/TR].[What was this money used for], CurrentValue.[What was this money used for],
[PAID-PN/TR].[Credit Limit Classification], CurrentValue.[Credit Limit Classification] ,
[PAID-PN/TR].Sequence, CurrentValue.Sequence ,
[PAID-PN/TR].[Copy Last], CurrentValue.[Copy Last] ,
[PAID-PN/TR].[Orig Amount], CurrentValue.[Orig Amount] ,
[PAID-PN/TR].[BEG BALANCE], CurrentValue.[BEG BALANCE],
[PAID-PN/TR].PAYMENT, CurrentValue.PAYMENT ,
[PAID-PN/TR].[END BALANCE], CurrentValue.[END BALANCE],
[PAID-PN/TR].FROM, CurrentValue.FROM ,
[PAID-PN/TR].TO, CurrentValue.TO,
[PAID-PN/TR].[Is it Weekend], CurrentValue.[Is it Weekend] ,
[PAID-PN/TR].[INT RATE], CurrentValue.[INT RATE] ,
[PAID-PN/TR].[NO OF DAYS], CurrentValue.[NO OF DAYS] ,
[PAID-PN/TR].[INT DUE], CurrentValue.[INT DUE],
[PAID-PN/TR].WTAX, CurrentValue.WTAX ,
[PAID-PN/TR].[NET INT DUE], CurrentValue.[NET INT DUE] ,
[PAID-PN/TR].[Doc Stamps], CurrentValue.[Doc Stamps] ,
[PAID-PN/TR].[TOTAL DUE], CurrentValue.[TOTAL DUE],
[PAID-PN/TR].[Check Number], CurrentValue.[Check Number] ,
[PAID-PN/TR].[Payment Status], CurrentValue.[Payment Status] ,
[PAID-PN/TR].[Liability Status], CurrentValue.[Liability Status]), DeleteRows(currentvalue)))
Automation
