Skip to content
Snippets Groups Projects
Commit ef4581a8 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Salesorderitem: grantCreate used wrong $field-variable accessor

parent 3e79cd4e
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ import("Order_lib");
var itemcount = newSelect("count(*)")
.from("SALESORDERITEM")
.whereIfSet("SALESORDERITEM.SALESORDER_ID", "$field.SALESORDERID")
.whereIfSet("SALESORDERITEM.SALESORDER_ID", "$field.SALESORDER_ID")
.cell(true, "0");
if (vars.get("$field.OrderStatus") == undefined){
......
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