I am creating new custom screen in visual studio 2010,here i can not add functionality in standard button like New,Cancel,Save and Delete.Please can anyone help.Thanks in advance.
Below my sample code(not working one):
Private Sub Update1_CancelEvent(ByVal Level As Short, ByRef RetVal As Short) Handles Update1.CancelEvent MsgBox("Clik") End Sub
Private Sub Update1_DeleteEvent(ByVal Level As Short, ByVal LevelsDone As Short, ByRef RetVal As Short) Handles Update1.DeleteEvent MsgBox("Clik") End Sub
Private Sub Update1_NewLevelEvent(ByVal Level As Short, ByRef RetVal As Short) Handles Update1.NewLevelEvent MsgBox("Clik") End Sub
Private Sub Update1_UpdateEvent(ByVal Level As Short, ByVal InsertFlg As Short, ByVal LevelsDone As Short, ByVal LevelsLeft As Short, ByRef RetVal As Short) Handles Update1.UpdateEvent MsgBox("Clik") End Sub
You can add your business logics in Menu controls like New,Save, Delete, Cancel & Navigation button if you need to do some specific logic check.
You don't have to add logic to save, delete, update operation in custom screen since Standard SL should automatically do those operations for you. If you would want to add some special checks on your screen, you could potentially add your custom logic.
At what circumstances/scenarios you're looking to add the custom logic in your code.
please let me know.
In My custom screen the Standard buttons not doing any actions,I am not sure what i did wrong.And i want to add some custom logic in New button and Save button .Please can you give syntax for this code.
you can refer the syntax in customization manager pdf which you could find in User Manuals of Dynamics SL SDK software package.
Did you install the User Guides while installing the Dynamics SL software? Also can you please tell the what version of Dynamics SL you are using?
I am using SL 2011 FP1-Advance Management version 8.12.40821.00(8.0.0)
Have looked that document and followed that doc syntax but still the event not called.
below my sample code:
Sub Update1_NewLevel(ByVal level%, ByVal retval%)
Sub Update1_Update(ByVal level%, ByVal retval%)
Sub Update1_Delete(ByVal level%, ByVal levelsdone%, ByVal retval%)
Sub Update1_Finish(ByVal Level, ByVal Updated, ByVal RetVal)
I believe something is related to standard issue. Do you have microsoft partner/customer source login? if you have, you can check to see if there is any hot fixes for those issue.
I hope Microsoft definitely released hotfixes for those issues. please verify it.
Very thanks for your time.
I know that it's not really a new topic but, I have the exact same problem.
Did you find out how to solve that?
Business Applications communities