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

Error while creating flowfield in table extension using Visual studio code #52

Closed
TinaMenezes opened this issue Jan 3, 2017 · 2 comments
Labels
bug Product bug shipped

Comments

@TinaMenezes
Copy link

Hi all,
I have created a new tableextension object using Visual studio code which extends Item table.
I have created a field which is a flow field.
I have coded the following:
field(70000000;"Control Sample Qty";Decimal)
{
Editable=False;
FieldClass=FlowField;
DecimalPlaces=0:5;
CalcFormula=Sum(ControlStabilitySample."Sample Qty" WHERE ("Item No."=FIELD("No."),Status=FILTER(<>"QC Completed"),"Sample Type"=CONST("Control Sample"),"Loan License No."=FILTER(='')));
}
where, 'ControlStabilitySample' is a new table I have created in Visual studio code.
But the CalcFormula statement give me following error:
error AL0999: Internal error: 'Object reference not set to an instance of an object.', Stack trace=unknown

The statement which is creating error in CalcFormula is:
"Item No."=FIELD("No.").
Kindly suggest how to solve this.

@esbenk
Copy link
Contributor

esbenk commented Jan 3, 2017

Hi,

Unfortunately this is a bug in the preview. The good news is that it is already fixed and will be available in the next update.

@esbenk esbenk added the ships-in-future-update The issue is fixed in our 'master' branch and will ship in the next PREVIEW release label Jan 3, 2017
@TinaMenezes
Copy link
Author

Hi @esbenk,
Great. Thank you!

@StanislawStempin StanislawStempin added this to the January Update milestone Jan 10, 2017
@StanislawStempin StanislawStempin added bug Product bug 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 12, 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

3 participants