diff --git a/applications/product/config/ProductUiLabels.properties b/applications/product/config/ProductUiLabels.properties
index 76739539b2..fbbf34607d 100644
--- a/applications/product/config/ProductUiLabels.properties
+++ b/applications/product/config/ProductUiLabels.properties
@@ -141,6 +141,10 @@ PageTitleEditProductStoreShipSetup=Edit Product Store Ship Setup
PageTitleEditProductStoreSurveys=Edit Product Store Surveys
PageTitleEditProductStoreTaxSetup=Edit Product Store Tax Setup
PageTitleEditProductStoreWebSites=Edit Product Store Web Sites
+PageTitleEditProductSubscriptionResources=Edit Product Subscription Resources
+PageTitleEditSubscription=Edit Subscription
+PageTitleEditSubscriptionResource=Edit Subscription Resource
+PageTitleEditSubscriptionResourceProducts=Edit Subscription Resource Products
PageTitleEditShipmentItems=Edit Shipment Items
PageTitleEditShipmentPackages=Edit Shipment Packages
PageTitleEditShipmentPlan=Edit Shipment Plan
@@ -155,6 +159,8 @@ PageTitleFindProductCatalog=Find Product Catalog
PageTitleFindProductPriceRule=Find Product Price Rule
PageTitleFindProductPromos=Find Product Promos
PageTitleFindProductPromotionCode=Find Product Promotion Code
+PageTitleFindSubscription=Find Subscription
+PageTitleFindSubscriptionResource=Find Subscription Resource
PageTitleViewProductStoreSegments=View Product Store Segments
PageTitleLabelPrinting=Label Printing
PageTitleLogin=Login
@@ -758,6 +764,8 @@ ProductNewSegment=New Segment
ProductNewShipment=New Shipment
ProductNewShipmentEstimate=New Shipment Estimate
ProductNewShipmentMethod=New Shipment Method
+ProductNewSubscription=New Subscription
+ProductNewSubscriptionResource=New Subscription Resource
ProductNewVirtualProduct=New Virtual Product
ProductNextShipment=Next Shipment
ProductNoCategorySpecified=No category specified
@@ -1167,6 +1175,9 @@ ProductStoreSurveyResultTemplatePath=Result Template Path
ProductStores=Stores
ProductStoresFor=Stores For
ProductStyleSheet=Style Sheet
+ProductSubscription=Subscription
+ProductSubscriptions=Subscriptions
+ProductSubscriptionResources=Subscription Resources
ProductSubProduct=SubProduct
ProductSubTitle=Sub-Title
ProductSubject=Subject
diff --git a/applications/product/entitydef/entitygroup.xml b/applications/product/entitydef/entitygroup.xml
index 984ab802f9..0e065abf84 100644
--- a/applications/product/entitydef/entitygroup.xml
+++ b/applications/product/entitydef/entitygroup.xml
@@ -170,7 +170,6 @@
-
@@ -243,6 +242,7 @@
+
diff --git a/applications/product/entitydef/entitymodel.xml b/applications/product/entitydef/entitymodel.xml
index 7cef0874d9..db06435fca 100644
--- a/applications/product/entitydef/entitymodel.xml
+++ b/applications/product/entitydef/entitymodel.xml
@@ -2278,34 +2278,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3592,6 +3564,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/applications/product/script/org/ofbiz/product/subscription/SubscriptionServices.xml b/applications/product/script/org/ofbiz/product/subscription/SubscriptionServices.xml
index bc9e54a8f4..73c06721c1 100644
--- a/applications/product/script/org/ofbiz/product/subscription/SubscriptionServices.xml
+++ b/applications/product/script/org/ofbiz/product/subscription/SubscriptionServices.xml
@@ -19,7 +19,7 @@ under the License.
-
+
@@ -34,7 +34,7 @@ under the License.
-
+
@@ -72,7 +72,7 @@ under the License.
-
+
@@ -83,16 +83,17 @@ under the License.
-
+
-
+
+
-
+
@@ -100,4 +101,29 @@ under the License.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/applications/product/servicedef/services_subscription.xml b/applications/product/servicedef/services_subscription.xml
index 6749af8c4f..48c902c2c1 100644
--- a/applications/product/servicedef/services_subscription.xml
+++ b/applications/product/servicedef/services_subscription.xml
@@ -28,7 +28,6 @@ under the License.
-
Update a Subscription Record
@@ -56,14 +55,31 @@ under the License.
Create a SubscriptionResource Record
-
+
-
Update a SubscriptionResource Record
+
+
+ Create a ProductSubscriptionResource Record
+
+
+
+
+ Update a ProductSubscriptionResource Record
+
+
+
+
+ Delete a ProductSubscriptionResource Record
+
+
diff --git a/applications/product/webapp/catalog/WEB-INF/controller.xml b/applications/product/webapp/catalog/WEB-INF/controller.xml
index 2b6a97ded4..7414461084 100644
--- a/applications/product/webapp/catalog/WEB-INF/controller.xml
+++ b/applications/product/webapp/catalog/WEB-INF/controller.xml
@@ -1369,7 +1369,7 @@
-
+
@@ -1393,6 +1393,79 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2082,6 +2155,8 @@
+
+
@@ -2149,6 +2224,13 @@
+
+
+
+
+
+
+
@@ -2205,6 +2287,8 @@
+
+
@@ -2213,6 +2297,5 @@
-
diff --git a/applications/product/webapp/catalog/includes/appheader.ftl b/applications/product/webapp/catalog/includes/appheader.ftl
index 35da83eda4..372521751a 100644
--- a/applications/product/webapp/catalog/includes/appheader.ftl
+++ b/applications/product/webapp/catalog/includes/appheader.ftl
@@ -1,5 +1,5 @@
<#--
- * Copyright (c) 2003 The Open For Business Project - www.ofbiz.org
+ * Copyright (c) 2003-2006 The Open For Business Project - www.ofbiz.org
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -44,6 +44,7 @@
+
<#if userLogin?has_content>
diff --git a/applications/product/webapp/catalog/product/ProductForms.xml b/applications/product/webapp/catalog/product/ProductForms.xml
index 80d52097eb..3a1721a350 100644
--- a/applications/product/webapp/catalog/product/ProductForms.xml
+++ b/applications/product/webapp/catalog/product/ProductForms.xml
@@ -85,7 +85,7 @@
-
+
@@ -135,7 +135,7 @@
-
+
@@ -143,7 +143,7 @@
-
+
@@ -154,7 +154,7 @@
-
+
@@ -451,8 +451,8 @@
-
-
+
+
@@ -483,7 +483,7 @@
-
+
@@ -610,7 +610,7 @@
+ header-link="EditProductSuppliers?productId=${productId}&orderBy=lastPrice" header-link-style="buttontext">
@@ -684,9 +684,9 @@
-
-
-
-
-
-
+
+
+
+
diff --git a/applications/product/webapp/catalog/product/ProductTabBar.ftl b/applications/product/webapp/catalog/product/ProductTabBar.ftl
index 7736720439..b19b093b72 100644
--- a/applications/product/webapp/catalog/product/ProductTabBar.ftl
+++ b/applications/product/webapp/catalog/product/ProductTabBar.ftl
@@ -49,6 +49,7 @@
${uiLabelMap.ProductPaymentTypes}
${uiLabelMap.ProductMaintenance}
${uiLabelMap.ProductMeters}
+ ${uiLabelMap.ProductSubscriptionResources}
${uiLabelMap.ProductQuickAdmin}
<#if product?exists && product.isVirtual?if_exists == "Y">
${uiLabelMap.ProductVariants}
diff --git a/applications/product/widget/catalog/CatalogCommonScreens.xml b/applications/product/widget/catalog/CatalogCommonScreens.xml
index 9e728a9c00..ff1cbec63c 100644
--- a/applications/product/widget/catalog/CatalogCommonScreens.xml
+++ b/applications/product/widget/catalog/CatalogCommonScreens.xml
@@ -61,7 +61,7 @@
-
+
diff --git a/applications/product/widget/catalog/ProductScreens.xml b/applications/product/widget/catalog/ProductScreens.xml
index b4837328ee..a5bdc3be6e 100644
--- a/applications/product/widget/catalog/ProductScreens.xml
+++ b/applications/product/widget/catalog/ProductScreens.xml
@@ -832,5 +832,22 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/applications/product/widget/catalog/SubscriptionForms.xml b/applications/product/widget/catalog/SubscriptionForms.xml
new file mode 100644
index 0000000000..6dadc0a5c1
--- /dev/null
+++ b/applications/product/widget/catalog/SubscriptionForms.xml
@@ -0,0 +1,275 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/applications/product/widget/catalog/SubscriptionMenus.xml b/applications/product/widget/catalog/SubscriptionMenus.xml
new file mode 100644
index 0000000000..996a444d79
--- /dev/null
+++ b/applications/product/widget/catalog/SubscriptionMenus.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
diff --git a/applications/product/widget/catalog/SubscriptionScreens.xml b/applications/product/widget/catalog/SubscriptionScreens.xml
new file mode 100644
index 0000000000..cad7b98d69
--- /dev/null
+++ b/applications/product/widget/catalog/SubscriptionScreens.xml
@@ -0,0 +1,217 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/framework/common/config/CommonUiLabels.properties b/framework/common/config/CommonUiLabels.properties
index c8504069c6..8ef8c1e9fe 100644
--- a/framework/common/config/CommonUiLabels.properties
+++ b/framework/common/config/CommonUiLabels.properties
@@ -489,6 +489,6 @@ FormFieldTitle_total=Total
FormFieldTitle_uomId=Valuta
FormFieldTitle_updateButton=Update
FormFieldTitle_fromDate=From Date
-FormFieldTitle_thruDate=To Date
+FormFieldTitle_thruDate=Thru Date
FormFieldTitle_price=Price
-FormFieldTitle_sequenceNum=Sequence Num
\ No newline at end of file
+FormFieldTitle_sequenceNum=Sequence Num