in

Dynamics User Group

Since 1995 - The Microsoft Dynamics Online User Community

Default Field

Last post 08-27-2008 12:03 by siya10. 6 replies.
Page 1 of 1 (7 items)
Write a New Post Sort Posts: Previous Next
  • 08-26-2008 13:30

    • siya10
    • Not Ranked
    • Joined on 04-14-2008
    • Posts 29
    • Points 500

    Default Field

    Hi there People

    I'm using Form: 256 (Payment journal) and Report (Suggest vendor payment) i want to default Bal. Account Type field on to equal to Bank Account and be non editable. i have this code on the Onvalidate trigger

    "Bal. Account Type" := "Bal. Account Type"::"Bank Account";          

    This is not working very working,please help

     

    • Post Points: 35
  • 08-26-2008 14:53 In reply to

    Re: Default Field

    Hi Siya,

    I believe what you want to do, can be done through setup..
    No need for development.

    Simply go to the setup of Journal Templates, and define the Bal. Account Type to be Bank Account in all those Journal Templates you need it.
    (I think you also have to go to the Batches and change the ones already existing)

     

    Regards,

    Alexander Pallesen
    Freelance Navision Developer

    "Life is a terminal disease that You just have to learn to live with"
    • Post Points: 20
  • 08-26-2008 15:13 In reply to

    Re: Default Field

    Why are you doing this. This is a very bad move. Just use standard functionality. You need to be aware that the table is used for lots of other things in NAV.
    David Singleton - MVP Dynamics NAV
    Dynamics NAV Consultant since 1991
    Available for Navision Go-Live assistance
    Dynamics Book
    • Post Points: 20
  • 08-26-2008 15:28 In reply to

    • siya10
    • Not Ranked
    • Joined on 04-14-2008
    • Posts 29
    • Points 500

    Re: Default Field

    This is what the customer want "payment journal line form be modified to prevent the user changing the balancing account type to anything other than Bank." this is a quote from the EDD

    • Post Points: 20
  • 08-26-2008 16:54 In reply to

    Re: Default Field

    siya10:

    This is what the customer want "payment journal line form be modified to prevent the user changing the balancing account type to anything other than Bank." this is a quote from the EDD

     

    And if there was a request in the EDD that says you must put your head in a fire, would you also do that? Angry

     

    Just because it is written in the EDD does not mean its right. You need to go back to the Client, and discuss their needs. You don't simply write code verbatim as the customer asks, you sit and test out designs, test scenarious,a dn look at the global effect that a change has on business as well as the integrity of the system,. THEN you design a solution.

     

    Oh and another Angry is needed.

    David Singleton - MVP Dynamics NAV
    Dynamics NAV Consultant since 1991
    Available for Navision Go-Live assistance
    Dynamics Book
    • Post Points: 5
  • 08-26-2008 19:38 In reply to

    • Savatage
    • Top 75 Contributor
      Male
    • Joined on 03-16-2003
    • New York
    • Posts 234
    • Points 7,255
    • DynamicsNAVMVP

    Re: Default Field

    this is the way I would do it.  If you're unsure where this is.

    go into the payment journal - you can create different Batch names & there you can set defaults for each particular batch.

    Harry Ruiz  - Dynamics NAV MVP
    www.CosmeticSolutions.biz
    www.DreamTheater.net

    • Post Points: 20
  • 08-27-2008 12:03 In reply to

    • siya10
    • Not Ranked
    • Joined on 04-14-2008
    • Posts 29
    • Points 500

    Re: Default Field

    Thank you very much David for the Advice, i'm just a developer that is doing what the consultant says and the analyst.

    For you Savantage and Alexander thanks guys i think this is the better solution to do it i'll use it. Thanks again guys i appriciatedYes

    • Post Points: 5
Page 1 of 1 (7 items)


Copyright Dynamics User Group, 1995-2008, all rights reserved. This website and user group are independent and not affiliated with the Microsoft Corporation.