Aggiornamento del profilo Cassiere per la Cassetta per SET - MIA con scheda di acquisto (per Windows NT, Windows 2000, AIX e Solaris - Business Edition)

Per utilizzare il profilo Cassiere per la Cassetta per SET - Autorizzazione avviata dal venditore con scheda di acquisto con un database Oracle, procedere come segue:

  1. Passare alla seguente directory:
    unità:\WebSphere\CommerceServer\instances\instance_name\xml\payment\
    unità:\Program Files\WebSphere\CommerceServer\instances\instance_name\xml\payment\
    /usr/WebSphere/CommerceServer/instances/instance_name/xml/payment/
    /opt/WebSphere/CommerceServer/instances/instance_name/xml/payment/ 
  2. Aprire WC51_SET_MIA_PCard.profile in un editor di testo.
  3. Per prima cosa bloccare la sezione SelectStatement aggiungendo <!-- davanti alla tag di apertura <SelectStatement e aggiungendo --> dopo la prima tag di chiusura </SelectStatement>. La prima sezione deve corrispondere a ciò che segue:
    <!--
    <SelectStatement id="1" allowMultiples="true" >
    SELECT PARTNUMBER, SHORTDESCRIPTION, integer(QUANTITY) as INT_QUANTITY, RTRIM(QUANTITYMEASURE) as QTYMEASURE, integer(PRICE*{currency_factor}) as UNITCOST,
    integer( (TOTALPRODUCT+TAXAMOUNT+SHIPCHARGE+SHIPTAXAMOUNT+TOTALADJUSTMENT) * {currency_factor}) as TOTALCOST
    FROM orderitems, catentry, catentship, catentdesc
    WHERE orders_id = {orderId}
    AND orderitems.catentry_id = catentry.catentry_id
    AND orderitems.catentry_id = catentship.catentry_id
    AND orderitems.catentry_id = catentdesc.catentry_id
    AND catentdesc.language_id = {buyer_language_id}
    </SelectStatement>-->
  4. Attivare la seconda sezione SelectStatement rimuovendo <!-- davanti alla tag di apertura <SelectStatement e rimuovendo --> dopo la prima tag di chiusura </SelectStatement>. La seconda sezione deve corrispondere a ciò che segue: 
    <SelectStatement id="1" allowMultiples="true" >
    SELECT PARTNUMBER, SHORTDESCRIPTION, round(QUANTITY) as INT_QUANTITY, RTRIM(QUANTITYMEASURE) as QTYMEASURE, round(PRICE*{currency_factor}) as UNITCOST,
    round( (TOTALPRODUCT+TAXAMOUNT+SHIPCHARGE+SHIPTAXAMOUNT+TOTALADJUSTMENT) * {currency_factor}) as TOTALCOST
    FROM orderitems, catentry, catentship, catentdesc
    WHERE orders_id = {orderId}
    AND orderitems.catentry_id = catentry.catentry_id
    AND orderitems.catentry_id = catentship.catentry_id
    AND orderitems.catentry_id = catentdesc.catentry_id
    AND catentdesc.language_id = {buyer_language_id}
    </SelectStatement>
  5. Salvare il file e chiudere l'editor. Al successivo utilizzo del profilo, il Cassiere automaticamente utilizza il profilo aggiornato .

Nota: Non è necessario arrestare WebSphere Commerce Server per aggiornare il profilo.

Argomenti correlati (1275 byte)

Riferimenti correlati (1275 byte)

IBM copyright