Error when creating Item Receipt (NETSUITE) from Purchase Order: Inventory Detail fields not showing + TypeError getFieldValue

Hello everyone,

I’m currently facing an issue when creating an Item Receipt from a Purchase Order in NetSuite through integrator.io.

All the main fields are mapped correctly, but when I add the Inventory Detail subrecord and try to map its fields, none of the internal fields appear in the “Destination record field (NetSuite)” dropdown.

Additionally, when I attempt to proceed, I receive the following error:

TypeError: Cannot call method "getFieldValue" of null

What I've already checked:

  • The item on the Purchase Order requires Inventory Detail (lot/serial/bin depending on the item).
  • The Inventory Detail subrecord mapping is enabled.
  • integrator.io correctly identifies the subrecord, but none of its internal fields are displayed.
  • I tried deleting and recreating the mapping and refreshing the record type.
  • I also uninstalled and reinstalled both the SuiteBundle and the SuiteApp, and confirmed they are updated to the latest available versions.
  • The same NetSuite user connected through the integration can successfully create an Item Receipt with Inventory Detail manually from the UI.

Has anyone experienced this before?

I'm trying to determine if this is:

  • A SuiteBundle/SuiteApp version issue,
  • A missing field path or unsupported configuration for the Inventory Detail subrecord,
  • A limitation with Item Receipt subrecord mapping in integrator.io,
  • Or something I might be overlooking.

Any guidance or insights from the community would be greatly appreciated.

Thank you!

@haydealvarez809 we're not able to think of anything right of the bat. I'd suggest creating a support ticket so we can troubleshoot further.

Hi @haydealvarez809 :waving_hand:

I see that you have resolved this issue with @nelpatiga through a support ticket. Here's the summary of the case for everyone's visibility.

Please find below the details as a quick recap:

Issue: You reported that the "Inventory Detail" subrecord fields were not appearing in the destination mapping dropdown when creating an Item Receipt from a Purchase Order. Consequently, the flow failed with a TypeError: Cannot call method "getFieldValue" of null. This occurred even after verifying permissions and refreshing the NetSuite record type.

Resolution: We performed several troubleshooting steps, including updating the SuiteBundle and enabling the "Inventory" feature in your NetSuite environment. The final solution required a specific configuration change in the import mapping. I modified the subrecord mapping to explicitly reference the "Items" node (rather than the root), which allowed the Inventory Detail subrecord to be correctly detected and applied across multiple item lines.

Status: You have confirmed that following this mapping adjustment, the original flow is processing successfully.

1 Like