Quantcast
Channel: Microsoft Dynamics GP
Viewing all articles
Browse latest Browse all 59474

Forum Post: RE: Field Level Security

$
0
0

Hi Katie,

I could not find the field in FLS either.  If nobody else can point out the field in FLS, there is another way if you have GP2010 or older.  You could use the following VBA workaround to prevent users from checking the DropShip :

  1. Open any document in the Sales Transaction Entry window
  2. If your sales Transaction Entry window was never modified, press Ctrl+F11 to add it to VB
  3. Press Shift+F11 to add fields to VB
  4. Click on the DropShip Checkbox to add it to VB
  5. Press Shift+F11 to stop adding fields to VB
  6. Press Alt+F11 to open the VBA editor
  7. In the "SalesTransactionEntryDetail (Grid)" project add the following VBA code :

Private Sub Dropship_BeforeUserChanged(KeepFocus As Boolean, CancelLogic As Boolean)

   If Dropship.Value = 1 Then Dropship.Value = 0

End Sub

Your SOP Entry window will be modified, users will need to get access to the modified version if they are not using it already (Alternate/Modified Forms...) .

Once this is done, if a user checks the DropShip box it will automatically uncheck itself.

Regards,

Philippe


Viewing all articles
Browse latest Browse all 59474

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>