Modern Text Search in AL and Business Central
26:30
Пікірлер
@ExcelObianyiscoarts
@ExcelObianyiscoarts Сағат бұрын
Hi Erik. Is there a way we can use the query to update a record in another table? So after opening the query and we select a record, can we use that record to update another table?
@alexyeromin6009
@alexyeromin6009 22 сағат бұрын
great example thank you
@trungnguyenquang6032
@trungnguyenquang6032 3 күн бұрын
thanks
@trungnguyenquang6032
@trungnguyenquang6032 2 күн бұрын
May I ask for some advice from you about BC, I'm researching ERP for my company.
@Hougaard
@Hougaard 2 күн бұрын
@trungnguyenquang6032 sure, send an email to [email protected]
@phl1010
@phl1010 3 күн бұрын
God that seems simple. Great video, can you use a similar function on the posting of Item Reclassification Journals? I cannot figure out of there is a standard flag that changes that in business central. The GL-entries often is called something along the line of "Direct Cost", which doesnt give me much info.
@Mohammad-m5o-k1g
@Mohammad-m5o-k1g 6 күн бұрын
Thanks for the video, btw at 8:53 you could use the Quick Fix "implement interface"
@AndresLopez-ee5su
@AndresLopez-ee5su 7 күн бұрын
Very helpful video, however, can you create more complex APIs from different joined tables and group values similar like you can do in SQL views?
@tedcjohnston
@tedcjohnston 7 күн бұрын
I tried this and got different results. Checked Feature Management and had to enable for all users- or enable in each search. Specifically, when searching from the No. field on the sales line, the search pop-up has a gear icon in the bottom where you can switch search engines.
@guidorobben6259
@guidorobben6259 8 күн бұрын
There is difference in record count, so one has to loop more records.
@DarkEsproc
@DarkEsproc 8 күн бұрын
&&hoff*&&&erik* actually makes sense if the new "&&" operator means "at the beginning of a new word ..." makes search a little more regex 🤣
@tristancliffe
@tristancliffe 8 күн бұрын
I've got a few custom fields. Let's say it's "Wife's Name" in the customer table. I have been unable to add OptimizeForTextSearch to that (or multiple) fields in AL - if I try, it gives an error (with not many details). Does it work for you? (You might need to use your text generstor to fill the field with searchable data of course).
@drewkipfer5404
@drewkipfer5404 8 күн бұрын
Same here
@npu3paka2
@npu3paka2 9 күн бұрын
I cannot wrap my mind around the &&. It’s like the universe is saying, 'Here, have some logic, but only if you really deserve it. Can someone explain what kind of wizardry makes &&keyword spit out its results and what is the meaning? Is it ANDing my soul with confusion?
@YannSaintLaurent
@YannSaintLaurent 7 күн бұрын
Yes please! What does the “&&” do? I searched online but couldn’t find an answer. Thanks
@GUBLAZ
@GUBLAZ 9 күн бұрын
is only on my maschine the video and the audio async?
@Hougaard
@Hougaard 8 күн бұрын
No, new stuff is ordered...
@AndresLopez-ee5su
@AndresLopez-ee5su 14 күн бұрын
Eric, is it better to use these API queries instead of the web services? Please comment as to why or why not. Thx much.
@Hougaard
@Hougaard 13 күн бұрын
Web services are slower and are not static...
@AndresLopez-ee5su
@AndresLopez-ee5su 9 күн бұрын
@@Hougaard Thanks Eric!
@AndresLopez-ee5su
@AndresLopez-ee5su 9 күн бұрын
Sorry for misspelling your name, Erik
@ExcelObianyiscoarts
@ExcelObianyiscoarts 14 күн бұрын
Awesome video Erik. This is very useful and helpful.
@AndresLopez-ee5su
@AndresLopez-ee5su 14 күн бұрын
Great video, are these the same API queries that can be consumed as a datasource (semantic model) in Power BI?
@Hougaard
@Hougaard 14 күн бұрын
Yes
@AndresLopez-ee5su
@AndresLopez-ee5su 14 күн бұрын
Never mind, I should have waited to watch the full video, it answers my question in last 30 seconds of video :)
@himalayasharma2963
@himalayasharma2963 15 күн бұрын
Thank you Sir Hougaard!
@dennisvanes1036
@dennisvanes1036 15 күн бұрын
Nice one. Should we start calling you Perseus from now on?
@vampy1923
@vampy1923 15 күн бұрын
What would happen, if the referenced objects does not exist (because the app is not installed)? Is there any way to check this, before executing the code or, better, set the action to visible=false?
@Hougaard
@Hougaard 13 күн бұрын
Yeah, decided to leave that part out, it's quite simple, just check AllObj for records in the app you want to check for's number range.
@romankuleschow287
@romankuleschow287 15 күн бұрын
Hi, thank you for that Video, what type of addon ist the replace Word addon? Like Replace Medusa with RDI?
@Hougaard
@Hougaard 15 күн бұрын
That's just builtin F2 rename.
@Kallenator1988
@Kallenator1988 15 күн бұрын
And here I thought you where dealing with the service module, and the medical industry! :D P.s, tale synk er lort.
@Hougaard
@Hougaard 13 күн бұрын
Bedre udstyr er bestilt
@zamsir8300
@zamsir8300 16 күн бұрын
Hi Eric Can you please make a video on CI/CD using azure DevOps Pipeline on saas environment. I looked for it but did not get it specially for saas version.
@maximsokolov1740
@maximsokolov1740 20 күн бұрын
Wat??? Why don't you just create publisher? If sharepoint uploader is installed then it can subscribe and handle. If not installed, then just well, nothing happens. Why make THIS?
@Hougaard
@Hougaard 18 күн бұрын
You can only subscribe if you have a dependency to the app that publishes the event.
@ipangsasono7725
@ipangsasono7725 20 күн бұрын
this is what was i looking for... i enjoy watching your video..
@DarkEsproc
@DarkEsproc 21 күн бұрын
actually, codeunits could pass themselves around for a long time, but not without external initialization.. cool new stuff
@subamathis1793
@subamathis1793 21 күн бұрын
How to change the invoice discount caption in sales invoice report
@davidevincenzodionigimazzi9432
@davidevincenzodionigimazzi9432 21 күн бұрын
I have always the same problem with stream direction :D
@davidevincenzodionigimazzi9432
@davidevincenzodionigimazzi9432 21 күн бұрын
Erik what would happened if there is no codeunit(749***) or table id 749**? a run time crash? thanks
@484sd
@484sd 21 күн бұрын
At Directions EMEA I had a chat about "conditional dependencies". In my case I do have localized version of my app, due to the fact, that MS is publishing different code with the same AppId for various countries. If I now want to offer an addon to those localized apps, I do have to create multiple apps with different dependencies, depending on the localization. In general It could be solved with an Connector/ Bidge extension, but this wil cause a lot of addition effort just to maintain the AppSource offerings. So conditional dependency resolve is something I would like to see in future. Maybe there could be something like "If an app A is installed, also define a dependency to app B." App B is a library extension, that acts a a bride extension. Just somthing that came to my mind right now. One thing I don't like about your solution is that there are no warnings for discontinuations/obsoletions or type mismatches. So the user might run into runtime errors.
@chriswatson2407
@chriswatson2407 21 күн бұрын
You could extend further by only permitting your example code to run if the dependant app is installed though I haven't got any 'app detection' code to show you.
@varshasavukar6252
@varshasavukar6252 22 күн бұрын
I have a powerapps managed solution but how to add that in visual studio how to do setups .. please help me
@dominicstarkl2953
@dominicstarkl2953 22 күн бұрын
The sound in this video does not seem to be synchronous with the pictures. Do you also get this behavior?
@Hougaard
@Hougaard 22 күн бұрын
Windows 11 is screwing with my microphone :(
@SivaguruMuralidharan
@SivaguruMuralidharan 22 күн бұрын
Can we not create a custom connector app to bridge the 2 apps (Sharepoint App and the app you are trying to connect with SharePoint)? The custom connector app will have 2 dependencies and none on our Original App.
@Hougaard
@Hougaard 22 күн бұрын
Totally, but with appsource we don't have a good delivery mechanism for "minor" apps...
@SteinarSigurds
@SteinarSigurds 23 күн бұрын
I have done this a few times, but always feel like I am cheating :)
@seanneeley7111
@seanneeley7111 26 күн бұрын
How do you debug an AL page which gets triggered by an HTTP request, where there is no UI?
@jennifervdz85
@jennifervdz85 28 күн бұрын
very cool!
@MiklosHollender
@MiklosHollender 29 күн бұрын
Erik, what can one do if one is still on like NAV2016 but wants to build things in a future-oriented way, to make it easy to move to BC? My guess would be to use variables of the DotNet type HTTPClient etc.
@reyikvandeymon
@reyikvandeymon 29 күн бұрын
Hello Erik, it is still possible to use SELECTLATESTVERSION. If you do so, than you have access to a record BEFORE the end of a transaction. Let me explain. You INSERT a record, call STARTSESSION with the insterted record and SLEEP 10 seconds to delay the end of the transaction. The background session codeunit usually only has access to the record after the end of the transaction in the caller codeunit, i.e. 10 seconds. Unless you use SELECLATESTVERSION in the codeunit of the background session! But I can definitely not recommend using it in this case. Because if you fire an ERROR after the 10 second sleep time then you might got a problem, because you work in the background session with a record wich will be rolled back. (Tested with Dynamics NAV 2016). I prefer to use a small loop that tries to get the record every 1 second, but gives up after 30 seconds. Especially when subscribing to a trigger like OnAfterPost where we don't know whats running after our code and when the transaction ends. An example of the use of SELECTLATESTVERSION is in my opinion to access records which are added to the SQL database without the knowledge of the NAV Servicetier. e.g. through an sql import service. Thanks for your videos. I always enjoy watching them.
@Dynamicvlogger-365
@Dynamicvlogger-365 29 күн бұрын
Hi @Erik can you help me How to Export data from business central cloud using Excel Buffer table.
@KerimKaran-tj1ul
@KerimKaran-tj1ul 29 күн бұрын
I use this a lot for API connections to 3rd parties.
@CARUFO
@CARUFO 29 күн бұрын
It would be nice if there was an easy way to wait until a started session is completed. Like .NET "Thread.Join()" -> "JoinSession(SessionId)"
@KVLBLEprm-y9p
@KVLBLEprm-y9p 29 күн бұрын
Thank you for that nice video! I have two questions: Can I also implement in my sales doc the Tariff number and the origin of country? Second question: I want to add the position number in my sales docs like: 1, 2, 3 and not like the line numbers 10000, 20000, etc.
@KVLBLEprm-y9p
@KVLBLEprm-y9p 29 күн бұрын
Quick update: I was able to add the pos number (with your video) but for the description fields in my sales docs it adds ‚0‘ can I make them invisible? I still was not able to add the tariff number and the origin country of item :/
@dustinbottcher9839
@dustinbottcher9839 29 күн бұрын
When should I use Task Scheduler with JobQueue and when Startsession for Intercompany Jobs to validate? I heard about that Startsession would need more Server Ressources, true?
@Hougaard
@Hougaard 29 күн бұрын
Startsession is _NOW_, taskscheduler is "later" :) Server resources are about the same.
@dominicstarkl2953
@dominicstarkl2953 Ай бұрын
Where is the scalability per user defined?
@Hougaard
@Hougaard Ай бұрын
I don't understand the question?
@dominicstarkl2953
@dominicstarkl2953 Ай бұрын
@Hougaard You mentioned that for example the OData timeouts will be increased if more users are registered on the tenant
@Hougaard
@Hougaard Ай бұрын
BC in general assigns more resources the more you use it. The metrics for this is not public.
@dominicstarkl2953
@dominicstarkl2953 Ай бұрын
How did you implement the clearing of all selections with one click?
@Hougaard
@Hougaard Ай бұрын
It's just a field, not a true selection control
@munkmaster1650
@munkmaster1650 Ай бұрын
i cant find source code for this in git
@Hougaard
@Hougaard Ай бұрын
Wrong link under the video, fixed. No source available :)
@abhaq50000
@abhaq50000 Ай бұрын
Dear Professor I have a subscription to Microsoft Business Dynamics Is it possible to connect to the database via SSMS I want to specify the data in the table directly Item Ledger Entry Since this table contains tens of millions of records and I want to review the inventory according to special queries Without using the AL language How can I get my contact information in SSMS I am in Saudi Arabia and I took the program through a local intermediary company. Is the SSMS data With the intermediary company or can I get it directly by contacting the parent company directly select * from [Item Ledger Entry] where ....!!!!
@Hougaard
@Hougaard Ай бұрын
You can't.
@abhaq50000
@abhaq50000 Ай бұрын
@@Hougaard
@TheLastEmperorXiXinPig
@TheLastEmperorXiXinPig Ай бұрын
tack! new in business central but your videos really help! ALM videos would be a great addition, setting up repos, deployments, source control, how is that done in BC?
@Hougaard
@Hougaard Ай бұрын
There are videos on Git and AL-Go here, go search for them :)
@dominicstarkl2953
@dominicstarkl2953 Ай бұрын
Tasks for the great video. What I miss in AL is selecting a symbol element limited by double quotes by doble clicking on it, what we could do in the modern C/SIDE. Ex.: Double click on "Customer Card". Do you know a way to get this back in AL?
@Hougaard
@Hougaard Ай бұрын
Not that I'm aware of.
@MaximilianSchwartz-g3x
@MaximilianSchwartz-g3x Ай бұрын
Is there a way to disable the OK button until, for example, a field is filled in?
@Hougaard
@Hougaard Ай бұрын
Nope
@MaximilianSchwartz-g3x
@MaximilianSchwartz-g3x Ай бұрын
​@@Hougaard Sad, but thanks for your lightning quick reply!
@drewkipfer5404
@drewkipfer5404 Ай бұрын
Very nice! BC would be a much stronger product if Microsoft made an out-of-the-box portal solution like this. There is a lot more demand in the B2B market to provide self-service portals for customers and vendors.
@HiddenLoasmo
@HiddenLoasmo Ай бұрын
This helped me a great deal, thank you Mr. Hougaard! I'm quite new to BC Programming and AL as a language, but so far the videos I've watched from you were always really helpful. You really take time to explain stuff that's specific to AL and BC and give good examples for them.