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

[Projekt: xRM-Sales][TicketNr.: 1077016][0% Rabatt im Angebot wird unterschiedlich angezeigt.]

parent 82159be7
No related branches found
No related tags found
No related merge requests found
......@@ -401,6 +401,10 @@
<name>PRODUCT_ID.displayValue</name>
<expression>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/recordfieldmappings/product_id.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DISCOUNT.displayValue</name>
<expression>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/recordfieldmappings/discount.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
</recordFieldMappings>
<linkInformation>
<linkInformation>
......
import("system.result");
import("Sql_lib");
result.string(SqlBuilder.caseWhen(newWhere("OFFERITEM.DISCOUNT is null")).then("0").elseValue("OFFERITEM.DISCOUNT").toString());
\ No newline at end of file
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