Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4221 Visualizzazioni

Hi,


I'm wondering if there is a solution out there that when I create a RFQ and send it so a supplier via Email, that would include a link in the email so that the supplier can directly give a response to that RFQ (accept, decline or change the price)?


Thanks,

Michael

Avatar
Abbandona
Autore Risposta migliore

OK, i found the solution, here we go:



<?php

require_once('ripcord.php');

$url = "http://yourdomain.com";

$db = "yourdb";

$username = "youradminuser";

$password = "yourpw";

$po_id = 1;

$common = ripcord::client("$url/xmlrpc/2/common");

$uid = $common->authenticate($db, $username, $password, array());

$models = ripcord::client("$url/xmlrpc/2/object");

$models->exec_workflow(

$db, $uid, $password,

'purchase.order', 'bid_received',

$po_id

);

$models->exec_workflow(

$db, $uid, $password,

'purchase.order', 'purchase_confirm',

$po_id

);

?>


Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
lug 22
9517
1
mar 15
11625
1
mar 15
4163
3
ago 25
890
1
lug 25
766