AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Everything Else
Import Scenario for...
 
Notifications
Clear all

Questions Import Scenario for Kit Assembly including Allocations for multiple Stock Components

 
Page 1 / 2 Next
Everything Else
Last Post by Royce Lithgo 7 years ago
20 Posts
3 Users
1 Reactions
8,234 Views
RSS
Royce Lithgo
Posts: 557
 Royce Lithgo
Topic starter
May 9, 2018 12:04 am
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Hi all,

As per the topic, I am trying to build an import scenario to import kit assembly data. We have some pretty complex allocations requirements and doing them by hand would take forever. I've built an import scenario but keep getting errors when attempting to import data.

Just wondering whether anyone else has managed to get this working?

Thanks for any response,

Royce.


19 Replies
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
May 10, 2018 11:42 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Can you include a screenshot of your import scenario definition?


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
Topic starter
May 11, 2018 12:13 am
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Notes about this image:

  1. I am fairly certain the Allocations object here refers to the Allocations on the Tab, which is the output allocations. The input allocations don't appear to be accessible from the page. I think that is where the issue lies.
  2. I have tried with our without pressing the Allocations button but i think the button does need to be pressed. The issue is that once its pressed, there is no way to access the data on the popup panel from this import scenario.

I believe this page isn't compatible with Import, or at least not the allocations side of it.

My Data Provider is a simple spreadsheet with Reference Nbr, Inventory ID, Lot Nbr, Lot Quantity. The intention being you first create the assembly and select the inventory item but leave the quantities zero. Then the import would import the allocations as per the spreadsheet and apply these to the Stock Items tab inventory items. 


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
Topic starter
May 18, 2018 2:20 am
(@roycelithgo)
Honorable Member
Joined: 6 years ago
Posted by: Tim Rodman

Can you include a screenshot of your import scenario definition?

Hi Tim,

Screenshot included - any suggestions?

Cheers,

Royce.


Reply
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
May 18, 2018 5:26 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Hi Royce,

Just curious, what's the reason for the Stock Components -> Inventory ID line? Does that line already exist and you're trying to update it or are you trying to add it?

Or, in other words, it sounds like you create the record first before running the Import Scenario. When you create it initially, are you populating anything on the Stock Components tab of the Kit Assembly (IN307000) screen or just leaving it empty?


Reply
Royce Lithgo
 Royce Lithgo
(@roycelithgo)
Joined: 6 years ago

Honorable Member
Posts: 557
May 20, 2018 7:05 pm
Reply toTim RodmanTim Rodman

Hi Tim,

Yes, the Stock component already exists - i wasn't sure if the update was necessary to select the correct parent row in case there were multiple stock components in the assembly.

For testing purposes i was creating an empty assembly and attempting to just get the allocations working. 

Any thoughts on my actual issue? I don't believe the data structure for the popup page is accessible via Import Scenario.


Reply
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
May 22, 2018 7:20 am
(@timrodman)
Famed Member
Joined: 10 years ago

Hi Royce,

I spent some time on this, but wasn't able to figure it out. Your best bet is probably to open an Acumatica support case. I actually think this should be possible because everything seems to be available in the Import Scenario. It's just matter of getting the steps down in the correct order.

 

This is where I left off:

 

But I'm getting this error:

Error: The system failed to commit the ComponentSplits row.


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
Topic starter
May 22, 2018 8:45 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Hi Tim,

Thanks for your efforts. Although i am a little confused by your example because AFAIK, the Allocations popup is for lot/serial number allocations of inputs, whereas you have tried to use locations. Was there any reason you didn't use Lot/Serial numbers? I don't see in your scenario assignment of the Lot/Serial Nbr field of the Allocations popup.


Reply
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
May 22, 2018 10:55 pm
(@timrodman)
Famed Member
Joined: 10 years ago

You should be able to use Locations in there too. I just picked the Locations field because the first item I grabbed was not Lot or Serial tracked.


Reply
MichaelHansen
 MichaelHansen
(@michaelhansen)
Joined: 6 years ago

Estimable Member
Posts: 149
November 24, 2018 3:24 am
Reply toTim RodmanTim Rodman

