I'm working with Axapta 2.5 SP4 and trying to modify system field
'createdBy' in SalesLine. There is method 'overWriteSystemfields' for it. I
tired a few combinations with this method, such as:

   SalesLine.overWriteSystemfields(true);
    while select forupdate SalesLine
        where SalesLine.SalesId == '20031301'
    {
   SalesLine.(fieldname2id(SalesLine.TableId,"createdBy")) = "Axuser";
   SalesLine.doUpdate();
    }

but with no result. How the method 'overWriteSystemfields' works? Has any
limitations of using? Is there any workaround to modify 'createdBy' field?

Best Regards

Tomasz Dudek
Integris
[EMAIL PROTECTED]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
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/
 


Reply via email to