MrsRansom
Member
Hello!
I'm having an issue where I'm trying to submit an order with the P42101 form through AIS when warnings are present. When I submit a normal order with no warnings, I'm not having an issue, my JSON goes through fine, and I get an order number and my order is saved to the database. When I submit an order with warnings with the P42101 I can basically spam the "Save and Continue" (form control ID 138) and it gives me an order number BUT it never saves to the database.
My current steps are:
Login to AIS - get token
Add Order Request - W42101C
Add Order Headers - W42101E
Save Order Headers - W42101E
Add Order Details - W42101D
Submit Order Headers - W42101D (ad nauseam until correct request is given)
When using the P4210 with AIS, all I had to do to save an order with warnings was to submit it twice. Is there a magical step I'm missing? (Fingers very crossed.)
Any and all help is highly appreciated!
I'm having an issue where I'm trying to submit an order with the P42101 form through AIS when warnings are present. When I submit a normal order with no warnings, I'm not having an issue, my JSON goes through fine, and I get an order number and my order is saved to the database. When I submit an order with warnings with the P42101 I can basically spam the "Save and Continue" (form control ID 138) and it gives me an order number BUT it never saves to the database.
My current steps are:
Login to AIS - get token
Add Order Request - W42101C
Add Order Headers - W42101E
Save Order Headers - W42101E
Add Order Details - W42101D
Submit Order Headers - W42101D (ad nauseam until correct request is given)
When using the P4210 with AIS, all I had to do to save an order with warnings was to submit it twice. Is there a magical step I'm missing? (Fingers very crossed.)
Any and all help is highly appreciated!
Last edited: