Skip to content
Snippets Groups Projects
Commit 254a215e authored by Tim Kerscher's avatar Tim Kerscher
Browse files

Merge branch 'sales_2028229_initSalesModule' into 'beta'

Sales 2028229 init sales module

See merge request !15
parents 7e1496e1 2b9a3a67
No related branches found
No related tags found
2 merge requests!21[Projekt: xRM-Marketing][TicketNr.: 2043264][[Modularisierung]...,!15Sales 2028229 init sales module
......@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.0.0]
### Removed
- Temporary sales implementations
### Added
- WorkflowSignal_entity: workflowContextWhitelist_service
## [2.0.3]
### Fixed
......
......@@ -105,6 +105,10 @@
<name>#PROVIDER_AGGREGATES</name>
<useAggregates v="true" />
</entityProvider>
<entityServiceDefinition>
<name>workflowContextWhitelist_service</name>
<documentation>%aditoprj%/entity/WorkflowSignal_entity/entityfields/workflowcontextwhitelist_service/documentation.adoc</documentation>
</entityServiceDefinition>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import { result } from "@aditosoftware/jdito-types";
import { modules, result } from "@aditosoftware/jdito-types";
result.object([
let contexts = [
"Activity",
"BulkMail",
"BulkMailRecipient",
"Campaign",
"CampaignStep",
"Contract",
"DocumentTemplate",
"Employee",
"LetterRecipient",
"Offer",
"Order",
"Organisation",
"Person",
"Product",
"Salesproject",
"SerialLetter",
"SupportTicket",
"Task",
"Advertising",
"AdvertisingItem"
]);
\ No newline at end of file
"Task"
];
modules.loadService("workflowContextWhitelist_service")
.forEach(implementation => contexts = contexts.concat(implementation()));
result.object(contexts);
\ No newline at end of file
Expects the implementation to return an array with contexts.
Example:
[source, javascript]
----
//@ts-ignore
return [
"Context",
//...
];
----
\ No newline at end of file
{
"name": "@aditosoftware/workflow",
"version": "2.0.3",
"version": "3.0.0-beta.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@aditosoftware/workflow",
"version": "2.0.3",
"version": "3.0.0-beta.0",
"devDependencies": {
"@aditosoftware/devtools": "^1.0.6",
"@aditosoftware/eslint-config-adito": "^3.3.0",
......
{
"name": "@aditosoftware/workflow",
"version": "2.0.3",
"version": "3.0.0-beta.0",
"adito": {
"type": "module"
},
......
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