예제 #1
0
        /// <summary>
        /// Perform Process.
        /// </summary>
        /// <returns>message</returns>
        protected override String DoIt()
        {
            MRfQResponse response = new MRfQResponse(GetCtx(), _C_RfQResponse_ID, Get_TrxName());

            log.Info("doIt - " + response);
            String error = response.GetRfQ().CheckQuoteTotalAmtOnly();

            if (error != null && error.Length > 0)
            {
                throw new Exception(error);
            }
            //	Send it
            if (response.SendRfQ())
            {
                return("OK");
            }
            //
            return("@Error@");
        }