Option Explicit On
Option Strict On
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports Microsoft.Dexterity.Bridge
Imports Microsoft.Dexterity.Applications
Imports Microsoft.Dexterity.Applications.DynamicsDictionary
Public Class GPAddIn
Implements IDexterityAddIn
' Create variables for the form and window that will be referenced
WithEvents CustomerLookupScroll As CustomerLookupForm.CustomerLookupScrollScrollingWindow
' IDexterityAddIn interface
Sub Initialize() Implements IDexterityAddin.Initialize
' Assign the variables for forms and windows that will be used
CustomerLookupScroll = Dynamics.Forms.CustomerLookup.CustomerLookup.CustomerLookupScroll
End Sub
Private Sub CS_LineFillBeforeOriginal(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles CustomerLookupScroll.LineFillBeforeOriginal
If Dynamics.Forms.CustomerLookup.Tables.RmCustomerMstr.Inactive.Value = True Then
e.Cancel = True
End If
End Sub
End Class