@@AliRazaZaidi Thanks. I understand that the base machine has more RAM allocated. I've been testing on different computers, and it seems to only work decently on SSD.
@@andresmota4961 I usually work on office VM or cloud VM but for demo data and learning new things I used my own laptop. Some time too slow but it works. I believe on make best what you have instead weeping on lack of resources.
2:09 Why does your code use an underscore for _line? It is not a parameter. 4:24 You do it again: you use an underscore for a local variable's name, which doesn't make sense, for either X++ or C#.
@@AliRazaZaidi From Microsoft ... "The underscore character ('_') can be used in the following situations. - When naming formal parameters, it should be used as the first character. [Warning icon] - In the DEL_ prefix. - Subclasses can have the same name as their parent class, postfixed with a logical name that describes the subclass specialization. The name of the parent class might have to be shortened. In this case, use an underscore between the shortened parent class name, and the rest of the name. For example: InventUpd_Financial, InventUpd_Physical. - In an application object that is specialized for a specific country/region, the name is postfixed with underscore and the country/region code. For example: TaxReport_BE, LedgerJournalizeTrans_ES. Do *not* use an underscore in the following situations: - Beginning of an application object name. - *First character of a variable name in class declarations or methods. [Warning icon]* - End of a variable name in class declarations or methods."
Ass Salam o AlyKum Mr. Zaidi , I hope you doing well. Its very good and informative video but I want this display method are showing on my query base report or if you guide me how to add our custom table new field in my extended query. thanks a lot.
Ali Sir Thanks a lot for your reply, its available this filed in query its Done, I hope you never mind if i want some thing then i will contact you. Ali Sir please accept my linkdin request. thanks once again
2:28 Your logic is not correct. Suppose a sales order has 3 lines, where the values are SalesPrice, SalesQty, and LineAmount Line 1: 1.00 * 1 = 1.00 Line 2: 3.00 * 3 = 9.00 Line 3: 4.00 * 4 = 16.00 The total of the line amounts is 1.00 + 9.00 + 16.00 = 26.00 But your code uses SUM(SalesPrice) * SUM(SalesQty), which is 8.00 * 8 = 64.00
stay blessed for more success
my all best wishes for you.
Hi AliRaza, it seems that you are running the virtual machine on your laptop, how much RAM have you dedicated to VM?
16 GB, dedicated to VM.
@@AliRazaZaidi
Thanks. I understand that the base machine has more RAM allocated. I've been testing on different computers, and it seems to only work decently on SSD.
@@andresmota4961 I usually work on office VM or cloud VM but for demo data and learning new things I used my own laptop. Some time too slow but it works. I believe on make best what you have instead weeping on lack of resources.
How can we add new field to grid on which we can apply filters? filters can't be applied on the display method fields.
very useful video thanks for sharing knowledge
So nice of you
🙏
Great video
2:09 Why does your code use an underscore for _line? It is not a parameter.
4:24 You do it again: you use an underscore for a local variable's name, which doesn't make sense, for either X++ or C#.
Addicted, old coder, _ feel easier to search variable. Old man
@@AliRazaZaidi From Microsoft ...
"The underscore character ('_') can be used in the following situations.
- When naming formal parameters, it should be used as the first character. [Warning icon]
- In the DEL_ prefix.
- Subclasses can have the same name as their parent class, postfixed with a logical name that describes the subclass specialization. The name of the parent class might have to be shortened. In this case, use an underscore between the shortened parent class name, and the rest of the name. For example: InventUpd_Financial, InventUpd_Physical.
- In an application object that is specialized for a specific country/region, the name is postfixed with underscore and the country/region code. For example: TaxReport_BE, LedgerJournalizeTrans_ES.
Do *not* use an underscore in the following situations:
- Beginning of an application object name.
- *First character of a variable name in class declarations or methods. [Warning icon]*
- End of a variable name in class declarations or methods."
i am old school programmer, I used _ to find variable easily.
Ass Salam o AlyKum Mr. Zaidi , I hope you doing well.
Its very good and informative video but I want this display method are showing on my query base report or if you guide me how to add our custom table new field in my extended query. thanks a lot.
create extension of aot query, there you can add custom field from extended or custom table, please verify field groups in table extension
Ali Sir Thanks a lot for your reply, its available this filed in query its Done, I hope you never mind if i want some thing then i will contact you. Ali Sir please accept my linkdin request. thanks once again
2:28 Your logic is not correct. Suppose a sales order has 3 lines, where the values are SalesPrice, SalesQty, and LineAmount
Line 1: 1.00 * 1 = 1.00
Line 2: 3.00 * 3 = 9.00
Line 3: 4.00 * 4 = 16.00
The total of the line amounts is 1.00 + 9.00 + 16.00 = 26.00
But your code uses SUM(SalesPrice) * SUM(SalesQty), which is 8.00 * 8 = 64.00
Really a massive :)
Really Mess or massive :)
@@AliRazaZaidi Really a massive topic and please doing an amazing things in D365Fo I am waiting for your upcoming Extension videos :)
@@riyasahamed2016 so what you want to learn on extension, more. please share the idea.
@@riyasahamed2016 me too
Too much sound behind
Yes too old video
Definetely not for beginners