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.

Featured Replies

Hello guys, good afternoon.

I need help regarding how to add two payments. As you can see in the image below, there are payments below the BILLING record. What I want to happen is, I want to ADD those two payments. After the two payments were added, the payment will be put into the Pay Bill of the BILLING record. (See the picture below)

Here's my script but it won't work:

Quote

Show All Records
Sort Records [ Keep records in sorted order; Specified Sort Order: AGEING::BILLDATE; ascending ][ Restore; No dialog ]
Go to Record/Request/Page[ First ]
Loop
     If [ AGEING::TRCODE = 1 ]
          Go to Record/Request/Page[ Next; Exit after last ]
          Else If [ AGEING::TRCODE = 2 ]
          Set Variable [ $pay1; Value:AGEING::PAYBILL]
          Set Variable [ $pay2; Value:$pay2 + $pay1 ]
          Set Variable [ $pay3; Value:$pay2 ]
          Set Variable [ $pay2; Value:$pay3 ]
          Omit Record
          If [ AGEING::TRCODE = 1 ]
                Go to Record/Request/Page[ Previous; Exit after last ]
                Set Field [ AGEING::PAYBILL; $pay3 ]
                Set Variable [ $pay3; Value:0 ]
                Omit Record
          End If
     End If
End Loop
Show All Records
Sort Records [ Keep records in sorted order; Specified Sort Order: AGEING::BILLDATE; ascending ][ Restore; No dialog ]
Go to Record/Request/Page[ First ]

 

Total Payment.png

Edited by Tondats

  • Author

Thanks Ocean West! It works! 

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.