Event to handle DocNo. automatic population after document was added
I have created a UDF using SAP B1 Studio with visual studio 2010.Values can enter in form and it is successfully added to table. I am trying to show the DocumentNo. automatically once document got added to the table.
i.e., DocNo. textbox in form is empty once document got added.I have tried in Buttonclick after,Data Add after...Its not working.
In which event can we handle this?
Thanks in Advance,