pass a field value from an EP to AX

hi,

How can i pass a field value from an EP to AX using C# coding

Fr Ex: Say we have to pass a SalesId from SalesOrder page in EP to Dataset method in AX.

Please help me out as this is important.

thanx,

krish