Skip to Content
0
Former Member
Jul 22, 2013 at 04:46 AM

Logic of Doc Entry in Add Mode

25 Views

Hi,

I have created a master data and could generate the DocEntry in the Find mode but i dont know how to generate the Doc Entry in the Add mode..

Help me out to know the logic of this.

And, here is my code,

Dim docent As String

docent = oMain.oUtilities.getMaxCode("@EAHCM_TGM", "DocEntry")

oMain.oUtilities.setEdittextvalue(oForm, "DocEntry", docent)

Dim docent1 As String

docent1 = oMain.oUtilities.getMaxCode("@EAHCM_TGM", "Code")

oMain.oUtilities.setEdittextvalue(oForm, "Code", docent1)

Regards,

Jananisuba S