Author Topic: InventoryAdjustmentMod element missing at request  (Read 922 times)

dsivaa

  • Member
  • *
  • Posts: 3
InventoryAdjustmentMod element missing at request
« on: September 20, 2015, 09:41:24 AM »
Hi,
I tried to modify an Inventory Adjustment entry. I am getting an error.

Error Reason: "Element TxnID is unexpected according to content model of parent element "InvnetoryAdjustmentModRq". Expecting: InventoryAdjustmentMod."

I have attached my source code and "XML request" captured using PCQB_SGetXML function.
InventoryAdjustmentAdd functions is working good. Issue only at InventoryAdjustmentMod.
Any help would be appreciated.

Geoffrey Gerhard

  • Guru
  • Member
  • ****
  • Posts: 470
Re: InventoryAdjustmentMod element missing at request
« Reply #1 on: September 20, 2015, 11:47:34 AM »
That's strange. At first glance I don't see a problem with your script. I believe the plug-in normally adds both the InventoryAdjustmentModRq and the subordinate InventoryAdjustmentMod element tags automatically. That's not what we see in your your XML. I'd call Productive Computing and ask them about it, since there's not any easy way to work around the absence of those tags.

HTH!

Geoffrey Gerhard
Creative Solutions Incorporated
14000 Creekside Drive
Matthews, NC  28105
704) 814-6852

dsivaa

  • Member
  • *
  • Posts: 3
Re: InventoryAdjustmentMod element missing at request
« Reply #2 on: September 20, 2015, 10:56:17 PM »
Thank you for your reply Geoffrey. Let us see whether productive computing give a solution for this issue.