Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Interesting OOTB Bug in Contracts:Covered Assets

This bug has been there since 7.5.1 (Jan 8, 2009) and is in every release/version/SP right up to (and including 8.x ;-)

 

Scenario: Customer wants to Dis-Associate an Asset from a contract

Action: RMB (Right Mous Button) on the Asset in the grid

Result: Disassociate is "grayed out" all the time

Cause:.. what's wrong w/this code?

      

      If Not (grdAssets.Recordset Is Nothing) Then
            grdAssets.PopupMenu.Items(1).Enabled = False
      Else
             grdAssets.PopupMenu.Items(1).Enabled = (grdAssets.Recordset.RecordCount > 0)
      End If

 

Answer: If Not (grdAssets.Recordset Is Nothing) Then

Should be:  If (grdAssets.Recordset Is Nothing) Then

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html