web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Extender Windows

(0) ShareShare
ReportReport
Posted on by 12

Hello There I wanted to create a extender windows to store extra information of the shipto on the customer address maintenance.  I have selected addresscode as key field but I am not able to get the information from new table using the key field and have to go through full table to get 1 data.  Also I wanted to store 2 fields one for created date and 2nd date for modified date on the new extender table.  Can anyone help me on this.

thanks,

babu

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mahmoud Saadi Profile Picture
    32,738 on at

    When it comes to understanding Extender tables, views and how data is recorded and linked to Key fields, two things are immediately recalled to my mind, which are the following;

    1. Mr. Maiano's Article on Sampling data from Extender tables
    2. Mr. David's Article on Creating SQL Views of Extender Data

    Hope this helps,

  • Jonathan Fear Profile Picture
    on at

    I have to agree with Mahmoud on this one. I would recommend getting familiar with how Extender works.

  • Suggested answer
    Richard Whaley Profile Picture
    25,195 on at

    Well there is also the book Extending MS Dynamics GP available from www.AccoladePublications.com

    The situation you have has two issues.  First, you need to link based on the customer number AND the address ID.  Many customers have their first address as Primary.

    Second, you need to attach the one window to other places where you need to access the same information using an Extender Inquiry.  The Inquiry allows users to lookup and display data entered in one place in other places.  

    There is a lot to understand with Extender, it is a great product.  Check out our book!

  • babubaskaran@outlook.com Profile Picture
    12 on at

    Thanks Mahmoud, Jonathan and Richard.  Creating SQL view within extender was easy.  the following is the sql of the same.  but my problem is we are having a extender windows and extender notes. I am able to select the table of extender window and join with customer address master but the extender notes table doesnt show up to add it on view.   so I am thinking of creating a view directly in sql to include the table extender notes.  let me know if any other suggestion from anyone.

    create view CUST_TYPE

    as select

    A1.ADRSCODE,

    A1.CREATDDT,

    A1.CUSTNMBR,

    A1.MODIFDT,

    A1.SLPRSNID,

    'CUSTOMER TYPE' = CASE A2.CUST_TYPE_1_CUSTOMERTYPE WHEN 1 THEN 'SOLDTO' WHEN 2 THEN 'SHIPTO' END ,

    A2.CUST_TYPE_Key1 AS 'Address Code',

    A2.CUST_TYPE_2_CUSTOMERCLASS AS 'CUSTOMER CLASS',

    A2.CUST_TYPE_3_SICCODE AS 'SIC CODE',

    A2.CUST_TYPE_4_SHIPTONAME AS 'SHIPTO NAME',

    A2.CUST_TYPE_8_COUNTY AS 'COUNTY' from

    RM00102 A1

    left join

    (select

    K1.Key_Strings_1 as CUST_TYPE_Key1,

    CUST_TYPE_1_CUSTOMERTYPE,CUST_TYPE_2_CUSTOMERCLASS,CUST_TYPE_3_SICCODE,CUST_TYPE_4_SHIPTONAME,CUST_TYPE_8_COUNTY

    from

    (select PT_UD_Key, Key_Strings_1, Key_Strings_2, Key_Strings_3, Key_Strings_4, Key_Strings_5 from EXT00100 where PT_Window_ID = 'CUST_TYPE') K1

    left join

    (select PT_UD_Key, TOTAL as CUST_TYPE_1_CUSTOMERTYPE from EXT00103

    where PT_Window_ID = 'CUST_TYPE' and PT_UD_Number = 1) B1

    on K1.PT_UD_Key = B1.PT_UD_Key

    left join

    (select PT_UD_Key, STRGA255 as CUST_TYPE_2_CUSTOMERCLASS from EXT00101

    where PT_Window_ID = 'CUST_TYPE' and PT_UD_Number = 2) B2

    on K1.PT_UD_Key = B2.PT_UD_Key

    left join

    (select PT_UD_Key, STRGA255 as CUST_TYPE_3_SICCODE from EXT00101

    where PT_Window_ID = 'CUST_TYPE' and PT_UD_Number = 3) B3

    on K1.PT_UD_Key = B3.PT_UD_Key

    left join

    (select PT_UD_Key, STRGA255 as CUST_TYPE_4_SHIPTONAME from EXT00101

    where PT_Window_ID = 'CUST_TYPE' and PT_UD_Number = 4) B4

    on K1.PT_UD_Key = B4.PT_UD_Key

    left join

    (select PT_UD_Key, STRGA255 as CUST_TYPE_8_COUNTY from EXT00101

    where PT_Window_ID = 'CUST_TYPE' and PT_UD_Number = 8) B8

    on K1.PT_UD_Key = B8.PT_UD_Key ) A2

    on A2.CUST_TYPE_Key1 = A1.ADRSCODE

    left join

    (select

    from

    (select PT_UD_Key, Key_Strings_1, Key_Strings_2, Key_Strings_3, Key_Strings_4, Key_Strings_5 from EXT00100 where PT_Window_ID = 'CUST_TYPE') K1 ) A3

    on

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans