Insert field to table Sales Invoice Header

Hi Everybody.

I need insert data to filed (Created Date) on table Sales Invoice Header. On table Sales Invoice Header I created 1 fileld Created Date.

I want which posting Sales Invoice will write data to this field Created Date:= TODAY. I need insert code to CodeUnit ?

Please help me insert data. Thanks very much.

Thanks everybody. I worked with transaction field