>-- Oprindelig Besked --
>To: [EMAIL PROTECTED]
>From: "agramm2000" <[EMAIL PROTECTED]>
>Date: Thu, 22 Jan 2004 13:55:52 -0000
>Subject: [development-axapta] Re: overwritesystemfields doesnt work
>Reply-To: [EMAIL PROTECTED]
>
>
>--- In [EMAIL PROTECTED], Henrik �sterg�rd
><[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Could anyone please tell me why the systemfield "ModifiedBy" doesnt
>seem
>> to be updated.
>> Its for an conversion from XAL, where some transacts uses these
>fields.
>> Dirty trick would be to make a new field, but I would rather not.
>>
>>
>> ttsbegin
>> cg = custgroup::find("test1",true);
>>
>> info(cg.modifiedby);
>> cg.overwriteSystemfields(true);
>> cg.(fieldname2id(cg.TableId,"modifiedBy")) = "test";
>> cg.update();
>>
>> ttscommit;
>> info(cg.modifiedby);
>>
>> Rgz, Henrik
>
>Did you enable "Modified By" in property of table custgroup?
>It it not enabled in standard.
>
>Regards
>Andi
Hi Andi
I did now, but it didnt help.
rqz, Henrik
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/