Posts

Showing posts from November, 2021

Using QueryExpression get the Link Entity details in D365

 public static void Main() {     EntityCollection salesOrderCollection = this.GetAccounts(customerId, salesOrderCreationDate); } public EntityCollection GetAccounts(string customerId, DateTime AccountBaseCreationDate) {     QueryExpression ContactItemQuery = new QueryExpression(AccountBase.LogicalName);     // Add Condition to Customer.     ContactItemQuery.Criteria.AddCondition(AccountBase.Id, ConditionOperator.Equal, customerId);     FilterExpression mainFilter = new FilterExpression(LogicalOperator.And);     mainFilter.AddCondition(AccountBase.CreatedOn, ConditionOperator.GreaterThan, AccountBaseCreationDate);     FilterExpression statusCodeFilter = new FilterExpression(LogicalOperator.Or);     statusCodeFilter.AddCondition(AccountBase.Status, ConditionOperator.Equal, (int)AccountBase.AccountStatus.Submitted);     statusCodeFilter.AddCondition(AccountBase.Status, ConditionOperator.Equal, (int)AccountBase.AccountStatus.Fulfilled);     statusCodeFilter.AddCondition(AccountBase.Status,

Deploy a Azure Service Bus Topic using ARM Template

Image
  Deploy a Azure Service Bus Topic using ARM Template with Deploy a Custom Template. https://blogs.perficient.com/2016/03/29/azure-arm-template-create-service-bus-topic-with-subscription/ Login to Azure URL: https://portal.azure.com Username:     xxxxxxxxx@microsoft.com Password:       ********** è After login to Azure in Search with Deploy a Custom Template and open it. è Click on Build your own template in the editor Create a json file with below code: ex: AzureDeploy.json /////////////////////////////////////////////////////////////////////////////////////// {   "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",   "contentVersion": "1.0.0.0",   "parameters": {     "serviceBusNamespaceName": {       "type": "string",       "metadata": {         "description": "Name of the Service Bus Namespace"       }     },