Hello guys , the issue is I want to specify an a default value for DOCUMENT TYPE in the cash receipt journals page only to be only payment , putting in considerations that putting init value in the table will change it for all journals and I don't want that !
any ideas ?
*This post is locked for comments
Hi ,How to set decimal field value of table to suppose 100 so that it will come by default also where to write code in table ?
Well, take advantage of the C/SIDE Development 101 webinars of NAV Skills on youtube. Search on youtube for "c/side development 101 series".
I am Functional user of NAV 2013 R2. Can i Learn Technical to customize in short time.
my bad it worked actually , thanks Mr Amol
much appreciation
As Luc suggested You can write the code on OnNewRecord trigger
Just write
"Document Type" :="Document Type"::Payment;
thank you for your reply BUT ,
could u provide the code please?
Let code do it in the OnNewRecord trigger (or even better in an event subscriber to this trigger).
Sohail Ahmed
2
mmv
2
Amol Salvi
2