Skip to content
Snippets Groups Projects
Commit 29a2debd authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

add salesorder to 360 degree

parent c369040d
No related branches found
No related tags found
No related merge requests found
import("system.vars");
import("system.result");
result.object(["Salesproject", "Offer", "Contract", "Campaign"]);
\ No newline at end of file
import("system.vars");
import("system.result");
result.object(["Salesproject", "Offer", "Contract", "Campaign", "Order"]);
\ No newline at end of file
import("system.vars");
import("system.result");
result.object(["Offer", "Contract", "Campaign"]);
\ No newline at end of file
import("system.vars");
import("system.result");
result.object(["Offer", "Contract", "Campaign", "Order"]);
\ No newline at end of file
......@@ -378,7 +378,7 @@ ContextUtils.getSelectMap = function()
.setJoinExpression("join CONTACT on ORGANISATION.ORGANISATIONID = CONTACT.ORGANISATION_ID and CONTACT.PERSON_ID is null")
.setCondition(SqlCondition.begin().and("ORGANISATION.ORGANISATIONID != '0'"))
.setSubContexts({
"Person": ["select CONTACTID from CONTACT where PERSON_ID is not null and", "CONTACT.ORGANISATION_ID", '', ["Offer", "Contract"]]
"Person": ["select CONTACTID from CONTACT where PERSON_ID is not null and", "CONTACT.ORGANISATION_ID", '', ["Offer", "Order", "Contract"]]
})
,"Person": ContextSelector.create("CONTACT", "CONTACTID")
.setTitleExpression(maskingUtils.concat([
......@@ -434,7 +434,9 @@ ContextUtils.getSelectMap = function()
maskingUtils.cast("VERSNR", SQLTYPES.VARCHAR, 10)
], "", false))
.setContactIdField("CONTACT_ID")
.setCreationDateField("ORDERDATE")
.setCreationDateField("SALESORDERDATE")
.setStateField("STATUS")
.setActiveStates([])
,"Product": ContextSelector.create("PRODUCT", "PRODUCTID")
.setTitleExpression(maskingUtils.concat([
"PRODUCTCODE",
......
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