Back to connectors… Back to Sage 300...

Order job erroring on both update and insert/update (3 replies)

davidgelula
6 years ago
davidgelula 6 years ago

I've built and have been testing a fairly simple job:

  1. DB Read queries for Orders and their detail lines where the Exp Ship Date, Req Del Date, Location, or Ship Via are not the same value between header and detail.
  2. Note: Per an email I sent to support, Requested Delivery Date is not showing as an available field to map.
  3. Hierarchy sets up header/detail relationship.
  4. Header contains the Order Number as Key 1.
  5. Details contains the Order Number as Key 1, LineNum as Key 2, and the HEADER values to insert into the Details for Exp Ship Date, Location, and Ship Via.
  6. The mapping is straight forward in the Connector:
    1. Header maps the Order Number field
    2. Details maps the LineNum, ShipVia, Location, ExpDate.
  7. When I run this in the Scheduler, with the Connector Update Operation set as Update or Insert/Update, I get the following feedback:
  8. 7/17/2018 03:45:51 CJEWYKED 11022 0 - The value assigned to field ID 13 does not match the field type.
    7/17/2018 03:45:51 CJEWYKED 424 Object required
    7/17/2018 03:45:51 CJEWYKED 424 Object required
    7/17/2018 03:45:51 CJEWYKED 424 The Accpac data import incurred an unrecoverable error and is quitting. [Object required]
    7/17/2018 03:45:51 CJEWYKED 424 Error occurred whilst processing transform [CJEWYKED]. Object required
    7/17/2018 03:45:51 CJEWYKED 10500 Transformation [CJEWYKED] has terminated.
    7/17/2018 03:45:51 424 TransformCoordinator Job [CHEDAT_OEORD060] has aborted due to a transform failure.
  9. I am not changing any field types so I don't understand how there could be a field type mismatch.
  10. Also, how can I determine what is field ID 13?
  11. Additionally, what does the error "Object required" mean?
Support
6 years ago
Support 6 years ago

David, what is your integration supposed to be doing? Is it updating Orders, creating Shipments? Can send screenshots of your mappings?

In respect to the field 13...this corresponds to the field id per the Object Model.

If you look at the Shipment Detail, it corresponds to a Date field. This should be supplied as a Date, not as in reverse yyyyMMdd format.

https://www.realisable.co.uk/sage-300/the-value-assigned-to-field-id-xx-does-not-match-the-field-type/

Thanks

Support
6 years ago
Support 6 years ago

Sorry, forgot to attach file.

https://www.realisable.co.uk/wp-content/uploads/2018/07/Sage300FieldID.png
davidgelula
6 years ago
davidgelula 6 years ago

Thanks for both tips. I will try both and report back.

The purpose of the job is to update existing Orders; there are a set of fields that are on both the Order header and detail lines that do not have to be in sync: Exp Ship Date, Req Delivery Date, Ship Via Code, Location. On initial create of the detail lines, the header values trickle to the details; however, updating the header fields later does not update the detail lines. Since the customer always wants the detail lines to be in sync with the header, and doesn't want to update dozens or hundreds of lines manually, this job will run hourly to set these fields at the detail level based on the header values.

Contact

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Request Demo

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Access Downloads

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close