Errors in existing scrips

Errors in existing scrips

In my ongoing research to figure out how to set up dynamic picklists using deluge I have enountered a few initial issues with my 'Chemicals' application.

The first issue I've noticed is that the existing script in one of my applications produces errors even though I have NOT modified the script.

Example #1, my 'Tasks' tab generates the following error when I click the 'Save Script' button even though I haven't made any changes to the script:

Error modifying the page
Encountered "Date" at line 40, column 9.
Was expecting one of:
")" ...
<IDENTIFIER> ...
<S_QUOTED_IDENTIFIER> ...

Example #2, my 'Notes' tab generates the following error when I click the 'Save Script' button even though I haven't made any changes to the script:

Error modifying the page
Encountered "Date" at line 55, column 9.
Was expecting one of:
")" ...
<IDENTIFIER> ...
<S_QUOTED_IDENTIFIER> ...

And finally example #3, my 'Add Data' tab generates the following error when I click the 'Save Script' button even though I haven't made any changes to the script:

Error modifying the page
Error at line:317
Date is a keyword in deluge script. It cannot be used as field name. However you can set the 'displayname' property of the field to "Date"

Deluge obviously doesn't like the coding yet the form still appears to function as normal. However, until the issue with Deluge is resolved, it won't allow me to code the other features I wish to code myself.

The second issue has to do with incongruent 'form names'.

For example here you will see 'Add_Supplier' and 'Supplier' referenced even though I replaced 'Add_Supplier' with Add_Company' months ago. The same holds true for 'must have supplier' which I believe should be 'must have company'

form Add_Suppliers
{
displayname = "Add Company"

must have Supplier
(
displayname = "Company"
type = text
)

Is this old code that was pulled in from a previous version that was never replaced or cleaned up? I would like to change it simply for consistancy sake (once less thing to confuse me)