Details

    • Type: Bug Bug
    • Status: Rejected Rejected (View Workflow)
    • Priority: Normal Normal
    • Resolution: Cancelled
    • Affects Version/s: UA 4.0.0.10
    • Fix Version/s: UA 4.0.0.10
    • Component/s: FN
    • Labels:
      None Labels
    • Customer:
      OMAN-Tel

      Description

      When no task is completed - the status of the order should be NotYetStarted instead of interrupted

        Activity

        Hide
        Ayed Bada added a comment -

        Dear Mbaye,
        The order moved to Interrupted status due to a call to an external service that returned an error.
        According to the integration logic, if the response message does not contain the success code "1000", the order is automatically set to Interrupted.
        The issue is related to the CUSTOMERDETAILS object sent in the request.
        This object is populated from an external API, which in this case returned an error.
        As a result, several mandatory fields (like FULL_NAME, ACCOUNT_CATEGORY, and CONTACT1_PHONE) were empty, causing the request to fail.
        request :: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
        <SOAP-ENV:Header/>
        <SOAP-ENV:Body>
        <ns3:GetCustomerInfoByNumberResquest xmlns:ns3="http://omantel.om/ordermanagementservice">
        <OT_EAI_HEADER>
        <RequestorId>NEP</RequestorId>
        </OT_EAI_HEADER>
        <Request>
        <ReferenceNo>NEP_1358840324712765</ReferenceNo>
        <externalId>44440023</externalId>
        <externalIdType>200</externalIdType>
        </Request>
        </ns3:GetCustomerInfoByNumberResquest>
        </SOAP-ENV:Body>
        </SOAP-ENV:Envelope>

        response :: <?xml version="1.0" encoding="utf-8"?>
        <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
        <soapenv:Body>
        <NS1:GetCustomerInfoByNumberResponse xmlns:NS1="http://omantel.om/ordermanagementservice">
        <OT_EAI_HEADER>
        <RequestorId>NEP</RequestorId>
        </OT_EAI_HEADER>
        <Response>
        <ReferenceNo>NEP_1358840324712765</ReferenceNo>
        <ReturnCode>9999</ReturnCode>
        <ReturnMessage>
        Please send the correct service type/mobile number ERR200100
        </ReturnMessage>
        </Response>
        </NS1:GetCustomerInfoByNumberResponse>
        </soapenv:Body>
        </soapenv:Envelope>

        Request and response related to CUSTOMERDETAILS and "10000" object

        Endpoint

        POST /FPOmantel/api/OMNInstallation/Createfieldworkorder

        -----------------------------API Response--------------

        <root>
        <Data>
        <Severity>3</Severity>
        <MessageCode>10008</MessageCode>
        <AdditionalInfo>Customer Full Name is required</AdditionalInfo>
        </Data>

        <Data>
        <Severity>3</Severity>
        <MessageCode>10009</MessageCode>
        <AdditionalInfo>Account Category is required</AdditionalInfo>
        </Data>

        <Data>
        <Severity>3</Severity>
        <MessageCode>10011</MessageCode>
        <AdditionalInfo>Customer Contact Phone No is required</AdditionalInfo>
        </Data>

        <Message>
        <Severity>3</Severity>
        <MessageCode>10011</MessageCode>
        <AdditionalInfo>Customer Contact Phone No is required</AdditionalInfo>
        </Message>
        </root>

        -----------------------------Request Sent (Create WO)--------------------------

        <FIELDWORKORDER>

        <WODETAILS>
        <ARBOR_ITEM_ID>4444000163</ARBOR_ITEM_ID>
        <CHANNEL></CHANNEL>
        <CREATE_WHO>96109</CREATE_WHO>
        <FINAL_ERROR></FINAL_ERROR>
        <FINAL_ERROR_CODE></FINAL_ERROR_CODE>
        <IR_REMARKS></IR_REMARKS>
        <ITEM_ID>4444000163</ITEM_ID>
        <LANGUAGE_CODE>1</LANGUAGE_CODE>
        <NETWORK_TYPE>1</NETWORK_TYPE>
        <ORDER_DATE>01-27-2026 01:09:23</ORDER_DATE>
        <ORDER_ID>444400023</ORDER_ID>
        <PLAN_NAME></PLAN_NAME>
        <REQUESTID></REQUESTID>
        <SALES_CODE></SALES_CODE>
        <SERORDNO>4444000163</SERORDNO>
        <SURVEY_DT></SURVEY_DT>
        <TIMS_STATUS>notYetStarted</TIMS_STATUS>
        <USAGE_TYPE>PSTN+ADSL</USAGE_TYPE>
        <USAGE_TYPE_CODE>2</USAGE_TYPE_CODE>
        <VDSL_FLAG>FALSE</VDSL_FLAG>
        <WO_TYPE>INSTALLATION</WO_TYPE>
        <WO_TYPE_CODE>10</WO_TYPE_CODE>
        </WODETAILS>

        <CUSTOMERDETAILS>
        <ACCOUNT_CATEGORY></ACCOUNT_CATEGORY>
        <ACCOUNT_NO></ACCOUNT_NO>
        <ADDRESS></ADDRESS>
        <CONTACT1_PHONE></CONTACT1_PHONE>
        <CONTACT2_PHONE></CONTACT2_PHONE>
        <CUSTOMER_CONTACT></CUSTOMER_CONTACT>
        <FULL_NAME></FULL_NAME>
        <LAT>23.601392</LAT>
        <LONGT>58.237871</LONGT>
        <PHONE_NO>44440023</PHONE_NO>
        </CUSTOMERDETAILS>

        <JOBDETAILS>
        <JOB>
        <COMPLETED_BY></COMPLETED_BY>
        <COMPLETED_ON></COMPLETED_ON>
        <SLNO>1</SLNO>
        <TASK_ID>1</TASK_ID>
        <TASK_ROWID></TASK_ROWID>
        <TASK_TYPE>VOICE SWITCHING</TASK_TYPE>
        </JOB>

        <JOB>
        <COMPLETED_BY></COMPLETED_BY>
        <COMPLETED_ON></COMPLETED_ON>
        <SLNO>2</SLNO>
        <TASK_ID>10</TASK_ID>
        <TASK_ROWID></TASK_ROWID>
        <TASK_TYPE>ADSL - Switch</TASK_TYPE>
        </JOB>

        <JOB>
        <COMPLETED_BY></COMPLETED_BY>
        <COMPLETED_ON></COMPLETED_ON>
        <SLNO>3</SLNO>
        <TASK_ID>38</TASK_ID>
        <TASK_ROWID></TASK_ROWID>
        <TASK_TYPE>Create Subscriber Account in Radius</TASK_TYPE>
        </JOB>

        <JOB>
        <COMPLETED_BY></COMPLETED_BY>
        <COMPLETED_ON></COMPLETED_ON>
        <SLNO>4</SLNO>
        <TASK_ID>16</TASK_ID>
        <TASK_ROWID></TASK_ROWID>
        <TASK_TYPE>EXCHANGE MDF - VOICE+DATA</TASK_TYPE>
        </JOB>

        <JOB>
        <COMPLETED_BY></COMPLETED_BY>
        <COMPLETED_ON></COMPLETED_ON>
        <SLNO>5</SLNO>
        <TASK_ID>4</TASK_ID>
        <TASK_ROWID></TASK_ROWID>
        <TASK_TYPE>PHONE INSTALLATION</TASK_TYPE>
        </JOB>

        <JOB>
        <COMPLETED_BY></COMPLETED_BY>
        <COMPLETED_ON></COMPLETED_ON>
        <SLNO>6</SLNO>
        <TASK_ID>15</TASK_ID>
        <TASK_ROWID></TASK_ROWID>
        <TASK_TYPE>CPE INSTALLATION</TASK_TYPE>
        </JOB>
        </JOBDETAILS>

        <NETWORKDETAILS>
        <ACCESS_NODE_NAME></ACCESS_NODE_NAME>
        <ACCESS_NODE_TYPE></ACCESS_NODE_TYPE>
        <AN_SEC_SIDE_SPLITTER_PORT></AN_SEC_SIDE_SPLITTER_PORT>
        <AP_NO></AP_NO>
        <AP_SEC_SIDE_SPLITTER_PORT></AP_SEC_SIDE_SPLITTER_PORT>
        <CABINET>045M</CABINET>
        <DPOINT>0071</DPOINT>
        <DROP_SIDE_DP></DROP_SIDE_DP>
        <DROP_SIDE_SPLITTER_PORT></DROP_SIDE_SPLITTER_PORT>
        <EXC>OB72</EXC>
        <EXCHANGE_CABLE_PAIR></EXCHANGE_CABLE_PAIR>
        <FDH_NO></FDH_NO>
        <FDH_SEC_SIDE_SPLITTER_PORT></FDH_SEC_SIDE_SPLITTER_PORT>
        <GPON_PORT></GPON_PORT>
        <LINE_STATUS></LINE_STATUS>
        <MDFH></MDFH>
        <MDFV></MDFV>
        <MOTHER_EXC>AKO2</MOTHER_EXC>
        <NEW_EQN></NEW_EQN>
        <OLD_EQN></OLD_EQN>
        <PREV_NEW_EQN></PREV_NEW_EQN>
        <PREV_OLD_EQN></PREV_OLD_EQN>
        <PREV_PHONE_NO></PREV_PHONE_NO>
        <PRIMARY_CABLE_PAIR_NO></PRIMARY_CABLE_PAIR_NO>
        <PRIMARY_SIDE_CABINET_PORT></PRIMARY_SIDE_CABINET_PORT>
        <PRIMARY_SIDE_SPLITTER_PORT></PRIMARY_SIDE_SPLITTER_PORT>
        <REGION>MUSCAT</REGION>
        <SECONDARY_SIDE_CABINET_PORT></SECONDARY_SIDE_CABINET_PORT>
        <SECONDARY_SIDE_DP_PORT></SECONDARY_SIDE_DP_PORT>
        <SPLICING_ODF_PORT></SPLICING_ODF_PORT>
        <SPLITTING_ODF_PORT></SPLITTING_ODF_PORT>
        <TERMINATION_ODF_PORT></TERMINATION_ODF_PORT>
        </NETWORKDETAILS>

        </FIELDWORKORDER>

        Show
        Ayed Bada added a comment - Dear Mbaye, The order moved to Interrupted status due to a call to an external service that returned an error. According to the integration logic, if the response message does not contain the success code "1000", the order is automatically set to Interrupted. The issue is related to the CUSTOMERDETAILS object sent in the request. This object is populated from an external API, which in this case returned an error. As a result, several mandatory fields (like FULL_NAME, ACCOUNT_CATEGORY, and CONTACT1_PHONE) were empty, causing the request to fail. request :: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <ns3:GetCustomerInfoByNumberResquest xmlns:ns3="http://omantel.om/ordermanagementservice"> <OT_EAI_HEADER> <RequestorId>NEP</RequestorId> </OT_EAI_HEADER> <Request> <ReferenceNo>NEP_1358840324712765</ReferenceNo> <externalId>44440023</externalId> <externalIdType>200</externalIdType> </Request> </ns3:GetCustomerInfoByNumberResquest> </SOAP-ENV:Body> </SOAP-ENV:Envelope> response :: <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <NS1:GetCustomerInfoByNumberResponse xmlns:NS1="http://omantel.om/ordermanagementservice"> <OT_EAI_HEADER> <RequestorId>NEP</RequestorId> </OT_EAI_HEADER> <Response> <ReferenceNo>NEP_1358840324712765</ReferenceNo> <ReturnCode>9999</ReturnCode> <ReturnMessage> Please send the correct service type/mobile number ERR200100 </ReturnMessage> </Response> </NS1:GetCustomerInfoByNumberResponse> </soapenv:Body> </soapenv:Envelope> Request and response related to CUSTOMERDETAILS and "10000" object Endpoint POST /FPOmantel/api/OMNInstallation/Createfieldworkorder ----------------------------- API Response -------------- <root> <Data> <Severity>3</Severity> <MessageCode>10008</MessageCode> <AdditionalInfo>Customer Full Name is required</AdditionalInfo> </Data> <Data> <Severity>3</Severity> <MessageCode>10009</MessageCode> <AdditionalInfo>Account Category is required</AdditionalInfo> </Data> <Data> <Severity>3</Severity> <MessageCode>10011</MessageCode> <AdditionalInfo>Customer Contact Phone No is required</AdditionalInfo> </Data> <Message> <Severity>3</Severity> <MessageCode>10011</MessageCode> <AdditionalInfo>Customer Contact Phone No is required</AdditionalInfo> </Message> </root> ----------------------------- Request Sent (Create WO) -------------------------- <FIELDWORKORDER> <WODETAILS> <ARBOR_ITEM_ID>4444000163</ARBOR_ITEM_ID> <CHANNEL></CHANNEL> <CREATE_WHO>96109</CREATE_WHO> <FINAL_ERROR></FINAL_ERROR> <FINAL_ERROR_CODE></FINAL_ERROR_CODE> <IR_REMARKS></IR_REMARKS> <ITEM_ID>4444000163</ITEM_ID> <LANGUAGE_CODE>1</LANGUAGE_CODE> <NETWORK_TYPE>1</NETWORK_TYPE> <ORDER_DATE>01-27-2026 01:09:23</ORDER_DATE> <ORDER_ID>444400023</ORDER_ID> <PLAN_NAME></PLAN_NAME> <REQUESTID></REQUESTID> <SALES_CODE></SALES_CODE> <SERORDNO>4444000163</SERORDNO> <SURVEY_DT></SURVEY_DT> <TIMS_STATUS>notYetStarted</TIMS_STATUS> <USAGE_TYPE>PSTN+ADSL</USAGE_TYPE> <USAGE_TYPE_CODE>2</USAGE_TYPE_CODE> <VDSL_FLAG>FALSE</VDSL_FLAG> <WO_TYPE>INSTALLATION</WO_TYPE> <WO_TYPE_CODE>10</WO_TYPE_CODE> </WODETAILS> <CUSTOMERDETAILS> <ACCOUNT_CATEGORY></ACCOUNT_CATEGORY> <ACCOUNT_NO></ACCOUNT_NO> <ADDRESS></ADDRESS> <CONTACT1_PHONE></CONTACT1_PHONE> <CONTACT2_PHONE></CONTACT2_PHONE> <CUSTOMER_CONTACT></CUSTOMER_CONTACT> <FULL_NAME></FULL_NAME> <LAT>23.601392</LAT> <LONGT>58.237871</LONGT> <PHONE_NO>44440023</PHONE_NO> </CUSTOMERDETAILS> <JOBDETAILS> <JOB> <COMPLETED_BY></COMPLETED_BY> <COMPLETED_ON></COMPLETED_ON> <SLNO>1</SLNO> <TASK_ID>1</TASK_ID> <TASK_ROWID></TASK_ROWID> <TASK_TYPE>VOICE SWITCHING</TASK_TYPE> </JOB> <JOB> <COMPLETED_BY></COMPLETED_BY> <COMPLETED_ON></COMPLETED_ON> <SLNO>2</SLNO> <TASK_ID>10</TASK_ID> <TASK_ROWID></TASK_ROWID> <TASK_TYPE>ADSL - Switch</TASK_TYPE> </JOB> <JOB> <COMPLETED_BY></COMPLETED_BY> <COMPLETED_ON></COMPLETED_ON> <SLNO>3</SLNO> <TASK_ID>38</TASK_ID> <TASK_ROWID></TASK_ROWID> <TASK_TYPE>Create Subscriber Account in Radius</TASK_TYPE> </JOB> <JOB> <COMPLETED_BY></COMPLETED_BY> <COMPLETED_ON></COMPLETED_ON> <SLNO>4</SLNO> <TASK_ID>16</TASK_ID> <TASK_ROWID></TASK_ROWID> <TASK_TYPE>EXCHANGE MDF - VOICE+DATA</TASK_TYPE> </JOB> <JOB> <COMPLETED_BY></COMPLETED_BY> <COMPLETED_ON></COMPLETED_ON> <SLNO>5</SLNO> <TASK_ID>4</TASK_ID> <TASK_ROWID></TASK_ROWID> <TASK_TYPE>PHONE INSTALLATION</TASK_TYPE> </JOB> <JOB> <COMPLETED_BY></COMPLETED_BY> <COMPLETED_ON></COMPLETED_ON> <SLNO>6</SLNO> <TASK_ID>15</TASK_ID> <TASK_ROWID></TASK_ROWID> <TASK_TYPE>CPE INSTALLATION</TASK_TYPE> </JOB> </JOBDETAILS> <NETWORKDETAILS> <ACCESS_NODE_NAME></ACCESS_NODE_NAME> <ACCESS_NODE_TYPE></ACCESS_NODE_TYPE> <AN_SEC_SIDE_SPLITTER_PORT></AN_SEC_SIDE_SPLITTER_PORT> <AP_NO></AP_NO> <AP_SEC_SIDE_SPLITTER_PORT></AP_SEC_SIDE_SPLITTER_PORT> <CABINET>045M</CABINET> <DPOINT>0071</DPOINT> <DROP_SIDE_DP></DROP_SIDE_DP> <DROP_SIDE_SPLITTER_PORT></DROP_SIDE_SPLITTER_PORT> <EXC>OB72</EXC> <EXCHANGE_CABLE_PAIR></EXCHANGE_CABLE_PAIR> <FDH_NO></FDH_NO> <FDH_SEC_SIDE_SPLITTER_PORT></FDH_SEC_SIDE_SPLITTER_PORT> <GPON_PORT></GPON_PORT> <LINE_STATUS></LINE_STATUS> <MDFH></MDFH> <MDFV></MDFV> <MOTHER_EXC>AKO2</MOTHER_EXC> <NEW_EQN></NEW_EQN> <OLD_EQN></OLD_EQN> <PREV_NEW_EQN></PREV_NEW_EQN> <PREV_OLD_EQN></PREV_OLD_EQN> <PREV_PHONE_NO></PREV_PHONE_NO> <PRIMARY_CABLE_PAIR_NO></PRIMARY_CABLE_PAIR_NO> <PRIMARY_SIDE_CABINET_PORT></PRIMARY_SIDE_CABINET_PORT> <PRIMARY_SIDE_SPLITTER_PORT></PRIMARY_SIDE_SPLITTER_PORT> <REGION>MUSCAT</REGION> <SECONDARY_SIDE_CABINET_PORT></SECONDARY_SIDE_CABINET_PORT> <SECONDARY_SIDE_DP_PORT></SECONDARY_SIDE_DP_PORT> <SPLICING_ODF_PORT></SPLICING_ODF_PORT> <SPLITTING_ODF_PORT></SPLITTING_ODF_PORT> <TERMINATION_ODF_PORT></TERMINATION_ODF_PORT> </NETWORKDETAILS> </FIELDWORKORDER>

          People

          • Assignee:
            Mbaye Lo
            Reporter:
            Mbaye Lo
            Rejected By:
            Ayed Bada
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:
              Planned Start:
              Planned End:
              Actual Start:
              Date of Baselining:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 hours, 30 minutes
              2h 30m

                Drag and Drop