Menu

Data in custom fields not saving. No change detected

2014-12-11
2014-12-15
  • Greg Sacrey

    Greg Sacrey - 2014-12-11

    Hey folks,

    I have created three fields on the customer contract class. I can see them all but can only save data to one of them. I can only save to the Notes field. I tried changing the others to AttributeText but it made no difference. Upon saving the record, it fails. It is like a change flag is not being flipped.

    The code looks like this.

    <class id="user-content-CustomerContract">
    <fields>
    <field id="user-content-Notes" xsi:type="AttributeText" _delta="define">
    <sql>notes</sql>
    <default_value>
    <is_null_allowed>true</is_null_allowed>
    </default_value></field>
    <field id="user-content-Work Order" xsi:type="AttributeString" _delta="define">
    <sql>work_order</sql>
    <default_value>
    <is_null_allowed>true</is_null_allowed>
    </default_value></field>
    <field id="user-content-Supplier Number" xsi:type="AttributeString" _delta="define">
    <sql>supplier_number</sql>
    <default_value>
    <is_null_allowed>true</is_null_allowed>
    </default_value></field>
    </fields>
    <methods>
    <presentation _delta="redefine">
    </presentation></methods></class>

     
  • Marco Lima

    Marco Lima - 2014-12-13

    Have you checked the table in the Database to see what it is storing there?

     
  • Greg Sacrey

    Greg Sacrey - 2014-12-15

    It is not storing anything. However, I solved this. The field id values had spaces in two of the entries. I removed the spaces, cleaned up the columns and had the system recreate them and it worked.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.