Jump to content

Recommended Posts

Posted

Hello All, 

I was wondering if anyone could provide some quick direction. I've never done a contract line update call but I cannot get any of these calls to go through to update billing start/end dates. Little help? 

<CONTRACTDETAIL>

                        <RECORDNO>19297</RECORDNO>

                        <CONTRACTKEY>943</CONTRACTKEY>

                        <CONTRACTID>0CZ</CONTRACTID>

                        <LINENO>1</LINENO>

                        <PERIOD></PERIOD>

                        <BEGINDATE>2024-01-01</BEGINDATE>

                        <ENDDATE>2024-12-30</ENDDATE>

  </CONTRACTDETAIL>

 

  <errormessage>

                <error>

                    <errorno>BL03000018</errorno>

                    <description></description>

                    <description2>runobject: Required field &#039;Email address&#039; is missing. [Support ID: S6m9s1-WEB001%7EZ3dfBP5o0J74YM89ZyoseQAAAA4]</description2>

                    <correction></correction>

                </error>

                <error>

                    <errorno>BL01001973</errorno>

                    <description></description>

                    <description2>Unable to validate runobject record</description2>

                    <correction></correction>

                </error>

                <error>

                    <errorno>BL01001973</errorno>

                    <description></description>

                    <description2>Could not create runobject record</description2>

                    <correction></correction>

                </error>

                <error>

                    <errorno>BL01001973</errorno>

                    <description></description>

                    <description2>Could not add values in the Run Object</description2>

                    <correction></correction>

                </error>

                <error>

                    <errorno>BL01001973</errorno>

                    <description></description>

                    <description2>Could not edit the record</description2>

                    <correction></correction>

  • Members
Posted

Is there a required custom field on the contract line or contract header object that must be populated? Do you get the same error when trying to update this line directly in the user interface as well?

Posted

LS! What is gucci?! CA West Coast in the house. 

Wow...this is embarrassing. Yes. I did have a required line level field in that demo environment. But, even after deleting the field I am still getting the same error. 

I also ran the call in another environment on a valid contract line and am still getting the same error. 

  • Members
Posted

Frankie,
I just tested and it worked with no error. I ran this at the top level.

Request/Response:
 

<content>
  <function controlid="testControlId">
    <update>
      <CONTRACTDETAIL>
        <RECORDNO>19297</RECORDNO>
        <CONTRACTKEY>943</CONTRACTKEY>
        <CONTRACTID>0CZ</CONTRACTID>
        <LINENO>1</LINENO>
        <PERIOD></PERIOD>
        <BEGINDATE>2024-01-01</BEGINDATE>
        <ENDDATE>2024-12-30</ENDDATE>
      </CONTRACTDETAIL>
    </update>
  </function>
</content>


<?xml version="1.0" encoding="UTF-8"?>
<response>
      <control>
            <status>success</status>
            <senderid>******</senderid>
            <controlid>ControlIdHere</controlid>
            <uniqueid>false</uniqueid>
            <dtdversion>3.0</dtdversion>
      </control>
      <operation>
            <authentication>
                  <status>success</status>
                  <userid>****</userid>
                  <companyid>*******</companyid>
                  <locationid></locationid>
                  <sessiontimestamp>*******</sessiontimestamp>
                  <sessiontimeout>********</sessiontimeout>
            </authentication>
            <result>
                  <status>success</status>
                  <function>update</function>
                  <controlid>testControlId</controlid>
                  <data listtype="objects" count="1">
                        <contractdetail>
                              <RECORDNO>19297</RECORDNO>
                        </contractdetail>
                  </data>
            </result>
      </operation>
</response>

 

  • Like 1
Posted

Yo LS, disregard...super embarrassing. I was missing an email on the contract record for the Web Services user....call now goes through as thought. 

 

Thanks as always for the amazing help! 

×
×
  • Create New...