12.39 Business Tracking Attribute Service(PUT)

Below mentioned are the custom fields. These fields will be part of both request and response.

Table 12-32 Business Tracking Attribute Service

Element name Sub element Data type
StringData KeyName String
  KeyValue String
NumberData KeyName String
  KeyValue Number (Decimal)
DateData KeyName String
  KeyValue Date(YYYY-MM-DDTHH:MM:SS)
Sample XML
<Custom>
    < StringData>
        <KeyName>StringName</KeyName>
        <KeyValue>StringValue</KeyValue>
    </ StringData>
    < NumberData>
        <KeyName>NumberName</KeyName>
        <KeyValue>NumberValue</KeyValue>
    </ NumberData>
    <DateData>
        <KeyName>DateName</KeyName>
        <KeyValue>DateValue</KeyValue>
    </DateData>
</Custom>
Sample JSON
"Custom": {
    "StringData": [
    {
     "KeyName": "StringName",
     "KeyValue": "StringValue"
    }
 ],
    "NumberData": [
    {
     "KeyName": "NumberName",
     "KeyValue": NumberValue
    }
 ],
    "DateData": [
    {
     "KeyName": "DateName",
     "KeyValue": "DateValue"
    }
 ]
}

Below are the package details for transaction parameter web service

Wrapper Engine package:-
xcsbta_ew_100_01.xcsbta_ew_100_01 (iv_xcs_bta_rec IN OUT xcs_bta_atr_rec_t);
Main Engine package:-
xcsbta_em_100_01. update_business_tacking_atr (iv_xcs_bta_rec IN OUT xcs_bta_atr_rec_t);

Below are the Exit point package details for xcsbta_em_100_01.update_business_tacking_atr();

BEFORE:-
xcsbta_ex_100_01.cv_upd_bsn_tracking_bfr = cmncon_cl_000_01.CUSTOMIZED THEN
    xcsbta_ex_100_01.upd_bsn_tracking_bfr(iv_xcs_bta_rec);
REPLACE:-
xcsbta_ex_100_01.cv_upd_bsn_tracking_rep = cmncon_cl_000_01.CUSTOMIZED THEN
    xcsbta_ex_100_01.upd_bsn_tracking_rep(iv_xcs_bta_rec);
AFTER:-
xcsbta_ex_100_01.cv_upd_bsn_tracking_afr = cmncon_cl_000_01.CUSTOMIZED THEN
    xcsbta_ex_100_01.upd_bsn_tracking_afr(iv_xcs_bta_rec);
Extensible parameters are Tab Type object
CREATE OR REPLACE TYPE xws_att_str_rec_t AS OBJECT (
    ATT_NAME     VARCHAR2(30),
    ATT_VALUE    VARCHAR2(4000));
CREATE OR REPLACE TYPE xws_att_num_rec_t AS OBJECT (
    ATT_NAME     VARCHAR2(30),
    ATT_VALUE    NUMBER);
CREATE OR REPLACE TYPE xws_att_date_rec_t AS OBJECT (
    ATT_NAME     VARCHAR2(30),
    ATT_VALUE    DATE);