Skip to content

Commit

Permalink
fix: Run business process. (PanJiaChen#2457)
Browse files Browse the repository at this point in the history
* fix: Run business process.

* Remove workflow changes
  • Loading branch information
EdwinBetanc0urt authored Jul 19, 2024
1 parent 94f4032 commit 7076751
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 83 deletions.
78 changes: 0 additions & 78 deletions src/api/ADempiere/process.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ import PanelFooter from '@/components/ADempiere/PanelFooter/index.vue'
// API Request Methods
import {
requestRunBusinessProcess
} from '@/api/ADempiere/businessData/runBusinessProcess.ts'
} from '@/api/ADempiere/business-data/runBusinessProcess.ts'

// Utils and Helper Methods
import { isEmptyValue } from '@/utils/ADempiere/valueUtils'
Expand Down
4 changes: 2 additions & 2 deletions src/store/modules/ADempiere/processManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
requestRunBusinessProcess,
requestRunBusinessProcessAsBrowser,
requestRunBusinessProcessAsWindow
} from '@/api/ADempiere/businessData/runBusinessProcess.ts'
} from '@/api/ADempiere/business-data/runBusinessProcess.ts'

// Constants
import { RECORD_ID } from '@/utils/ADempiere/constants/systemColumns'
Expand Down Expand Up @@ -126,7 +126,7 @@ const processManager = {
}, () => {})

requestRunBusinessProcess({
id: processDefinition.id,
id: processDefinition.internal_id,
parameters
})
.then(runProcessRepsonse => {
Expand Down
2 changes: 1 addition & 1 deletion src/store/modules/ADempiere/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import { requestLanguagesList } from '@/api/ADempiere/system-core.js'
import {
requestRunBusinessProcess as runResetCache
} from '@/api/ADempiere/businessData/runBusinessProcess.ts'
} from '@/api/ADempiere/business-data/runBusinessProcess.ts'

// Constants
import { RESET_CACHE_PROCESS_ID } from '@/utils/ADempiere/constants/process'
Expand Down
2 changes: 1 addition & 1 deletion src/views/ADempiere/Browser/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export default defineComponent({

store.dispatch('getBrowserDefinitionFromServer', {
// id: browserId,
id: browserUuid,
id: browserUuid.value,
parentUuid,
containerUuid
})
Expand Down

0 comments on commit 7076751

Please sign in to comment.