add RecordRef.SetAutoCalcFields(), like new RecordRef.SetLoadFields()


from https://github.com/microsoft/AL/issues/6316 Partial records 'just' landed, and with that we can pass a list of field IDs to `RecordRef.SetLoadFields()` in order to dynamically load fields while also ensuring we don't pull out columns we don't care about. Now would be a great time to add th...

Read more...
4 Comments

Read more...
4 Comments

Category: Development (786)

STATUS DETAILS
Needs Votes

FilterGroup(-1) does not, but should, work with FlowFields / include them in the WHERE clause


from https://github.com/microsoft/AL/issues/6486 - this and my support ticket via partner were closed, the latter claiming this would be by-design, but I want some more eyes on it, or at least votes indicating the 'design' is absurd ;-) **Describe the bug** Setting filters in group -1 where one...

Read more...
3 Comments

Read more...
3 Comments

Category: Development (786)

STATUS DETAILS
Needs Votes

Add optional parameter to Record[Ref].SetRecFilter() to ensure filters affect primary key (ForcePrimaryKey := false)


It seems that developers, including myself, do not expect that SetRecFilter() will use a secondary key if one is active; intuition suggests that it would always filter to the current record, i.e. use the unique primary key. I reported this here and got the documentation improved to mention that ...

Read more...
0 Comments

Read more...
0 Comments

Category: Development (786)

STATUS DETAILS
Needs Votes

Fix how conditionally visible page parts cause wrong initial expand/collapse or tab of factboxes pane


Tested on latest BC19 dev Sandbox and AL extension. If a page has only conditionally visible factboxes, BC opens it with those factboxes hidden/unfocussed, seemingly because it decides whether to show the factbox pane - and whether to focus its Details (user) or Attachments (system) tab - during...

Read more...
1 Comments

Read more...
1 Comments

Category: General (1223)

STATUS DETAILS
Needs Votes

Support using const or filter in Query DataItemLink property, equivalent to including constant value(s) in SQL JOIN


reposting from https://github.com/microsoft/AL/issues/4711 -- @salgiza: > You should consider adding the option to specify a const in the DataItemLink. > > As an example, the idea would mean being able to do this: > > ``` > dataitem(Customer; Customer) > { > // (...) > > dataitem(Sal...

Read more...
1 Comments

Read more...
1 Comments

Category: General (1223)

STATUS DETAILS
New

Please add a way to ModifyAll() via RecordRef/FieldRef i.e. in generic code


There is no way to ModifyAll() of a given field within a RecordRef record set to have a new value. This means we either have to (a) write non-generic code, copied and pasted for each table that needs ModifyAll()d... or (b) do it by FindSet(true)/repeat/Modify()/etc. - which is a lot slower as it...

Read more...
1 Comments

Read more...
1 Comments

Category: Development (786)

STATUS DETAILS
New

Add List versions of FieldRef Enum getters: GetEnumValueCaptions(), GetEnumValueNames(), GetEnumValueOrdinals()


As of right now, Fields of type Enum have FieldType.Option, and we can use them as such, e.g. do FieldRef.OptionMembers() to get the names of the available enumerated values as a comma-separated string, as with Options. Hopefully this is future-proof...! There are also the following methods on F...

Read more...
0 Comments

Read more...
0 Comments

Category: Development (786)

STATUS DETAILS
New

Honour Style / StyleExpr properties on the Tile / Brick page view mode. Currently these are ignored


The title says it all really. If we set Style/StyleExpr, pages viewed in 'list' mode use them, but those in tile/Brick mode do not. This should be rectified so that conditional formatting works in tiles too. Thanks!

Read more...
2 Comments

Read more...
2 Comments

Category: Development (786)

STATUS DETAILS
New

Add Record[Ref].AddAutoCalcFields(), so extensions can add FlowFields, not trample existing SetAutoCalcFields()


With partial records came SetLoadFields() and AddLoadFields().However, the 'old' SetAutoCalcFields() does not have any AddAutoCalcFields(), so there is no way for an author of e.g. a report extension to say 'still auto-calculate all FlowFields the base code needs, BUT add thi...

Read more...
0 Comments

Read more...
0 Comments

Category: Development (786)

STATUS DETAILS
Needs Votes

Let Media.ImportStream() overload with filename be used for Cloud/SaaS (lack thereof is very inconvenient)


from the now-closed https://github.com/microsoft/AL/issues/6890my post:>>>Similar to https://github.com/microsoft/AL/issues/6568which was discussed on https://www.yammer.com/dynamicsnavdev/#/Threads/show?threadId=1102694460448768I previo...

Read more...
0 Comments

Read more...
0 Comments

Category: Development (786)

STATUS DETAILS
Needs Votes