Updating POHEAD and PODETAIL

You need to otrans.update (save) the header values 1st, otrans.refresh, do your copy to detail code, and then
do a second save & refresh.

Sounds like the PO BOmmethods involved deal wuth the header 1st and line 2nd (which makes sense).

Why not directly update the table field(s) directly (head and detail) from a single entry of temp data in your header control?

Why waste time trying to update control entered/displayed temp data that hasn't been explicitely written out to the db yet (forcing the 2 step approach described)?

...Just asking... Maybe a good business case for your approach.

Rob
--- Original Message ---
From:dymilano@...
Sent:Fri 12/10/10 4:11 pm
To:vantage@yahoogroups.com
Subj:[Vantage] Updating POHEAD and PODETAIL

I have both UD POHEAD and PODETAIL on same tab in the PO Entry form.

When I try to copy a textbox(POHEAD.shortchar01) to another textbox(PODETAIL.shortchar01) and try to save it, it doesn't save on the PODETAIL table. It simply disappears after save or refresh.

Can anyone help?

Thanks!
I have both UD POHEAD and PODETAIL on same tab in the PO Entry form.

When I try to copy a textbox(POHEAD.shortchar01) to another textbox(PODETAIL.shortchar01) and try to save it, it doesn't save on the PODETAIL table. It simply disappears after save or refresh.

Can anyone help?

Thanks!