Author: deepak
Date: Fri Aug 25 11:04:07 2017 New Revision: 1806153 URL: http://svn.apache.org/viewvc?rev=1806153&view=rev Log: Fixed some console warning related to in-correct use of type-validate attribute. Modified: ofbiz/ofbiz-framework/trunk/applications/product/servicedef/services_facility.xml Modified: ofbiz/ofbiz-framework/trunk/applications/product/servicedef/services_facility.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/servicedef/services_facility.xml?rev=1806153&r1=1806152&r2=1806153&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/product/servicedef/services_facility.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/product/servicedef/services_facility.xml Fri Aug 25 11:04:07 2017 @@ -158,11 +158,7 @@ under the License. <service name="createPhysicalInventoryAndVariance" engine="simple" auth="true" transaction-timeout="600" location="component://product/minilang/product/inventory/InventoryServices.xml" invoke="createPhysicalInventoryAndVariance"> <description>Create a PhysicalInventory and an InventoryItemVariance</description> - <auto-attributes entity-name="InventoryItemVariance" include="pk" mode="IN" optional="false"> - <type-validate> - <fail-property resource="ProductErrorUiLabels" property="facility.inventoryItemVariance"/> - </type-validate> - </auto-attributes> + <auto-attributes entity-name="InventoryItemVariance" include="pk" mode="IN" optional="false"/> <auto-attributes entity-name="PhysicalInventory" include="nonpk" mode="IN" optional="true"/> <auto-attributes entity-name="InventoryItemVariance" include="nonpk" mode="IN" optional="true"/> <override name="physicalInventoryId" mode="OUT"/> @@ -570,10 +566,11 @@ under the License. <fail-property resource="ProductErrorUiLabels" property="facility.quantity"/> </type-validate> </attribute> - <attribute name="reservedDatetime" type="Timestamp" mode="IN" optional="true"/> + <attribute name="reservedDatetime" type="Timestamp" mode="IN" optional="true"> <type-validate> <fail-property resource="ProductErrorUiLabels" property="facility.reservedDatetime"/> </type-validate> + </attribute> <attribute name="requireInventory" type="String" mode="IN" optional="false"> <type-validate> <fail-property resource="ProductErrorUiLabels" property="facility.requireInventory"/> @@ -677,11 +674,7 @@ under the License. <service name="cancelOrderItemShipGrpInvRes" engine="simple" location="component://product/minilang/product/inventory/InventoryReserveServices.xml" invoke="cancelOrderItemShipGrpInvRes" auth="true"> <description>Cancels an inventory reservation</description> - <auto-attributes entity-name="OrderItemShipGrpInvRes" include="pk" mode="IN" optional="false"> - <type-validate> - <fail-property resource="ProductErrorUiLabels" property="facility.OrderItemShipGrpInvRes"/> - </type-validate> - </auto-attributes> + <auto-attributes entity-name="OrderItemShipGrpInvRes" include="pk" mode="IN" optional="false"/> <attribute name="cancelQuantity" type="BigDecimal" mode="IN" optional="true"/> </service> @@ -783,17 +776,11 @@ under the License. <fail-property resource="ProductErrorUiLabels" property="facility.productId"/> </type-validate> </attribute> - <type-validate> - <fail-property resource="ProductErrorUiLabels" property="facility.productId"/> - </type-validate> <attribute name="quantity" type="BigDecimal" mode="IN" optional="false"> <type-validate> <fail-property resource="ProductErrorUiLabels" property="facility.quantity"/> </type-validate> </attribute> - <type-validate> - <fail-property resource="ProductErrorUiLabels" property="facility.quantity"/> - </type-validate> <attribute name="reserveOrderEnumId" type="String" mode="IN" optional="true"/> <attribute name="quantityNotTransferred" type="BigDecimal" mode="OUT" optional="false"/> <attribute name="statusId" type="String" mode="IN" optional="true"/> |
Free forum by Nabble | Edit this page |