Error “The ‘PSAPwpTxt’ parameter is missing a value” – solved

My client had originally had Project III turned on, and ran some reports, including Purchase Order.

Then the PSA stuff caused lots of problems (workflow approval, that kind of thing) and the functional folks voted unanimously to turn the Project III key off.

Well, Print Management saved the “preference” for the PSA version of the Purchase Order, and it won’t run anymore, because it’s looking for PSA parameters it’ll never get. The specific error manifested itself as “The ‘PSAPwpTxt’ parameter is missing a value”:

So I *deleted* that report from PrintMgmtReportFormat table, and it had no “original” print management settings to go to, so then correctly decided it should run PurchPurchaseOrder.

static void fixPsaPwpTxtError(Args _args)

{   // mca jeb 19Jul2012

PrintMgmtReportFormat printmgmtreportformat;


delete_from printmgmtreportformat

where printmgmtreportformat.documentType == PrintMgmtDocumentType::PurchaseOrderRequisition;




(You might need to run this by company.)

MS support was not so helpful. They wanted me to either turn Project III back on, or get rid of the Project Accounting and Management module.

Happy DAXing!


UPDATE 20Jul2012: I should mention that we had already installed KB2628173 but it didn’t fix it, probably because Project III was turned off.

About janeteblake

Dynamics AX developer
This entry was posted in AX2012, Bug, Dynamics AX. Bookmark the permalink.

One Response to Error “The ‘PSAPwpTxt’ parameter is missing a value” – solved

  1. Michael says:

    Thank you janet.. Saved me a lot of time researching this.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s