Achievo Community
https://www.atk-framework.com/forum/

how to put mysql fn get_next_doc_no() in atksave doc_no colu
https://www.atk-framework.com/forum/viewtopic.php?f=2&t=36705
Page 1 of 1

Author:  dgangal [ Tue May 07, 2019 4:30 am ]
Post subject:  how to put mysql fn get_next_doc_no() in atksave doc_no colu

how to put mysql fn get_next_doc_no() in atksave doc_no column

i have a classic single-table atknode which has a column doc_no ..... while adding a row in tble ... it is generated based on some complex logic which is captured in a mysql fn get_next_doc_no() how can i insert this fn in atk-save insert query so that it is atomic ie InsertQry executes get_next_doc_no().

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/