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.

Simple Invoice isn't working

Featured Replies

I'm trying to do something very simple:

In an invoice, I choose a Product ID from a drop-down list based on another table, and would like the Product Description from that other table to appear automatically for that product, on the same line.

Using a Lookup function I was able to set this up correctly. When I add repetitions, however, to be able to list several products on the invoice, the process breaks down and the Product Description does NOT appear.

Why is adding repetitions not working in this case? Is there an alternative way to list several products on one invoice?

Thank you for your help.

Review how to use portals.

You need 4 tables: Customer, Invoice, InvoiceLineItems and Products.

Create a portal on the Invoice Layout to InvoiceLineItems related by InvoiceID. Don't use repetitions, but rather a portal with as many rows as will fit on your Invoice data entry layout. Enter the Product key into an InvoiceLineItem record in the portal and use the Lookup function to copy the Price, and Desc.

Print invoices from a layout based on the InvoiceLineItems table.

  • Author

I have been told to stay away from repetitions but thought I'd try anyway.

I was under the impression that portals are used only to view data, not for entry. I'll try your advice and let you know whether it works.

Thanks a million for taking the time to respond.

Portals can be used for entry if you have "Allow creation of records" checked in the relationship dialog.

Yes, it's much nicer to give the user a "New Line Item" button with a custom dialog, rather than having them type in the portal, but it's not necessary.

  • Author

For some reason, the portal only allows me to enter one record. What am I missing?

Edited by Guest

  • Author

You da man. Thank you for the sample DB. I'll study it and figure things out.

I'm using 8.5 Advanced.

I have the very same problem, I am using a relationship to pull pricing information into the order form, but the repetitions are not functioning correctly. Maybe you wouldn't mind looking at my file to gain a better understanding.. Thanks a ton

backup.zip

Drop the repeating fields and move to a relational model. Invoice/LineItem/products. YOu will be limited with repeating fields.

I understand the concept of the portal, but Im not sure how I go about placing it in my forum. Could you help me out? Thanks for everything!

  • Author

It's easy to place a portal on your form. In Layout mode, choose "Portal" from the "Insert" menu, then follow the dialog box.

  • Author

I have set up a portal that allows entry of line items into the invoice forms. However, when I delete an item from the portal, it does not delete it in the Line Items table, even though I have set up the relation to allow record deletion.

Any ideas? Thanks.

How are you deleting the item from the portal exactly? are you using a script step?

How are you deleting the line items record? I typically put a "Delete" button on the portal row that does a Delete Portal Row script step.

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.