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.

Error in Portal and Relationship!

Featured Replies

Hello to everyone

I was working very well with my POS solution, I have the normal portal where all payments are made, this portal has a relationship where all the sales are saved, when I want to make a sale, go to the portal (all new and without data) and I start to add my products with my codebars reader, like all POS systems.

Well after making another relationships for other scripts suddenly when I go to my portal to make a new sale, a lot of rows appear from another sales made, this information is from the database that has the relationship in the portal.

I don´t know why this info is appearing after working very well. I tried and check a lot of things but nothing.

Someone could help me?

Thanks

BluiSh

Sounds like you have a duplicate primary key in the Sale parent record. So, the "new" sale record comes in with an existing primary key, and you'll see the line items in your portal from the previous sale.

It would be helpful to know the tables that you have and how you have them related. Also, are your IDs unique, auto-entered serial numbers?

  • Author

You are right, that was my error I was repeting the main key number, do you have any tip to avoid this kind of error???

Thanks again

Sincerely

BluiSh

Do you know how you might have ended up with a duplicate primary key? If the key field isn't an auto-entered serial number, but rather something calculated, that would probably explain it.

Did you do an import recently? Perhaps you forgot to set the key to the next highest number?

Create an account or sign in to comment

Important Information

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

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.