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

Merge branch 'sales_fixProductAdvertisingTinyInt' into '2021.2.0'

fix advertisingItem check for 1 instead of y

See merge request xrm/basic!1319
parents 6902540c 2a4a9760
No related branches found
No related tags found
No related merge requests found
......@@ -2,4 +2,4 @@ import("system.translate");
import("Sql_lib");
import("system.result");
result.string(SqlBuilder.caseWhen(newWhere("PRODUCT.ADVERTISING", "Y")).thenString(translate.text("Advertising material")).toString());
\ No newline at end of file
result.string(SqlBuilder.caseWhen(newWhere("PRODUCT.ADVERTISING", "1")).thenString(translate.text("Advertising material")).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