Hi,
let's start from the method you use to update CUSTOMER record. You
apply F.WRITE to CUSTOMER table which is a core application. Moreover,
you update TARGET field that is a core field and might have a lot of
things attached to its update when it's done properly (either manually
or via OFS). Don't ever do such things if you want your database in
sync.

If you update a local field only, it's ok more or less. But use
F.LIVE.WRITE instead of F.WRITE to have history formed properly.

Even better - never update a core app this way. Create a local
application which holds links between your LD and relevant customers'
IDs and update it however desired (L-type of course).

If you still want to do what you're doing- take a look at:

    CALL F.READ("NF.CUSTOMER", L$CU.ID, L.CUST.REC, FV.CUSTOMER, "")

 NF.CUSTOMER is a variable and you give it as a string. No wonder
F.READ returns "".

And please get rid of this "GOTO  END.PROGRAM" thing.

VK

On Jun 30, 2:15 pm, Kanagaraj Stanley <[email protected]> wrote:
> Dear All,
>
> We are running T24 R06 on Jbase 4.1.
>
> I updated the existing Authorisation routine to update the Insurance Start / 
> Exp
> date in Customer record while First authorisation of LD. It is
> updating for new individual customers belongs to the particular LD,
> but it is not updating for old customers in the same LD.
>
> Note: It is updating the cycle code for all customers. only not
> updating the dates for old customers.
>
> Can any one help me to fix this issue?
>
> Appreciate the quick response.
>
> Kindly let me know if you need more details.
>
> Thanks,
> Kanag.
>
>  A.OGO.CU.UPDATE.CYCLE
> 9KViewDownload

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to