SBX - Search With Button

SBX - Forum Post Title

Record Data Type

Microsoft Dynamics NAV Forum

jsshivalik asked a question on 16 May 2018 7:13 AM
My Badges

Question Status

Suggested Answer

Hi

     When we create variable of Record DataType say CustLine with Sub Type say Customer in Forms . How it works. 

if in Insert Record in Record variable Custline say CustLine.Insert  it will automatically save Data in Main Table. 

Thanks

Reply
Suresh Kulla responded on 16 May 2018 7:28 AM
Suggested Answer

Yes, the variable is just an object you are creating. You need to make sure you update your form using CurrPage.Update to retrieve the data.

Reply
Olister Rumao responded on 16 May 2018 10:44 PM
My Badges
Suggested Answer

Hi jsshivalik,

When you use Record_Name.INSERT the data is inserted into the Table. May be the page wasn't updating. Use CurrPage.UPDATE to update your page or manually click the Refresh Button.

Reply
Suresh Kulla responded on 16 May 2018 7:28 AM
Suggested Answer

Yes, the variable is just an object you are creating. You need to make sure you update your form using CurrPage.Update to retrieve the data.

Reply
Olister Rumao responded on 16 May 2018 10:44 PM
My Badges
Suggested Answer

Hi jsshivalik,

When you use Record_Name.INSERT the data is inserted into the Table. May be the page wasn't updating. Use CurrPage.UPDATE to update your page or manually click the Refresh Button.

Reply

SBX - Two Col Forum

SBX - Migrated JS