Subversion Repositories SmartDukaan

Rev

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

Rev 22566 Rev 23143
Line 220... Line 220...
220
  print '  bool updateItemPricing( itemPricingList)'
220
  print '  bool updateItemPricing( itemPricingList)'
221
  print '  void bulkUpdateCatalog( bulkUploadCatalog)'
221
  print '  void bulkUpdateCatalog( bulkUploadCatalog)'
222
  print '   getWarrantyInfoForItem(i64 catalogItemId, ItemCondition itemCondition)'
222
  print '   getWarrantyInfoForItem(i64 catalogItemId, ItemCondition itemCondition)'
223
  print '   getWarrantyInfoForItemList( catalogItemIds, ItemCondition itemCondition)'
223
  print '   getWarrantyInfoForItemList( catalogItemIds, ItemCondition itemCondition)'
224
  print '  StateGstRates getGstRatesByState(i64 stateId)'
224
  print '  StateGstRates getGstRatesByState(i64 stateId)'
-
 
225
  print '   getTotalTaxRate( itemIds, i32 stateId)'
225
  print '   getInterStateGstRates()'
226
  print '   getInterStateGstRates()'
226
  print '   getHsnCodesByCategory(i64 categoryId)'
227
  print '   getHsnCodesByCategory(i64 categoryId)'
227
  print '   getAllFofoDeals( itemIds,  tagIds)'
228
  print '   getAllFofoDeals( itemIds,  tagIds)'
228
  print ''
229
  print ''
229
  sys.exit(0)
230
  sys.exit(0)
Line 1479... Line 1480...
1479
  if len(args) != 1:
1480
  if len(args) != 1:
1480
    print 'getGstRatesByState requires 1 args'
1481
    print 'getGstRatesByState requires 1 args'
1481
    sys.exit(1)
1482
    sys.exit(1)
1482
  pp.pprint(client.getGstRatesByState(eval(args[0]),))
1483
  pp.pprint(client.getGstRatesByState(eval(args[0]),))
1483
 
1484
 
-
 
1485
elif cmd == 'getTotalTaxRate':
-
 
1486
  if len(args) != 2:
-
 
1487
    print 'getTotalTaxRate requires 2 args'
-
 
1488
    sys.exit(1)
-
 
1489
  pp.pprint(client.getTotalTaxRate(eval(args[0]),eval(args[1]),))
-
 
1490
 
1484
elif cmd == 'getInterStateGstRates':
1491
elif cmd == 'getInterStateGstRates':
1485
  if len(args) != 0:
1492
  if len(args) != 0:
1486
    print 'getInterStateGstRates requires 0 args'
1493
    print 'getInterStateGstRates requires 0 args'
1487
    sys.exit(1)
1494
    sys.exit(1)
1488
  pp.pprint(client.getInterStateGstRates())
1495
  pp.pprint(client.getInterStateGstRates())