B2B Integration

Sterling B2B Integration

Come for answers, stay for best practices. All we're missing is you.

 View Only

Accession Process data value into the Map Using map variable

  • 1.  Accession Process data value into the Map Using map variable

    Posted yesterday

    Hi,

    integer i;
    String[20] temp_ClientProductCode ;
    String[100] S1,S2,S3,S4;
    S2=EdpClaimLineId;
    S1="/ProcessData/Lookup/Result/Results[EDP_CLAIM_LINE_ID=";
    S3="]/CLIENT_PRODUCT_CODE";
    S4=Concat(S1,S2);
    S4=concat(S4,S3);
    #0338:9=12;
    SELECT xpathresult into temp_ClientProductCode from processdata where xpath=S4
    i = len(trim(temp_ClientProductCode));
    #1166:9=temp_ClientProductCode;
    #0127:815=temp_ClientProductCode;

    $2300_CLM:5.#1166:9= "09";
    If i <= 0 Then
    Begin
    $2300_CLM:5.#0127:815= "57";
    End
    Else
    Begin
    If trim(temp_ClientProductCode) ="0" Then
    Begin
    $2300_CLM:5.#0127:815= "57";
    End
    Else
    Begin
    $2300_CLM:5.#0127:815= temp_ClientProductCode;
    End
    End




    for Variables these two lines i am getting error Expected string.
    S4=Concat(S1, S2);
    S4=Concat(S4, S3);

    Were

    S1 is string

    S2 is String Variable

    S3 is string

    When i do concat is and compile extended rule it says error Expected string


    Please help me in resolving this.
    Thanks in advance.



    ------------------------------
    Lakshman Kumar
    ------------------------------