Skip to content
Snippets Groups Projects
Commit f2a798c6 authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

Merge branch 'sales_2003545_productprice_price_productid_displayvalue' into '2021.2'

[Projekt: xRM-Sales][TicketNr.: 2003545][Preisvorschlag im Produktpreis...

See merge request xrm/basic!1607
parents 544c0a64 c97d5fe7
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,7 @@ ...@@ -69,6 +69,7 @@
<mandatory v="true" /> <mandatory v="true" />
<stateProcess>%aditoprj%/entity/Productprice_entity/entityfields/product_id/stateProcess.js</stateProcess> <stateProcess>%aditoprj%/entity/Productprice_entity/entityfields/product_id/stateProcess.js</stateProcess>
<valueProcess>%aditoprj%/entity/Productprice_entity/entityfields/product_id/valueProcess.js</valueProcess> <valueProcess>%aditoprj%/entity/Productprice_entity/entityfields/product_id/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Productprice_entity/entityfields/product_id/displayValueProcess.js</displayValueProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>CONTACT_ID</name> <name>CONTACT_ID</name>
...@@ -117,10 +118,6 @@ ...@@ -117,10 +118,6 @@
<valueProcess>%aditoprj%/entity/Productprice_entity/entityfields/pricelist/valueProcess.js</valueProcess> <valueProcess>%aditoprj%/entity/Productprice_entity/entityfields/pricelist/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Productprice_entity/entityfields/pricelist/displayValueProcess.js</displayValueProcess> <displayValueProcess>%aditoprj%/entity/Productprice_entity/entityfields/pricelist/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/Productprice_entity/entityfields/pricelist/onValueChange.js</onValueChange> <onValueChange>%aditoprj%/entity/Productprice_entity/entityfields/pricelist/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
<element>PROCESS_SETVALUE</element>
</onValueChangeTypes>
</entityField> </entityField>
<entityParameter> <entityParameter>
<name>ProductId_param</name> <name>ProductId_param</name>
......
import("system.result");
import("system.neon");
import("system.vars");
import("Sql_lib");
if(vars.get("$sys.operatingstate") === neon.OPERATINGSTATE_NEW)
{
result.string(
newSelect("PRODUCT.PRODUCTNAME")
.from("PRODUCT")
.where("PRODUCT.PRODUCTID", vars.get("$field.PRODUCT_ID"))
.cell()
);
}
import("Offer_lib");
import("Contact_lib"); import("Contact_lib");
import("OfferOrder_lib"); import("OfferOrder_lib");
import("system.neon"); import("system.neon");
......
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