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 data after find

Featured Replies

Hi,

I have a a table (supplier Line Items) that show items from suppliers, a bit like a catalogue and i would like to select some, maybe even all of the items and be able to create a purchase order.

I can do a search and am able to find all the items I have selected (say 4 items out of 100), the next stage is to copy each item and paste into my purchase order line items table.

Would a loop script be the best way to go?

Does this make sense?? ha ha

Thanks as always in advance.

Roy

rservis

You can do this with a loop script and the set field command.

Create a field that you can use to marked the fields you want to copy and your script wouls resemble this

Goto first record

loop

goto next record(exit after last)

if(select = "X")

set field (the field to be copy and to the selected field.)

end loop

Hope this helps

Lionel

In my humble opinion isn't it really a looped matter, since the dealings with the either the scriptparameters or $variables, is a vaste of processing powers, when import beween tables in the same file is posible. I take it for granted that the table structure follows the established many2many associated with invoicing/ordering...

Further does this approach abide to my own rules, which strive to make any parameter or variable be narrow scoped in utilization as posible.

--sd

linegrapper.zip

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.