Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Point of Sale : Deleting Portal Rows

Featured Replies

I have seen other similar topics already but they didnt help.

I have a point of sale system with a portal.

With products and stuff etc...

I want to have a button outside of the portal which will delete the last transaction on the portal. But when i make a script which highlights the previous transaction and then the delete portal row, it deletes the entire point of sale for that particular sale!

Plz help.

As you have 8.5 Advanced I assume you've used the debugging tools - running the script step by step and monitoring values.

Why not post your script on the board.

Do you have the cascading delete option checked in the relationship graph?

  • Author


Go to Portal Row [select; Last]

Go to Portal Row [select; Previous]

Delete Portal Row []

It automatically creates a blank record underneath the last product so I have it set to the last then the one above and then want it to delete that row.

I want this button to be outside the portal.

With the script now, when i press the button it highlights the right portal row and asks if i want to delete this one record, i click yes but then it deletes the whole thing.

Edited by Guest

If you manually delete a portal row, does it delete the parent record? This would indicate the parent side of the relationship has the option checked to "Delete related records in this table when a record is deleted in the other table". This is what Reed was asking about (but you didn't answer).

  • Author

Yea I didnt understand what he meant,

Thanks that fixed it though.

I think my IT teacher told me to tick that, idiot... lol

You do probably want to tick the box on the other side of the dialog, so that portal records get deleted when the parent record is deleted. Just not the other way around.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.