Product Configurator Result/Price snapshot

Answered

Comments

1 comment

  • Official comment
    Avatar
    Martin Heigl

    Hi,

    we don't deliver this in standard or is current not planned

    as customizing this is possible. We've an event which is called, if you open this page

     

    Here the Script

     

    windowevent post_result

    // configurator saved?

    if <str_parm.c_parm1> n<= 0 then
    return failure
    end if

    // Name of Tables with fields "ConfigurationID","ConfigurationLine","Item","Description","Price"

    // Primary key = "ConfigurationID","ConfigurationLine"
    setvar=ls_table=ConfigMirror

    // Delete old entries
    sql=delete from "<ls_table>" where "ConfiguraitionID "= <str_parm.c_parm1.#0>

    // Insert all lines
    for ll_row=1 to dw_2.rowcount>
    sql=insert into <ls_table> ("ConfigurationID","ConfigurationLine","Item","Description","Price") &
    values <str_parm.c_parm1,#0>,<ll_row>,&
    <dw_2.item.parameter:[ll_row].value,dbstring>,&
    <dw_2.item.inhalt:[ll_row].value,dbstring>,&
    <dw_2.item.prreis:[ll_row].value,num(6)>)
    next

    end event

    I didn't checked this script. It's only an example how you can solve this with beas script

    Comment actions Permalink

Please sign in to leave a comment.