Modify Sales Invoice

sapan24sapan24 Member Posts: 29
edited 2011-08-24 in NAV Three Tier
Hi,

Can I please get some help in trying to modify a sales invoice text field in NAV 2009 to show only when the global dimension (in this case Department) equals a particular value. I have right clicked on properties and went to the visibility option and then Expression but cannot find where I can choose the Global dimensions equal to that department. Am I on the right track?They are using RTC.

Please help. Thanks

Comments

  • mohana_cse06mohana_cse06 Member Posts: 5,504
    Did you this code in Form - OnAfterGetRecord()
    CurrForm.Description.VISIBLE := "Shortcut Dimension 1 Code" <> '';
    

    In my case description will be shown only when "Shortcut Dimension 1 Code" is not blank..
  • Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    sapan24 wrote:
    Hi,

    Can I please get some help in trying to modify a sales invoice text field in NAV 2009 to show only when the global dimension (in this case Department) equals a particular value. I have right clicked on properties and went to the visibility option and then Expression but cannot find where I can choose the Global dimensions equal to that department. Am I on the right track?They are using RTC.

    Please help. Thanks

    (Press F1, type "Visible Property" and you'll get the following :wink: )

    Using the Visible Property on RoleTailored Client Pages
    On pages, you use the Visible property to show or hide groups, parts, fields and action controls. You can show or hide a control statically by setting the property to true or false, or dynamically by using a boolean variable. Using a variable requires the following:

    The IncludeInDataSet Property property of the variable must be set to Yes.

    For field and action controls, the variable must be resolved by the OnInit Trigger or OnOpenPage Trigger.

    If it isn't clear I will explain in other words!
    ~Rik~
    It works as expected... More or Less...
Sign In or Register to comment.