I think I sort of figured out what the error was. I had defined the
master/detaillink as:
<datasource name="dts_invoice" connection="test" table="invoice"
master="dts_purchaseOrder" masterlink="id" detaillink="uid_po"/>

and also used the fk_key in the block referring to a different column.:
<block name="blk_invoice" datasource="dts_invoice">
<field name="uid_po" field="uid_po"  fk_source="dts_purchaseOrder"
fk_key="id" fk_description="po" required="Y"  />

First of all, I should not have set fk_description=po, after having set it
to "id" in the master/detail. Though removing the fk_description did not
help, using the fk_source and fk_key was not required in the first place. So
I removed that and all I'm fine now.

Thanks Reinhard for looking into this.

On Sun, Feb 27, 2011 at 9:08 PM, Kishan Bhat <[email protected]> wrote:

> I have attached my full gfd and gsd, hope that is ok.
>
> If you move to 2'nd tab and if you tab out of the last gridline from the
> "PO Histroy" box, then you can see that no new record is created.
>
> If you remove the master/detail link for the "id", then you can see new
> records being auto created.
>
> Reinhard, let me know if you need more info.
>
>
> On Sun, Feb 27, 2011 at 8:45 PM, Reinhard Mueller <[email protected]>wrote:
>
>> Hi,
>>
>> Am Sonntag, den 27.02.2011, 17:22 +0530 schrieb Kishan Bhat:
>> > Now, my autoNextRecord="Y" stops working when I move out of the last
>> > block of "purchaseOrder". The moment I remove the master/detail
>> > relationship, the autonextrecord starts working.
>>
>> can you provide me with a small gfd(+gsd) which demonstrates the issue?
>>
>> Thanks,
>> Reinhard
>>
>
>
_______________________________________________
gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnue

Reply via email to