Solved

Update Else Create Import Scenario

  • 11 October 2023
  • 7 replies
  • 88 views

Userlevel 2
Badge

Hello Everyone

As the title says I am trying to create an import scenario that updates existing lines in a grid, if the record on the file is not found, then it creates the line. I am particularly trying to accomplish this on Sales Prices Screen. Here is how I have my import scenario mapped so far:
 


This works fine for updating existing records, but it does not work there is not already a record there for the Price Code/Inventory ID.

Any and all help here would be greatly appreciated!!

Thanks​​​​​​​

icon

Best answer by Kandy Beatty 12 October 2023, 15:19

View original

7 replies

Userlevel 7
Badge +16

HI @Denham 

Try changing your Sync Type:

 

  • Full (default): To perform an import of all the data available in the source.
  • Incremental - All Records: To perform a partial import, including only the data in each record that has changed in the source.
  • Incremental - New Only: To perform a partial import, including only the records that have appeared in the source since the previous import took place.

If the data is imported from a file data source, the Incremental - All Records and Incremental - New Only options provide the same result: If you select either of these options, the system imports the data only if a new version of the source file is provided before the import.

Userlevel 7
Badge +12

Hi @Denham 

 

Please review the above suggestions

Userlevel 2
Badge

@kandybeatty49 

Hi Kandy

With the Sync type being changed to Incremental - All Records, will that also import any records that dont exist already? Or will that only update what is being imported that already exists?

Userlevel 7
Badge +16

Hi @Denham 

 

It will only update based on the file. If an item is not in the file, it will not touch it. It also will not create new records, it will error if the item is not in the system. 

Userlevel 7
Badge +16

Also, Acumatica does add the as blank if the item is not in the system and will cause the import to error. 

Userlevel 2
Badge

So if I upload a file with some records that already exist in the sales prices screen, but with updated pricing, and also some sales price records which dont exist in the sales prices screen and then import with incremental-full being the sync type, it will only import the updated records not the ones that are in the file which dont exist in the screen?

Userlevel 7
Badge +16

Hi @Denham 

The Incremental-All will only update the data for the record if it has changed in the source. 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved