D365 Stuff
  • Home
  • x++
  • Common errors
  • Distractions

x++

A collection of 23 posts

D365

D365 Custom JSON Web Service with Pagination

I got a request for a RESTful API with Pagination; here is my proof of concept: There are a few keys to this: * A queryRun object must be used (vs SELECT statement) in

  • Michael Stashwick
    Michael Stashwick
1 min read
D365

Copy Write D365 Document Management Handling File to wherever via Logic Apps

Because why not? Problem: How do I get this lost raccoon from a D365 attachment to another part of the cloud? Spoiler: You're going to DB partnerFirst, we need to create

  • Michael Stashwick
    Michael Stashwick
1 min read
D365

Reading Parsing Text Files From Document Management (fka Document Handling)

When I started my career, I was blown away by how it seemed the world ran on text files.  Today, even after years of cloud transformation, the world still seems to run on

  • Michael Stashwick
    Michael Stashwick
1 min read
D365

x++ AADAuthentication to get D365 Tenant Id

x++ to get D365 FO tenant id

  • Michael Stashwick
    Michael Stashwick
1 min read
D365

... does not implement the delegate 'convertPurchTableFieldToVendInvoiceDelegate'

This is a fun surprise that can take a bit of digging.  When adding fields to the PurchTable table's HeaderToLineUpdate field group, this error can pop up if they aren'

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

System.DateTime

There are enough x++ date and time functions to do just about anything, but sometimes they can make simple tasks fussy, and lack precision.  I was investigating how to bring in [at least]

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

Call Center Payments Part 2 - Credit Cards

Part 1 was a simple example of how to add a cash payment to a call center order.  Here, we'll explore how to add a credit card payment to the order.

  • Michael Stashwick
    Michael Stashwick
3 min read
x++

Override Gift Card Balance using Chain of Command

If you ever need to do this, do it here.

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

Call Center Payments Part 1 - Cash

Creating call center payments via x++ is a challenging and increasingly common task that every architect needs to know.  It's a reasonable client request to integrate or create payments, and it&

  • Michael Stashwick
    Michael Stashwick
2 min read
Integrations

Call x++ web service with web browser snippet

There are a lot of ways to call D365 web services – Postman, Fiddler, Logic Apps – but they're all a bit fussy.  Getting authentication right the first time can be stressful, and

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

Send NonInteractive E-mail x++ D365

There are a lot of posts out there about how to send e-mails in Dynamics.  It's something we've all been doing for years, but a lot of us could

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

LedgerDimensionFacade is the new DimensionDefaultingService

This is more of a reminder for me than you that the DimensionDefaultingService class doesn't exist in D365.  The DimensionDefaultingService was a short-lived class; brought into existence for only one version

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

x++ Add custom DMF entity to form; Open in Excel

Use x++ form extension to add custom DMF data entity to a form's Open in Excel menu.

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

DMFUtil DMFDownloadDataPackage Stuff

The DMFUtil class is a great code collection to be aware of in case you ever find yourself trying to kick off DMF import/exports via x++, or are just curious about how

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

x++ in operator

Without a doubt, the most overlooked new feature of D365 is that in is finally in.  If you research 'x++ in operator' you'll find a long history of people

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

update_recordset, but cross-company

You write some nice speedy sql cross company code, it compiles, and then your good mood gets wiped away with an awful run-time error.  You fix that error, and get another one.  And

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

Update defaultDimension

This has been sitting in a txt file on my desktop for years.  I don't remember when it came about, but I put this in a helper class everywhere I go.

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

DMFDataPopulation - Download Recurring Files

Integrations are a lot of work.  No matter how good you are, the project will never come together without great planning, transparency, and teamwork from all parties.  In the ERP world, they can

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

DMF JumpRef

No matter who you are, if you're working with D365 you're working with DMF.  You will inevitably have data problems and be trying to review your staging data in

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

RetailAttributeHelper

Retail sales order attributes are a great way to add properties to orders, at the header or line level, in an omni-channel solution since they are easily viewable from the POS as well

  • Michael Stashwick
    Michael Stashwick
1 min read
x++

FormJsonSerializer

The FormJsonSerializer class is the one true JSON serializer in D365.  The static serializeClass() method is the simplest to implement, and can handle the most complex of contracts.  If you want to get

  • Michael Stashwick
    Michael Stashwick
1 min read
D365

D365 Address Books

Address books are pretty much everywhere there's a party in D365.  Customers have address books, stores have address books, workers have address books – they're all over the place.  Even

  • Michael Stashwick
    Michael Stashwick
1 min read
D365

One

Welcome to the greatest collection of AX and D365 stuff ever.  The focus will be on making things you have to do all the time that shouldn't be hard, but are

  • Michael Stashwick
    Michael Stashwick
1 min read
D365 Stuff © 2025
Latest Posts Twitter Ghost