Skip 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.

Item Numbering

Featured Replies

I have a simple sales order solution that uses a line items table which contains

Fields for part number, description, price and so on. So far so good.

Some line items that are added to the sales order do not contain part numbers.

So I want to create an item number calculation field that will only sequentially

Number line items that contain parts. I have accomplished this using a script

But a calculation field would be a cleaner way of doing it, I just can’t get the

Calculation quite right. Any help would be greatly appreciated.

Thank You

Anthony

I am not sure why you would need such a thing, but perhaps this might help:

http://fmforums.com/forum/showpost.php?post/335388/

  • Author

Did not work for me but thanks anyway

Anthony

Hi Anthony, and Welcome to the Forum.

I think I see what you are asking, but why not upload a copy of your file, or a screen shot of the report, and a copy of your Script.

Lee

  • Author

I did not mean to offend anyone with my lack of a detailed response.

I am new to this forum and was just looking for some help with a

frustrating issue that I was working on. I tried to be clear in my

original escription of my problem and what I was trying to accomplish.

The only response hat I received and appreciated was a link to another

area of the forum to a cenario that really did not apply to my situation.

I have a sale orders table that uses a line items table:

SalesOrders::SaleID = LineItems::SaleID

I have an Item # field in the line items table that I populate

via a script every time I add or remove an item from the sales

order. My customer requires only items that contain part numbers

receive an item number in sequential order so I cannot use a

Get (RecordNumber) as a solution. I was trying to come up with

a calculation so I would not have to rely on a script. I thought

this could be done through a calculation. I hope this makes things

clearer.

Again I apologize if I am posting in the wrong area as I am new

to this forum and do not know the protocall and thanks in

advance for any further help on the matter.

Anthony

items.gif

The only response hat I received and appreciated was a link to another

area of the forum to a cenario that really did not apply to my situation.

The scenario may seem different, but it is the same problem - that is, if I understand correctly that the sequential numbering should start from 1 for each order.

OrdinalInCategory.fp7.zip

  • Author

Yes each sales order starts numbering with 1. Thank you so much!!! Works perfectly!! I was just a little confused about the way it was being described.

Thank you again for clarifying and the sample file.

Anthony

On second thought, since you only have one "category", it could be much simpler.

---

Note that in version 9 or higher, you could use conditional formatting directly on the summary field, and eliminate the calculation field.

ConditionalOrdinal.fp7.zip

[And there is no rule which says you must provide more information (that was MY suggestion so you could be helped)

But remember - you (you = original poster) are asking for free help. If you are not clear, and make it into a difficult guessing game, you will not get effective help. Being clear and complete is an act of consideration.

  • Author

On second thought, since you only have one "category", it could be much simpler.

This solution works even better for my needs. Exactly what I was trying to accomplish..

Thanks Again

Anthony

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.