Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is source in field page snippet #46

Closed
pmohanakrishna opened this issue Dec 28, 2016 · 3 comments
Closed

what is source in field page snippet #46

pmohanakrishna opened this issue Dec 28, 2016 · 3 comments
Assignees
Labels
bug Product bug shipped

Comments

@pmohanakrishna
Copy link

field(MyField;# Source)
{
FieldPropertyName = FieldPropertyValue;
}

@pmohanakrishna pmohanakrishna changed the title what is source is field page snippet what is source in field page snippet Dec 28, 2016
@freddydk
Copy link

On the VM, in the folder C:\DEMO\New Developer Experience\AL you will find some of the base objects as .al files (2 pages, a codeunit and a table). Source is the source expression (typically the same as the field name in the page). One example where they are different is the customized calendar field:
field("Customized Calendar";CalendarMgmt.CustomizedCalendarExistText(CustomizedCalendar."Source Type"::Customer,"No.",'',"Base Calendar Code"))

@pmohanakrishna
Copy link
Author

so Its SourceExpr property in page. Thanks..

@pmohanakrishna
Copy link
Author

Is this Source property working in preview?
I am trying to create a field like below and is not working

pageextension 70000003 CheckComments extends "Job Card"
{
layout
{
// Add changes to page layout here
addlast(General)
{
field(Comments;ChechComments.CheckCommentsExist(Rec."No."))
{
Editable = FALSE;
}
}
}

var 
  ChechComments : Codeunit 70000000;

}

It added a field but not showing any check box.

issue

@esbenk esbenk added the bug Product bug label Dec 29, 2016
@esbenk esbenk self-assigned this Dec 29, 2016
@esbenk esbenk added ships-in-future-update The issue is fixed in our 'master' branch and will ship in the next PREVIEW release and removed in-progress labels Jan 4, 2017
@StanislawStempin StanislawStempin added this to the January Update milestone Jan 10, 2017
@StanislawStempin StanislawStempin added shipped and removed ships-in-future-update The issue is fixed in our 'master' branch and will ship in the next PREVIEW release labels Jan 14, 2017
@microsoft microsoft locked and limited conversation to collaborators Apr 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Product bug shipped
Projects
None yet
Development

No branches or pull requests

4 participants