Author: arunpatidar
Date: Fri Oct 21 17:39:47 2016 New Revision: 1766083 URL: http://svn.apache.org/viewvc?rev=1766083&view=rev Log: Implemented: Added CRUD services for GlFiscalType, GlResourceType, GlXbrlClass, GlResourceType, InvoiceAttribute, InvoiceItemAssocType, InvoiceNote, MarketingCampaignNote, OrderContent, SalesOpportunityCompetitor (OFBIZ-8237) (OFBIZ-8238) (OFBIZ-8239) (OFBIZ-8240) (OFBIZ-8256) (OFBIZ-8258) (OFBIZ-8268) (OFBIZ-8274) (OFBIZ-8288) (OFBIZ-8431) Thanks: Rahul Singh Kushwah, Rishi Solanki and Amit Gadaley for the contribution. Modified: ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml ofbiz/trunk/applications/marketing/servicedef/services.xml ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml ofbiz/trunk/applications/order/servicedef/services.xml Modified: ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml?rev=1766083&r1=1766082&r2=1766083&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml Fri Oct 21 17:39:47 2016 @@ -485,5 +485,47 @@ under the License. <description>Delete a InvoiceTypeAttr record</description> <auto-attributes include="pk" mode="IN"/> </service> - + + <!-- InvoiceAttribute services --> + <service name="createInvoiceAttribute" default-entity-name="InvoiceAttribute" engine="entity-auto" invoke="create" auth="true"> + <description>Create a InvoiceAttribute</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="updateInvoiceAttribute" default-entity-name="InvoiceAttribute" engine="entity-auto" invoke="update" auth="true"> + <description>Update a InvoiceAttribute</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteInvoiceAttribute" default-entity-name="InvoiceAttribute" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a InvoiceAttribute</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- InvoiceItemAssocType services --> + <service name="createInvoiceItemAssocType" default-entity-name="InvoiceItemAssocType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a InvoiceItemAssocType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateInvoiceItemAssocType" default-entity-name="InvoiceItemAssocType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a InvoiceItemAssocType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteInvoiceItemAssocType" default-entity-name="InvoiceItemAssocType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a InvoiceItemAssocType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- InvoiceNote services --> + <service name="createInvoiceNote" default-entity-name="InvoiceNote" engine="entity-auto" invoke="create" auth="true"> + <description>Create a InvoiceNote</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="deleteInvoiceNote" default-entity-name="InvoiceNote" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a InvoiceNote</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> </services> Modified: ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml?rev=1766083&r1=1766082&r2=1766083&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml Fri Oct 21 17:39:47 2016 @@ -855,4 +855,68 @@ under the License. <description>Expire a GlBudgetXref</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> + + <!-- GlFiscalType services --> + <service name="createGlFiscalType" default-entity-name="GlFiscalType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a GlFiscalType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateGlFiscalType" default-entity-name="GlFiscalType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a GlFiscalType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteGlFiscalType" default-entity-name="GlFiscalType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a GlFiscalType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- GlResourceType services --> + <service name="createGlResourceType" default-entity-name="GlResourceType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a GlResourceType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateGlResourceType" default-entity-name="GlResourceType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a GlResourceType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteGlResourceType" default-entity-name="GlResourceType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a GlResourceType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- GlXbrlClass services --> + <service name="createGlXbrlClass" default-entity-name="GlXbrlClass" engine="entity-auto" invoke="create" auth="true"> + <description>Create a GlXbrlClass</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateGlXbrlClass" default-entity-name="GlXbrlClass" engine="entity-auto" invoke="update" auth="true"> + <description>Update a GlXbrlClass</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteGlXbrlClass" default-entity-name="GlXbrlClass" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a GlXbrlClass</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- GlResourceType services --> + <service name="createGlResourceType" default-entity-name="GlResourceType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a GlResourceType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateGlResourceType" default-entity-name="GlResourceType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a GlResourceType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteGlResourceType" default-entity-name="GlResourceType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a GlResourceType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> </services> Modified: ofbiz/trunk/applications/marketing/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/servicedef/services.xml?rev=1766083&r1=1766082&r2=1766083&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/servicedef/services.xml (original) +++ ofbiz/trunk/applications/marketing/servicedef/services.xml Fri Oct 21 17:39:47 2016 @@ -530,4 +530,15 @@ under the License. <attribute name="partyId" type="String" mode="IN" optional="false"/> </service> + <!-- MarketingCampaignNote services --> + <service name="createMarketingCampaignNote" default-entity-name="MarketingCampaignNote" engine="entity-auto" invoke="create" auth="true"> + <description>Create a MarketingCampaignNote</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="deleteMarketingCampaignNote" default-entity-name="MarketingCampaignNote" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a MarketingCampaignNote</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + </services> Modified: ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml?rev=1766083&r1=1766082&r2=1766083&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml (original) +++ ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml Fri Oct 21 17:39:47 2016 @@ -110,4 +110,20 @@ under the License. <attribute name="partyId" mode="OUT" type="String" optional="true"/> </service> + <!-- SalesOpportunityCompetitor services --> + <service name="createSalesOpportunityCompetitor" default-entity-name="SalesOpportunityCompetitor" engine="entity-auto" invoke="create" auth="true"> + <description>Create a SalesOpportunityCompetitor</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="updateSalesOpportunityCompetitor" default-entity-name="SalesOpportunityCompetitor" engine="entity-auto" invoke="update" auth="true"> + <description>Update a SalesOpportunityCompetitor</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteSalesOpportunityCompetitor" default-entity-name="SalesOpportunityCompetitor" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a SalesOpportunityCompetitor</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + </services> Modified: ofbiz/trunk/applications/order/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services.xml?rev=1766083&r1=1766082&r2=1766083&view=diff ============================================================================== --- ofbiz/trunk/applications/order/servicedef/services.xml (original) +++ ofbiz/trunk/applications/order/servicedef/services.xml Fri Oct 21 17:39:47 2016 @@ -1193,4 +1193,15 @@ under the License. <attribute name="shipGroupSeqId" type="String" mode="IN" optional="true"/> <attribute name="shipmentMethod" type="String" mode="IN" optional="true"/> </service> + + <!-- OrderContent services --> + <service name="createOrderContent" default-entity-name="OrderContent" engine="entity-auto" invoke="create" auth="true"> + <description>Create a OrderContent</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="expireOrderContent" default-entity-name="OrderContent" engine="entity-auto" invoke="expire" auth="true"> + <description>Expire a OrderContent</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> </services> |
Free forum by Nabble | Edit this page |