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.

copying/importing record set

Featured Replies

Hello,

Thanks for any help in advance (best say that now before i get into this)

My issue is as follows..

I have a db that has a record that has a table for a Quote that has an associated table that hold the parts for that quote so for example

main table would have company name address etc & the other table would hold the parts list ie some widget another widget (this is displayed in a portal obviously.. This all works fine..

however i have a script that then creates a sales order (ie just copies the record to the new table (sales order) ) here is my issue i need to bring the parts list across to the sales order associated parts list table.. im a little lost as how to do this?

so to recap:

table-Quote (linked to) table-QuotePartslist

a script to copy A record to

table-Sales (linked to) table SalesPartslist

However im unsure how to bring in the associated records from the QuotePartslist to the SalesPartslist..

just to clarify the table-Quote , table-QuotePartslist is a 1 To Many relationship as is the other 2 tables

I hope the above makes sense ill probably come back to it in a couple of hours & it all makes sense but ive been on off it for last few days so thought it was time to post on here..

I will add i know there is the export function but im not sure if its the right function also i will have a file created which i dont want, i would like it all to be on the Fly..

Im not sure what is the right function i need to do this or if its a case of using some apple script or custom function if so please point me in the right direction..

Regards,

Brian

What you could do is share the line items from the Quote with the Sale. Just add another key field (_kF_SalesID) to the line items table. Then, in the script that "copies" a Quote>Sale, capture the new SalesID and set the SalesID in the line items table.

  • Author

Hi,

Thanks for the Quick reply.

I wanted to have it separated however i have got some further clarity from the end user of the current system.

I can do it in that way thanks for the feedback.

Brian

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.