Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

D365 Business Central - Pass data from API to Page is Source Table Temporary true

Posted on by 17
Hi Experts,
 
How to do passing the data from API table (custom table) to the standard page is source table temporary using AL code?
I have trying to pass but cannot save it on the page.
 
Example of situation:
I want to import the API data to Physical Inventory Journals and also Item Tracking Lines (under related, page ID is 336). The data can be import to Physical Inventory Journal but cannot import to Item Tracking Lines.
Any ideas for this? 
 
Thanks.
  • Suggested answer
    JoniDynamics Profile Picture
    JoniDynamics 24 on at
    D365 Business Central - Pass data from API to Page is Source Table Temporary true
    Please connect with us - 

    email - info@dynamicssquare.co.uk

    We are certified Dynamics 365 partner we will definitely help you .
  • JohnWong Profile Picture
    JohnWong 17 on at
    D365 Business Central - Pass data from API to Page is Source Table Temporary true
    Hi Yun Zhu,
     
    Thank you for your information given. I have try you code on Purchase Order, it's working. But it's not working on physical inventory journal when I trying using you code and just change the purchase line to item journal line table only.
     
    There is not data in item tracking line under Physical Inventory Journal related, even though have insert the data to reservation entry and lot information table after I click "Update item tracking line" actions.
    I still finding what issue of that or the structure is different. You have any idea for this?
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 63,857 Super User on at
    D365 Business Central - Pass data from API to Page is Source Table Temporary true
    Hi, have you tried using the table below?
    table 337 "Reservation Entry"
    A simple example of adding Item Tracking Lines from code: https://yzhums.com/7943/
     
    And, below is a detailed document that introduces Item Tracking in detail. I hope it can also give you some tips.
     
     
    Thanks.
    ZHU

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans