Skip to main content

Here’s the URL I tried with a POST method in Postman:

https://sandbox.com/AcumaticaERP/entity/Default/22.200.001/Payment/ActionName

 

Question: is there a way to pass a value to the popup window that is display when the Action is invoked?  maybe I also need to pass something so it can submit this value?

I tried to add the popup box field name but it’s not working...

{

    "entity": {

        "Type": {

            "value": "Payment"

        },

        "ReferenceNbr": {

            "value": "598035"

        },

        "PopupFieldName": {"value": "abc12345xyz"}

    },

    "parameters": {}

}

For some actions the popup fields are mapped to “parameters” of the action. 

If it’s not mapped, then probably not


For some actions the popup fields are mapped to “parameters” of the action. 

If it’s not mapped, then probably not

I tried to use a parameter but it didn’t change the Payment:

https://sandbox.com/AcumaticaERP/entity/Default/22.200.001/Payment/RecordCCPayment?$PopupFieldName=abc12345xyz

Here’s the body I passed:

{

    "entity": {

        "Type": {"value": "Payment"},

        "ReferenceNbr": {"value": "598035"},

        "PaymentRef": {"value": "abc12345xyz"}

    },

    "parameters": {

        "PopupFieldName": {"value": "abc12345xyz"}

    }

}


Hi @bpgraves were you able to find a solution? Thank you!


I was able to find a solution by adding a parameter to the Payment web service endpoint action.  To find the parameter name, I Ctrl-Alt clicked on the text box of the popup window like this:

 


Reply