ok fm13  |  error fm14

Video created by Draco on Oct 15, 2015

    RESULT ok : 400,... not 350


    App. run in LOCAL, app. is It was originally created in FM13.


    ...in FM13 It worked perfect


    (01) SCRIPT  :  TRANSFER ( Parameter : id, Qty )

     

    - Set variable [ $aux ; Get (ScriptParameter) ]

    - go object (portalB)

    ...

    - Set field [ portal_B::id  ; GetValue ($aux ; 1)  ]

    - Set field [ portal_B::Qty  ; GetValue ($aux ; 2)  ] 

     

    Run Script [ PUT Qty_Total ]

     

    (End) ___________________________

     

     

    (02) SCRIPT :  PUT Qty_Total


    commit

    If ( Sum (portal_B::qty > 0)  )

                Set Field [ Qty_Total ;  Round ( Sum ( portal_B::qty ) ; 0) ]

    ;

                Set Field [ Qty_Total ;  "" ]

    )

    commit


    (End) ___________________________________



    in FM14 v3 ERROR, the last record of the portal is not added

    ****  pulse the bottom transfer one by one (fast),... ¿ It may be a problem of: incompleteness script execution ?