Skip to content
Snippets Groups Projects
Commit e35b9dae authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

Merge branch 'FixDSGVOBugs' into '2021.0'

FixDSGVOBugs afteroperatingstate cannot find the operating state

See merge request xrm/basic!870
parents 4b699fdc 4d9a638e
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,8 @@
<column name="USER_NEW" type="NVARCHAR(50)" />
<column name="DATE_NEW" type="DATETIME" />
</createTable>
<createIndex tableName="DSGVODELETEFLAG" indexName="IDX_DSGVODELETEFLAG_CONTACT_ID">
<column name="CONTACT_ID"/>
</createIndex>
</changeSet>
<createIndex tableName="DSGVODELETEFLAG" indexName="IDX_DSGVODELETEFLAG_CONTACT_ID">
<column name="CONTACT_ID"/>
</createIndex>
</databaseChangeLog>
\ No newline at end of file
......@@ -6,8 +6,8 @@ if (vars.exists("$field.AddressSearch"))
{
neon.setFieldValue("$field.AddressSearch", "");//why is this needed?
}
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_VIEW)
if(vars.exists("$sys.operatingstate") && vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_VIEW)
{
vars.set("$context.PushDataPrivacyNotification", "false");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment