Skip to Content
0
Former Member
Mar 01, 2007 at 05:39 AM

Obatin BaseEntry of INV1 from Datasource.

27 Views

Hi,

i want to find the baseentry of the current Invoice. I am using the following code:

datasourece = oForm.datasources.dbdatasources.item("inv1")
strBaseEntry = datasource.getValue("BaseEntry",0)

strBaseEntry

always returns a null, even its base is a sales order. i can get it from UI if i make the column visible...but this wouldn't be a solution.

but first of all, why isn't the baseentry getting returned from the datasource?

rgds,

lakshman.