Skip to content
Snippets Groups Projects
Commit e6f212f1 authored by Pascal Neub's avatar Pascal Neub
Browse files

[Projekt: xRM-Sales][TicketNr.: 1074277][Fehler bei Status Änderung in Angebotserstellung ]

parent 09a1fd23
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,11 @@ import("system.neon");
import("Offer_lib");
import("KeywordRegistry_basic");
result.string(OfferUtils.isEditable(vars.get("$field.STATUS")) || vars.get("$field.STATUS") == $KeywordRegistry.offerStatus$sent() ? neon.COMPONENTSTATE_AUTO : neon.COMPONENTSTATE_DISABLED);
\ No newline at end of file
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW)
{
result.string(neon.COMPONENTSTATE_READONLY);
}
else
{
result.string(OfferUtils.isEditable(vars.get("$field.STATUS")) || vars.get("$field.STATUS") == $KeywordRegistry.offerStatus$sent() ? neon.COMPONENTSTATE_AUTO : neon.COMPONENTSTATE_DISABLED);
}
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