# CheckResultRetcode Gets the value of the retcode field of [MqlTradeCheckResult](/en/docs/constants/structures/mqltradecheckresult) type, filled while checking the request correctness. ``` uint  CheckResultRetcode() const  ``` Return Value The value of the retcode field (error code) of [MqlTradeCheckResult](/en/docs/constants/structures/mqltradecheckresult) type filled while checking the request correctness.