Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Dexterity get table not working

(0) ShareShare
ReportReport
Posted on by 2,845

In dexterity coding I have written a trigger for scroll window line fill. The line fill firing properly, in that I have written dexterity coding to get particular table value. I have passed key fields of that table and written get table statement. The problem is "get table" statement not get that table's record, also the err() statement returns "0" only. I don't why Please help?

Thanks

Manikandan.S

*This post is locked for comments

  • Verified answer
    Manikandan Profile Picture
    2,845 on at
    RE: Dexterity get table not working

    Hi thanks to all,

    I have found the solution, Actually I have inserted values to the TABLE1 by copying from the excel sheet. It was added some additional space with field values. So that it was not retrieved properly.

    Thanks,

    Manikandan.S

  • Suggested answer
    soma Profile Picture
    24,410 on at
    RE: Dexterity get table not working

    Mani,

    Use the below "range where" condition to set range and check whether it is working or not.

    range table SOP_LINE_TEMP where physicalname ( 'Item Number' of table TABLE1)+ " = '"+  'Item Number' of table IV_Serial_MSTR +"' and "+ physicalname (Bin of table TABLE1 )+ " = '"+ 'Bin of table IV_Serial_MSTR +"' and "+ physicalname ('Serial Number' of table TABLE1)+ " = '"+ 'Serial Number' of table IV_Serial_MSTR +"'";

    Hope this helps!!!

  • Manikandan Profile Picture
    2,845 on at
    RE: Dexterity get table not working

    Hi Naga,

    At first I have tried with windows fields, but it was empty value. Only table had the correct value. That is why I have chosen the table values.

    Thanks

    Manikandan.S

  • Suggested answer
    Naga Kiran Profile Picture
    on at
    RE: Dexterity get table not working

    Hi Manikandan,

    So I see you are setting the data based on the scroll table IV_Serial_MSTR. I suggest you to set the TABLE1's key fields from the Scroll window fields, instead of the Table IV_Serial_MSTR.

    Hope it works.

  • Manikandan Profile Picture
    2,845 on at
    RE: Dexterity get table not working

    Hi Naga,

    Thanks for your response, I have not run the SQL profiler, Could you explain how SQL profiler useful in this case. Here is my coding


    release table TABLE1 ;
    clear table TABLE1 ;
    range clear table TABLE1 ;


    'Item Number' of table TABLE1 = 'Item Number' of table IV_Serial_MSTR;
    Bin of table TABLE1 = Bin of table IV_Serial_MSTR;
    'Serial Number' of table TABLE1 = 'Serial Number' of table IV_Serial_MSTR;

    get table TABLE1 by MB_YSL_Serial_Key1;
    if err(table TABLE1 ) = OKAY then
    'MB Manifest Number' of window IV_Serial_Number_Inquiry_Scroll of form IV_Serial_Number_Inquiry = 'MB Manifest Number' of table TABLE1 ;
    end if;

  • Naga Kiran Profile Picture
    on at
    RE: Dexterity get table not working

    Did you check in SQL Profiler when the get table statement executed. Could you post the script you have written.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans