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

[Projekt: Entwicklung - Neon][TicketNr.: 1030784][Vertriebsprojekt - Neues...

[Projekt: Entwicklung - Neon][TicketNr.: 1030784][Vertriebsprojekt - Neues Angebot erstellen - Es passiert nichts]
parent 7fa88373
No related branches found
No related tags found
No related merge requests found
import("system.result");
import("system.vars");
if (vars.exists("$param.SalesprojectId_param"))
{
result.string(vars.get("$param.SalesprojectId_param"));
}
\ No newline at end of file
......@@ -289,7 +289,9 @@
<entityActionField>
<name>newOffer</name>
<fieldType>ACTION</fieldType>
<documentation>%aditoprj%/entity/Salesproject_entity/entityfields/newoffer/documentation.adoc</documentation>
<title>New offer</title>
<description>Opens the Offer context in NEW-Mode and fills salesproject and relation.</description>
<onActionProcess>%aditoprj%/entity/Salesproject_entity/entityfields/newoffer/onActionProcess.js</onActionProcess>
</entityActionField>
<entityOutgoingField>
......
== New Offer ==
Calls Offer_lib.OfferUtils.createNewOffer(pSalesprojectId, pRelationId) which opens the offer_ontext in new-mode and fills salesproject and relation.
\ No newline at end of file
import("system.vars");
import("Offer_lib");
OfferUtils.createNewOffer(vars.get("$field.SALESPROJECTID"), vars.get("$field.RELATION_ID"));
\ No newline at end of file
......@@ -63,7 +63,7 @@ OfferUtils.isEditable = function(status) {
}
/**
* Create a new offer
* Create a new offer and open the offer context in NEW-mode
*/
OfferUtils.createNewOffer = function(pSalesprojectId, pRelationId)
{
......
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