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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Getting values from on table custom field to another table custom field

(0) ShareShare
ReportReport
Posted on by 436

Hey everyone, I have created two custom fields ("Billing Period (datatype: date)" and "Billing Month (datatype: option)" ) in "Sales Header" table and same fields in  "Sales Invoice header" table. Now I want a functionality that whenever I enter value for the two fields in "Sales Header" table using "Sales Invoice" card page and post it, the values should be automatically appended to the two filed in "Sales Invoice header" table and should be displayed on the "Posted Sales Invoice" card page (I have displayed the custom fields also on the card). In the figure below, I have created a logic but it isn't working. The logic is used for the "Posted Sales Invoice" card page that whenever it is opened the functionality should be triggered. Kindly resolve it. 

pastedimage1671011617227v1.png

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    Create those two fields Exactly same in Sales Invoice Header table with the same ID. and the see and remove coding of if you have done it for those fields.

    Thanks

  • Muhammad Anas Naeemi Profile Picture
    436 on at

    Thank you, Issue resolved.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Thats good news.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 743 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 546 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 332 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans