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.

Date Range Problem (Part II)

Featured Replies

  • Newbies

Thanks for the help I have received so far. So now that I have found all of the orders placed within a certain range, I need to get an Invoice date. i.e. Tha last order may have been placed on the 27th but I want the invoice dated the last day of the month (the day I print them out). Of course after this I will need some help with a script that prints out the invoices for all clients at the end of the month* (except if balance due is zero).

Cheers,

Rob S.

* - This part doen't need to be automatic, just triggered by a button

I am assuming you have a separate "Invoice Date" field that is different from the "Order Date" field, and that it is currently blank.

Once you have the found set than you want to replace the "Invoice Date" field with date of the last day of the month.

I would suggest creating a global date field called gbatchinvdate. Enter what ever invoice date you would like into this field. The replace command for the Invoice Date field would be by calculation, the calculation being

gbatchinvdate

This will replace the Invoice Date field for the found set with what ever date you have entered into gbatchinvdate.

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.