From 86c0fb30c96b7cc0324ad0f2ff8ecb53fa313c8a Mon Sep 17 00:00:00 2001 From: Hans Bakker Date: Tue, 30 Mar 2010 04:15:24 +0000 Subject: [PATCH] add delete customer request in draft status service git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928974 13f79535-47bb-0310-9956-ffa450edef68 --- .../order/config/OrderErrorUiLabels.xml | 11 +++++++---- .../order/request/CustRequestServices.xml | 19 ++++++++++++++++--- .../order/servicedef/services_request.xml | 6 ++++++ 3 files changed, 29 insertions(+), 7 deletions(-) diff --git a/applications/order/config/OrderErrorUiLabels.xml b/applications/order/config/OrderErrorUiLabels.xml index f71f95bdb0..65a29e2d7f 100644 --- a/applications/order/config/OrderErrorUiLabels.xml +++ b/applications/order/config/OrderErrorUiLabels.xml @@ -19,10 +19,6 @@ under the License. --> - - Can't only update CustRequest, when status is in-process...is now: ${custRequest.statusId} - Não se pode apenas atualizar CustRequest, quando o estado está "em processamento"... é agora: ${custRequest.statusId} - A Product Store MUST be selected for a Sales Order. Se debe seleccionar una tienda para un pedido de venta @@ -205,6 +201,13 @@ การอัพเดทบนบัตรพบว่ามีข้อยกเว้นการวิเคราะห์ 更新购物车时发生解析错误。 + + Can only update customer request, when status is in-process...is now: ${custRequest.statusId} + Não se pode apenas atualizar CustRequest, quando o estado está "em processamento"... é agora: ${custRequest.statusId} + + + Can only delete customer request in 'draft' status, status is now however: ${custRequest.statusId} + Could not find OrderHeader for orderId [ ${orderId} ] in getProductStoreFromOrder, returning null No se pudo obtener encabezado del pedido para el código [ ${orderId} ] en la obtención de la tienda para los productos del pedido, retornando un valor nulo. diff --git a/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml b/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml index 4fcd65a402..85d87142c5 100644 --- a/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml +++ b/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml @@ -101,6 +101,19 @@ under the License. + + + + + + + + + + + + + @@ -184,8 +197,8 @@ under the License. - - + + @@ -503,7 +516,7 @@ under the License. - + diff --git a/applications/order/servicedef/services_request.xml b/applications/order/servicedef/services_request.xml index 8c469bee6c..dad6e0639c 100644 --- a/applications/order/servicedef/services_request.xml +++ b/applications/order/servicedef/services_request.xml @@ -56,6 +56,12 @@ under the License. + + Delete a custRequest record in draft status + + + Create CustRequestAttribute record