Did you ever get this working @royce-lithgo? I'm hitting a similar wall trying to set the location on my components and my error says "Save Button Disabled". Below is my scenario.

I have auto-numbering on, so I don't think I have to call out the reference number as it should be assigned once I have the required fields filled out and I save. I think the issue is that adding an inventory ID, immediately adds two component lines and I'm not accessing them correctly to insert the location ID. I have about 200 of these to upload and it seems like I just need to get line access figured out!


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
Topic starter
November 25, 2018 5:03 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Yes I got it working but it's quite different from what you are trying to achieve. As always, try doing your IS manually in the same order you defined it in the IS. You should see the issue. 


Reply
MichaelHansen
Posts: 149
 MichaelHansen
November 26, 2018 12:24 pm
(@michaelhansen)
Estimable Member
Joined: 6 years ago

I've ran this manually a number of times, it's how I build all my IS's. This works perfectly fine in my system (manually). I'm not sure what is amiss here, except setting the location on the component lines, which is what my original question was regarding as I'm not sure how to access component lines.


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
Topic starter
November 26, 2018 8:16 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

When you do it manually, do you need to insert a record into the Stock Components tab or is it already there? The IS that I wrote was for adding allocations to an existing assembly for a specific Inventory ID only. 

For what it's worth, here it is:

I think there could be an issue with your IS as you've ignored Inventory ID on Stock Components and it's a required field.


Reply
MichaelHansen
Posts: 149
 MichaelHansen
November 27, 2018 12:06 pm
(@michaelhansen)
Estimable Member
Joined: 6 years ago

No, our component lines are generated from a kit spec and fill in automatically. I merely need to set the location on the lines so the assembly knows where to pull from. This is why I'm having a hard time accessing the lines, they exist the moment I add the header Inventory ID to the assembly, but they are not always numbered consistently. Sometimes they're line 3 & 5, sometimes 5 & 7. All of the lines must come from the same location, so if I could just overwrite the entire set of lines regardless of position that would work too. Anyone know how to run sequentially through the lines?

Assuming they don't go higher than 9, would it be a bad idea to target lines 3,5,7, & 9 hoping to hit the right lines? Would it create a new line if one didn't exist at that index? I'm super unfamiliar with creating lines in a record or modifying them, so this is a great learning exercise for me. Thanks @royce-lithgo for your help and advice. I'm gonna try hitting lines 3,5,7,9 and see if it'll let me save. Fingers-crossed that this one works!

 

 


Reply
MichaelHansen
Posts: 149
 MichaelHansen
November 27, 2018 3:19 pm
(@michaelhansen)
Estimable Member
Joined: 6 years ago

I just tried adding the "From Loc" to line 1, 3, 5, 7, & 9. Same error as before.


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
Topic starter
November 27, 2018 5:09 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

You need to do it the same way I did - in other words, locate the record you want to update first via Inventory ID, then do the update. 

Checkout the I100 training, Example 2.5.3: Updating Detail Lines by Custom Key (AR Invoices). That was how I built my IS. If you look carefully, before I apply the allocations, I first find the Inventory ID (Component) from my data provider.

 


Reply
MichaelHansen
Posts: 149
 MichaelHansen
November 27, 2018 6:38 pm
(@michaelhansen)
Estimable Member
Joined: 6 years ago

These are new assemblies that do not exist. I am not updating an existing record. The moment I put the inventory ID in my header, I get component lines. Below is an image where all I've done is open a new assembly record and select the header inventory ID. I would assume the IS follows suit when I input the inventory ID. From here I need to edit the warehouse, to and from locations, and the dates.

 

We also use auto-numbering, so it not necessary to select the Assembly Reference number, it should happen as soon as I save the document. The document will not save unless I have locations in the component fields. I "think" this is where my issue lies. In this case, it gave me Component Locations, but they're not correct and I would need to edit them.


Reply
Page 1 / 2 Next
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 22 Online
  • 2,411 Members
Our newest member: thollings
Latest Post: Generic inquiry with information from Audit history(CT301000)
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×