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

  • Newbies

Hi everyone,

The problem I met is about record set is difference between the FM Pro 15 and it behaves at webdirect.

Here is the scenario :
Table : Contract, Salesperson, User
Relationship:      
         User  <--[pk]----user_id----[fk]--> Salesperson
         Contract <-[fk]----sales_id----[pk]--> Salesperson
Privilege set : 
        [Manager] - For record, table "Contract" (view) is limited to Salesperson::dept = $$DEPT
                 For layout, view access is allowed
        [Salesperson] - For record, table "Contract" (view) is limited to Salesperson::user_id = $$USER_ID
                     For layout, view access is allowed
Flow:
    1) Once login-ed in, the script is triggered to load certain users' info. to global variables(e.g $$DEPT, $$USER_ID) by using the Get(Accountname) and table User
    2) After entering the layout which load the contract data, records showed should be limited according to privilege set
Problem is I could have the expected result at FM Pro 15 but not at webdirect with the same source.
E.g     
With [manager] privilege set,
(FM15)  I could load the contract record within the whole department which assigned at table.
(WD) No matched record 

With [salesperson] privilege set,
(FM15) & (WD) I could load the salesperson corresponding contract.

*  I could only found out that no Salesperson info. could be read / related to the contract layout, when the privilege set is [manager].
I would appreciated it if anyone could help.

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.