Subversion Repositories SmartDukaan

Rev

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

Rev 9861 Rev 9895
Line 162... Line 162...
162
  print '  bool updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem)'
162
  print '  bool updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem)'
163
  print '  MarketplacePercentage getCostingForMarketplace(i64 source, i64 item_id)'
163
  print '  MarketplacePercentage getCostingForMarketplace(i64 source, i64 item_id)'
164
  print '   getMarketPlaceItemsForPriceUpdate(i64 source)'
164
  print '   getMarketPlaceItemsForPriceUpdate(i64 source)'
165
  print '  void updateMarketPlacePriceUpdateStatus( skulist, i64 timestamp, i64 source)'
165
  print '  void updateMarketPlacePriceUpdateStatus( skulist, i64 timestamp, i64 source)'
166
  print '  void updateItemHoldInventory( itemHoldMap)'
166
  print '  void updateItemHoldInventory( itemHoldMap)'
-
 
167
  print '  void updateNlcAtMarketplaces(i64 item_id, i64 vendor_id, double nlc)'
167
  print ''
168
  print ''
168
  sys.exit(0)
169
  sys.exit(0)
169
 
170
 
170
pp = pprint.PrettyPrinter(indent = 2)
171
pp = pprint.PrettyPrinter(indent = 2)
171
host = 'localhost'
172
host = 'localhost'
Line 1070... Line 1071...
1070
  if len(args) != 1:
1071
  if len(args) != 1:
1071
    print 'updateItemHoldInventory requires 1 args'
1072
    print 'updateItemHoldInventory requires 1 args'
1072
    sys.exit(1)
1073
    sys.exit(1)
1073
  pp.pprint(client.updateItemHoldInventory(eval(args[0]),))
1074
  pp.pprint(client.updateItemHoldInventory(eval(args[0]),))
1074
 
1075
 
-
 
1076
elif cmd == 'updateNlcAtMarketplaces':
-
 
1077
  if len(args) != 3:
-
 
1078
    print 'updateNlcAtMarketplaces requires 3 args'
-
 
1079
    sys.exit(1)
-
 
1080
  pp.pprint(client.updateNlcAtMarketplaces(eval(args[0]),eval(args[1]),eval(args[2]),))
-
 
1081
 
1075
else:
1082
else:
1076
  print 'Unrecognized method %s' % cmd
1083
  print 'Unrecognized method %s' % cmd
1077
  sys.exit(1)
1084
  sys.exit(1)
1078
 
1085
 
1079
transport.close()
1086
transport.close()