Skip to content
Snippets Groups Projects
Commit e3b35b20 authored by Maximilian Schröger's avatar Maximilian Schröger
Browse files

Bugfix Offer Language

parent 15f50f19
No related branches found
No related tags found
No related merge requests found
......@@ -35,14 +35,6 @@
<contentType>DATE</contentType>
<valueProcess>%aditoprj%/entity/Offer_entity/entityfields/date_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>LANGUAGE</name>
<tableName>OFFER</tableName>
<columnName>LANGUAGE</columnName>
<caption>Language</caption>
<mandatory v="true" />
<possibleItemsProcess>%aditoprj%/entity/Offer_entity/entityfields/language/possibleItemsProcess.js</possibleItemsProcess>
</entityField>
<entityField>
<name>OFFERCODE</name>
<tableName>OFFER</tableName>
......@@ -218,6 +210,15 @@
</entityDependency>
</dependencies>
</entityIncomingField>
<entityField>
<name>LANGUAGE</name>
<tableName>OFFER</tableName>
<columnName>LANGUAGE</columnName>
<caption>Language</caption>
<mandatory v="true" />
<outgoingField></outgoingField>
<possibleItemsProcess>%aditoprj%/entity/Offer_entity/entityfields/language/possibleItemsProcess.js</possibleItemsProcess>
</entityField>
</entityFields>
<linkInformation>
<linkInformation>
......
......@@ -7,5 +7,5 @@ if(relid != "")
{
var relData = db.array(db.ROW, "select LANGUAGE from RELATION where RELATIONID = '" + relid + "'");
vars.set("$field.LANGUAGE", relData[0]);
if(relData[0] != "") vars.set("$field.LANGUAGE", relData[0]);
}
\ No newline at end of file
......@@ -26,7 +26,7 @@
<entityField>OFFERDATE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>ca883d2e-f391-4681-b9f7-72040d4b9669</name>
<name>7ab3eb65-b713-4251-9eb1-3119432565f5</name>
<entityField>LANGUAGE</entityField>
</entityFieldLink>
<entityFieldLink>
......
......@@ -29,7 +29,7 @@
<entityField>STATUS</entityField>
</entityFieldLink>
<entityFieldLink>
<name>7a145c84-dc49-4af2-870f-44960dd89d12</name>
<name>423cf3fa-49d7-4c48-bd8f-1fc05a14cb1a</name>
<entityField>LANGUAGE</entityField>
</entityFieldLink>
<entityFieldLink>
......
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