‎2006 Aug 10 10:19 PM
Hi all,
I have a program to copy data from one internal order to other internal order.for ex ; i have internal order 001 i need to copy all data of 001 to 002 . My program is working fine .But i have field called long text after 1 st execution program its not copying to 002 but if i execute 2nd time its copying . is there any problem with my commit work and wait statement.
Thanks,
‎2006 Aug 10 10:27 PM
Hi,
If you are using SAVE_TEXT to save the long text then pass the value 'X' in the parameter SAVEMODE_DIRECT. This might work..
THanks,
Naren
‎2006 Aug 10 10:27 PM
Hi,
If you are using SAVE_TEXT to save the long text then pass the value 'X' in the parameter SAVEMODE_DIRECT. This might work..
THanks,
Naren
‎2006 Aug 10 10:31 PM
Naredran ,
Iam passing 'x' to savemode_direct .But still its not working..
‎2006 Aug 10 10:33 PM
Are you first creating the internal order 002 as a copy of 001 and then adding the long text to 002 using SAVE_TEXT? In that case, yes you are missing the COMMIT AND WAIT after the creation of internal order 002.
‎2006 Aug 10 10:34 PM
Yes the document for which you are trying to upload text is not yet committed so you cannot save the text for that document.
‎2006 Aug 10 10:39 PM
Hi ,
I need pass 'x' to parameter insert in save_text F.m.
As always,thanks for your help.