Write to Text File in C#

First, create a new console app: Next, add: using System.IO; Now add code: using (StreamWriter writer = new StreamWriter(“filename.txt”)) { writer.Write(“1”); writer.WriteLine(“2”); writer.WriteLine(“3”); writer.Write(“4”); } Now go to the directory you ran the code from. You will see the filename.txt file created: This code can also be written as: StreamWriter writer = new StreamWriter(“filename.txt”); writer.Write(“1”); writer.WriteLine(“2”); writer.WriteLine(“3”); writer.Write(“4”); writer.Flush(); writer.Close();  

Common Data Model and Common Data Service

Microsoft has released the Common Data Model currently as part of its PowerApps suite. The Common Data Model and Common Data Service are a “Microsoft Azure–based business application model and storage mechanism for the Microsoft business application platform”. It allows for the creation of entities to store your data, and then plugs into the PowerApps suite. To use the common data model, log into PowerApps at https://powerapps.microsoft.com/. You will find the … Continue reading Common Data Model and Common Data Service

Currency Setup in Dynamics 365

To set up a new currency in the system, go to Settings->Business Management and select Currencies: Click New: Use the currency code lookup to select a currency: Set the conversion rate: Now, on the Account record, you can set the account’s currency: Now, go to Settings->Product Catalog and select Price Lists: Create a new price list. Set the currency to Euro: Add a price list: Save the price list to … Continue reading Currency Setup in Dynamics 365

Resolve Issues Faster in Unified Service Desk with Google Search

There are times in a help desk or call center scenario where the agent may need to search Google in order to find the answer to something. We’re all human! In this post, I will show you how to configure Unified Service Desk (USD) so when a case is opened, the agent will get details from Google search returned into the USD application. First, in the USD configuration in Dynamics 365, create … Continue reading Resolve Issues Faster in Unified Service Desk with Google Search

Dynamics 365 Sales Literature

Sales Literature is an area in Dynamics 365 where you can save your brochures, manuals, price sheets etc. To access Sales Literature, go to Sales->Sales Literature: This will display all sales literature: Click New to create a new record: Note the options for the subject, and the Type: Save the record. Click to add Sales Attachments: Here you can add documents: Complete the record by adding products and competitors:  

Dynamics 365 Excel Templates

Excel templates in Dynamics 365 are a way to easy create custom Excel reports you can run when needed. To create an Excel template, go to Settings->Templates: You will see the page. Select Document Templates: Here you will see the available templates view: With the option to change the view: Select New. You will have the option to select Excel Template and Word Template. You can also access this screen … Continue reading Dynamics 365 Excel Templates

Up-sell and Cross-sell Products in Dynamics 365

When selling products, you may want your salespeople to also upsell or cross-sell additional products. We will go through setting this up in Dynamics 365. To do this, open a product and go to Product Relationships. For example, below I have a Sony TV: The Product Relationships window opens. Note the options: Up-sell Cross-sell Accessory Substitute First, we will select Up-sell and select a product: Note the direction: Uni-directional. This … Continue reading Up-sell and Cross-sell Products in Dynamics 365

Product Families in Dynamics 365

Product families is a way in Dynamics 365 to assign common properties to products. To use product families, go to Sales->Products. Select Add Family: Enter the required information. Note you can specify a parent and also a date range. Here we will add a family for Televisions: You can also create a family and define a parent family, e.g. Televisions->Plasma Televisions: Now, create a property. We will add “Screen Size” … Continue reading Product Families in Dynamics 365

Dynamics 365 Word Templates

To set up Word Templates, go to select a view and select Excel Templates->Create Excel Template: Click Select Entity: Select any relationships and click Download Template: Open the downloaded Word document. From the developer tab, select XML Mapping Pane: Right click on a field and select Insert->Plain Text: The field will now appear in the document: Back in the view, select to Upload a Word Document:   Now, select an … Continue reading Dynamics 365 Word Templates

Create Opportunity, Quote, Order and Invoice in Dynamics 365

To create an opportunity, quote, order and invoice for a customer in Dynamics 365, go through the following steps. First, navigate to Opportunities: Click New to create a new opportunity: Enter required fields and save the record: Note the different areas of an opportunity: Stakeholders Sales Team Competitors Product Line Items Quotes Select Product Line Items and enter a new price list: Click + to select a new product or … Continue reading Create Opportunity, Quote, Order and Invoice in Dynamics 365