Subversion Repositories SmartDukaan

Rev

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

Rev 23143 Rev 23148
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 '   getStateTaxRate( itemIds, i32 stateId)'
-
 
226
  print '   getIgstTaxRate( itemIds)'
226
  print '   getInterStateGstRates()'
227
  print '   getInterStateGstRates()'
227
  print '   getHsnCodesByCategory(i64 categoryId)'
228
  print '   getHsnCodesByCategory(i64 categoryId)'
228
  print '   getAllFofoDeals( itemIds,  tagIds)'
229
  print '   getAllFofoDeals( itemIds,  tagIds)'
229
  print ''
230
  print ''
230
  sys.exit(0)
231
  sys.exit(0)
Line 1480... Line 1481...
1480
  if len(args) != 1:
1481
  if len(args) != 1:
1481
    print 'getGstRatesByState requires 1 args'
1482
    print 'getGstRatesByState requires 1 args'
1482
    sys.exit(1)
1483
    sys.exit(1)
1483
  pp.pprint(client.getGstRatesByState(eval(args[0]),))
1484
  pp.pprint(client.getGstRatesByState(eval(args[0]),))
1484
 
1485
 
1485
elif cmd == 'getTotalTaxRate':
1486
elif cmd == 'getStateTaxRate':
1486
  if len(args) != 2:
1487
  if len(args) != 2:
1487
    print 'getTotalTaxRate requires 2 args'
1488
    print 'getStateTaxRate requires 2 args'
1488
    sys.exit(1)
1489
    sys.exit(1)
1489
  pp.pprint(client.getTotalTaxRate(eval(args[0]),eval(args[1]),))
1490
  pp.pprint(client.getStateTaxRate(eval(args[0]),eval(args[1]),))
-
 
1491
 
-
 
1492
elif cmd == 'getIgstTaxRate':
-
 
1493
  if len(args) != 1:
-
 
1494
    print 'getIgstTaxRate requires 1 args'
-
 
1495
    sys.exit(1)
-
 
1496
  pp.pprint(client.getIgstTaxRate(eval(args[0]),))
1490
 
1497
 
1491
elif cmd == 'getInterStateGstRates':
1498
elif cmd == 'getInterStateGstRates':
1492
  if len(args) != 0:
1499
  if len(args) != 0:
1493
    print 'getInterStateGstRates requires 0 args'
1500
    print 'getInterStateGstRates requires 0 args'
1494
    sys.exit(1)
1501
    sys.exit(1)