what code should be written on codeunit 5704 to create a GST accounting entry when a transfer order is posted in Nav version 2009r2

Since itsfully customized i am not able to create a gst accounting entry on gl entry table can anyone help me to write the code.