Changing RTC pages colour or Adding company name on docs

kamranshehzadkamranshehzad Member Posts: 165
edited 2014-10-17 in NAV Three Tier
Hi,

We have multicompany nav 2009 rtc running. the users are facing problems while running both companies together and switching between documents in each company.
they find it confusing when they have got 2 sales orders opened belonging to 2 differnet companies....so is it possible to add company name /server name title of document orchange the colour of documents ... in rtc????

any other solution is welcome other than creating a flowfield that looks into serverinformation...

regards,
KS

Answers

  • BeliasBelias Member Posts: 2,998
    you can use the style property, and evaluate the styleexpr to true only if you're in a particular company. It's easy and straightforward.
    But for this solution, you need to make a convention with your customer, like: "if document no. is green, you're on company A, otherwise is company B"
    obviously, this solution supports only two companies
    i don't know if it's possible to set the companyname in the titlebar, but you can add a textbox on the documentno with sourceexpr = COMPANYNAME
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • kamranshehzadkamranshehzad Member Posts: 165
    thanks. I am going with second solution as it is simpler as well. otherwise ill have to code the style property to evaluate style expr based on company name..

    regards,
    KS
  • Miklos_HollenderMiklos_Hollender Member Posts: 1,598
    Or change DataCaptionExpression to COMPANYNAME + ' ' + Caption.
  • BeliasBelias Member Posts: 2,998
    Or change DataCaptionExpression to COMPANYNAME + ' ' + Caption.
    yes, that's the way! i never remember this property ](*,)
    thanks for reminding it to me, too...unfortunately, i know i'll forget about it as soon as i'll close the browser... :cry:
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • kamranshehzadkamranshehzad Member Posts: 165
    that was very neat solution....
    thanks for that.. i did set it to this. currpage.caption was not working as it was giving me only document type.. so i tried this..


    set DataCaptionExpr to Rec."No." +' . '+ Rec."Buy-from Vendor No." + ' [ ' + CompanyName +' ]'

    Great...

    thanks for your help.

    regards
    KS
  • st0328st0328 Member Posts: 97
    Belias wrote:
    you can use the style property, and evaluate the styleexpr to true.It's easy and straightforward.
    like: "if document no. is green, you're on company A, otherwise is company B"

    Hi belias,

    the Style Property has four Options. I tried by changing all the Options One by One and SET the StyleExpr to TRUE.
    But, i could not change the FONT Colour of the field in the PAGE.

    Please Tel me, if some thing i am missing.
  • MallikarjunaMallikarjuna Member Posts: 64
    Hi st0328,

    Using Style Property you can not change the FONT Colour of the FIELD in the page.

    It only reflects on the DATA/VALUES in the fields...

    Thanks,
    Mallikarjuna
  • BeliasBelias Member Posts: 2,998
    it's impossible, it works...are you looking at the correct database/page/field?
    Using Style Property you can not change the FONT Colour of the FIELD in the page.
    this is not true: "unfavorable" style makes the font color red
    "favorable" style makes the font color green
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • st0328st0328 Member Posts: 97
    Hi st0328,

    Using Style Property you can not change the FONT Colour of the FIELD in the page.

    It only reflects on the DATA/VALUES in the fields...

    Hi Mallikarjuna,

    K. U mean, In RTC(Pages) we cannot change the FONT COLOUR of the field. Like we do in Classic Client.

    Am i right.
  • MallikarjunaMallikarjuna Member Posts: 64
    Right :thumbsup:
  • MallikarjunaMallikarjuna Member Posts: 64
    Hi Belias,
    this is not true: "unfavorable" style makes the font color red

    I am talking about the FIELD Names(not about values in the fileds) colour (Eg: Name field in the Customer Card)

    Thanks,
    Mallikarjuna
  • tinoruijstinoruijs Member Posts: 1,226
    Just noticed in NAV 2015 company name is added on each page so you can see in which company you are.
    One more reason to upgrade from 2013R2 to 2015.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
Sign In or Register to comment.