Administrative

Projects

Active

Future

Finished

Reference

Abandoned

Project: EloInv

EloInv Supplier class

This page contains developer documentation for the Supplier class importable from supplierclass_xxx - currently, more a notepad for me than real documentation.

For importing this class from the module, xxx can either be 'generic' or a key into suppliers.supplier_module which then bases on and extends the generic supplier class.

Public methods

Supplier.init()

(Supplier) = Supplier(
  [supID = 0]
)

Data presentation

Supplier.str()

(string) = __str__()

Priceinfo maintenance

Supplier.update_priceinfo()

update_priceinfo(
  ID = '',
  [arg1 = None],
  [arg2 = None],
  [arg3 = None]
)

Order generation

Supplier.format_order()

(string) = format_order(
  partlist = {},
  format = 'txt'
)

Supplier.order_supported_formats()

([string, ...]) = order_supported_formats()

Private methods

Order generation

format_order_XXX()

(string) = format_order_XXX(
  partlist = []
)

Logbook

Last page update: 2010-01-03