Receipts list and product receipt grayed out

Question Status

Suggested Answer
Lionel07 asked a question on 19 Jun 2017 2:54 PM

Hello Experts,

I need some help here please... so it wa brought ot my attension that oth the Receipts list and product receipt are grayed out. The user said he has done everything right but doest not seem to understand why they are crayed out i have research the issue but could not resolve it.

I wouls apprecate f someone could help expain the process to have these buttons active to further process PO/invoices

* am very new to AX

thanks a mil.  

Reply
Ludwig Reinhard responded on 19 Jun 2017 3:08 PM

Hi,

This might be related to your user rights or the PO type specified in the PO header. Can you check that?

Best regards,

Ludwig

Reply
Suggested Answer
Chaitanya Golla responded on 19 Jun 2017 3:58 PM

Hi,

Well there are various scenarios where this buttons gets greyed out.

Please debug the following code to check the condition that disabled the buttons purchFormLetter_ReceiptsList

and buttonUpdatePackingSlip on PurchTableListPageForm

1. \Classes\PurchTableInteractionHelper\getUpdateJournalButtons:

  At Line# 10    

  Concerned Code: canBeUpdated = purchTable.checkIfUpdate(checkIfUpdateContract.pack());

2. \Classes\PurchTableType\checkIfUpdate                                                                  

  At Line# 33

  Concerned Code: if (checkIfUpdateContract.parmCheckReceiptsList())

      {

       canBeUpdatedContract.parmCanReceiptsListBeUpdated(this.canReceiptsListBeUpdated());

      }

  and At Line# 37

  Concerned Code: if (checkIfUpdateContract.parmCheckPackingSlip())

    {

       canBeUpdatedContract.parmCanPackingSlipBeUpdated(this.canPackingslipBeUpdated());

              }

3. \Classes\PurchTableListPageInteraction\setButtonRecieve(Line# 6 and Line# 7)

Hope this information helps you.

Thanks,

Chaitanya Golla

Reply
Suggested Answer
Chaitanya Golla responded on 19 Jun 2017 3:58 PM

Hi,

Well there are various scenarios where this buttons gets greyed out.

Please debug the following code to check the condition that disabled the buttons purchFormLetter_ReceiptsList

and buttonUpdatePackingSlip on PurchTableListPageForm

1. \Classes\PurchTableInteractionHelper\getUpdateJournalButtons:

  At Line# 10    

  Concerned Code: canBeUpdated = purchTable.checkIfUpdate(checkIfUpdateContract.pack());

2. \Classes\PurchTableType\checkIfUpdate                                                                  

  At Line# 33

  Concerned Code: if (checkIfUpdateContract.parmCheckReceiptsList())

      {

       canBeUpdatedContract.parmCanReceiptsListBeUpdated(this.canReceiptsListBeUpdated());

      }

  and At Line# 37

  Concerned Code: if (checkIfUpdateContract.parmCheckPackingSlip())

    {

       canBeUpdatedContract.parmCanPackingSlipBeUpdated(this.canPackingslipBeUpdated());

              }

3. \Classes\PurchTableListPageInteraction\setButtonRecieve(Line# 6 and Line# 7)

Hope this information helps you.

Thanks,

Chaitanya Golla

Reply