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
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)
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
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?
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 is needed.
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 MVPwww.CosmeticSolutions.bizwww.DreamTheater.net
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 appriciated