--- displayed_sidebar: servicesSidebar --- import TypeList from "@site/src/components/TypeList" # OrderEditService ## constructor ### Parameters ___ ## Properties `","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"__moduleDeclaration__","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderEditService"/> ___ ## Accessors ### activeManager\_ #### Returns ### inventoryService\_ #### Returns ___ ## Methods ### withTransaction #### Parameters #### Returns ### shouldRetryTransaction\_ #### Parameters ` \\| `object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="shouldRetryTransaction_"/> #### Returns ### atomicPhase\_ Wraps some work within a transactional block. If the service already has a transaction manager attached this will be reused, otherwise a new transaction manager is created. #### Type Parameters #### Parameters Promise<TResult>","description":"the transactional work to be done","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationOrErrorHandler","type":"`IsolationLevel` \\| (`error`: TError) => Promise<void \\| TResult>","description":"the isolation level to be used for the work.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"maybeErrorHandlerOrDontFail","type":"(`error`: TError) => Promise<void \\| TResult>","description":"Potential error handler","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="atomicPhase_"/> #### Returns ### retrieve #### Parameters #### Returns ### listAndCount #### Parameters #### Returns ### list #### Parameters #### Returns ### create #### Parameters #### Returns ### update #### Parameters #### Returns ### delete #### Parameters #### Returns ### decline #### Parameters #### Returns ### updateLineItem Create or update order edit item change line item and apply the quantity - If the item change already exists then update the quantity of the line item as well as the line adjustments - If the item change does not exist then create the item change of type update and apply the quantity as well as update the line adjustments #### Parameters #### Returns ### removeLineItem #### Parameters #### Returns ### refreshAdjustments #### Parameters #### Returns ### decorateTotals #### Parameters #### Returns ### addLineItem #### Parameters #### Returns ### deleteItemChange #### Parameters #### Returns ### requestConfirmation #### Parameters #### Returns ### cancel #### Parameters #### Returns ### confirm #### Parameters #### Returns ### retrieveActive #### Parameters #### Returns ### deleteClonedItems #### Parameters #### Returns ### isOrderEditActive #### Parameters #### Returns