WebService consuming from a temporay table

AitorEG
AitorEG Member Posts: 342
Hi everyone,

I've created a page, which its source table is temporary. The source table is one created by myself. The page is this:
m196595z3y9p.png

And the oData url is filtered, this way:

http://xxxxxxxxxx:7068/DESA/ODataV4/Company('ZZZZ EUROPE S.L.U.')/AppItemPrice?$filter=Insize_User eq 'FI159'

In the onOpenPage(also tried in onInit) of the page, I call to a function that creates entries on the table.
OnInit()
total := COUNTAPPROX;;
lUser := GETFILTER(Insize_User);
RESET;
lBasemetaFunc.LoadAppItemPrice(lUser);

OnOpenPage()
// lUser := GETFILTER(Insize_User);
// RESET;
// lBasemetaFunc.LoadAppItemPrice(lUser);

But when I add the URL into the brower, I'm not getting any result.



Any hint about this??

THbak you all, hope you are all healthy!

Best Answer

Answers

  • AitorEG
    AitorEG Member Posts: 342
    TallyHo wrote: »
    lBasemetaFunc.LoadAppItemPrice(lUser);
    Is not filling your page's temp rec.

    If LoadAppItemPrice is filling another temp rec instance,
    pass it as var back to your page's rec.


    Really thanks, seems now it's working!!!!