actindo ->product__add_lft
actindo -> product__add_lft: add vendor to product
Signaturstring product__add_lft( string $sid, int $art_id, int $deb_kred_id, product_lft_params $params )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • int $art_id
    product id
     
  • int $deb_kred_id
    vendor id
     
  • product_lft_params $params
    parameter array
     
Returnsstring
array(ok=>TRUE/FALSE)
 
Descriptionadd vendor to product

the parameter array $params has to be used to specify vendor specific attributes for product:
lft_ek:double
purchase price

lft_ek_datum:string
purchase date => mysql date format, for example: "2008-03-31"

lft_art_nr:string
vendor product number

lft_bemerkung:string
notice

lft_losgroesse:double
denominator

lft_dropship_possible:int
set to 1 if dropship possible, set to 0 if not (default)

lft_lieferzeit:int
time of delivery

lft_lbestand:double
vendor stock

lft_lbestand_datum:string
vendor stock date => mysql date format, for example: "2008-03-31"

lft_undeliverable:int
set to 0 if deliverable, set to 1 if undeliverable

keep in mind to specify every single parameter.
for parameters you don't want to use, strings should be given an empty value ('') and integers should be set to
null