Subversion Repositories SmartDukaan

Rev

Rev 18350 | Rev 18360 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18350 Rev 18358
Line 1761... Line 1761...
1761
        lgr.info( "Disposition Id ----"  + str(self.callHistoryCrm.id))
1761
        lgr.info( "Disposition Id ----"  + str(self.callHistoryCrm.id))
1762
        jdata =self.inputs
1762
        jdata =self.inputs
1763
        lgr.info( "Input ----"  + str(jdata))
1763
        lgr.info( "Input ----"  + str(jdata))
1764
        if jdata:
1764
        if jdata:
1765
            for d in jdata:
1765
            for d in jdata:
1766
                for key, value in d.iteritems():
1766
                for key, value in d.items():
1767
                    productpricingInputs = ProductPricingInputs()
1767
                    productpricingInputs = ProductPricingInputs()
1768
                    productpricingInputs.user_id = self.callHistoryCrm.user_id
1768
                    productpricingInputs.user_id = self.callHistoryCrm.user_id
1769
                    productpricingInputs.agent_id = self.callHistoryCrm.agent_id
1769
                    productpricingInputs.agent_id = self.callHistoryCrm.agent_id
1770
                    productpricingInputs.disposition_id = self.callHistoryCrm.id
1770
                    productpricingInputs.disposition_id = self.callHistoryCrm.id
1771
                    productpricingInputs.user_id = self.callHistoryCrm.user_id
1771
                    productpricingInputs.user_id = self.callHistoryCrm.user_id
Line 1817... Line 1817...
1817
        lgr.info( "Disposition Id ----\n"  + str(self.callHistoryCrm.id))
1817
        lgr.info( "Disposition Id ----\n"  + str(self.callHistoryCrm.id))
1818
        jdata =self.inputs
1818
        jdata =self.inputs
1819
        lgr.info( "Input ----\n"  + str(jdata))
1819
        lgr.info( "Input ----\n"  + str(jdata))
1820
        if jdata: 
1820
        if jdata: 
1821
            for d in jdata:
1821
            for d in jdata:
1822
                for key, value in d.iteritems():
1822
                for key, value in d.items():
1823
                    productpricingInputs = ProductPricingInputs()
1823
                    productpricingInputs = ProductPricingInputs()
1824
                    productpricingInputs.user_id = self.callHistoryCrm.user_id
1824
                    productpricingInputs.user_id = self.callHistoryCrm.user_id
1825
                    productpricingInputs.agent_id = self.callHistoryCrm.agent_id
1825
                    productpricingInputs.agent_id = self.callHistoryCrm.agent_id
1826
                    productpricingInputs.disposition_id = self.callHistoryCrm.id
1826
                    productpricingInputs.disposition_id = self.callHistoryCrm.id
1827
                    productpricingInputs.user_id = self.callHistoryCrm.user_id
1827
                    productpricingInputs.user_id = self.callHistoryCrm.user_id