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 - d...
 
Notifications
Clear all

Questions Import scenario - delete stock item conversion with IIF statement

 
Everything Else
Last Post by Royce Lithgo 3 years ago
2 Posts
2 Users
1 Reactions
1,933 Views
RSS
Travis
Posts: 41
 Travis
Topic starter
October 26, 2022 8:15 am
(@travisl)
Trusted Member
Joined: 3 years ago

There may be a better way.  I'm doing stock item imports and some have a conversion and others do not.  I have the IIF that checks for it but I don't know how to skip the next two lines and figured I could just do a delete after the fact.  I tried using the IIF with a linenumber and -2 to delete.  It runs without error but does not actually delete the conversion.

**Edit** after posting the screenshot I noticed that I didn't have a from unit for the conversion factor and was throwing an error on the stock item screen as I had just set it as ''.  I set it to 'HOUR' so there was something there.  The screen allows me to delete it and save with no issues, but nothing happens on the import scenario side.

 

image

1 Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
October 26, 2022 6:00 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Only way i can think of is 2 import scenarios, one for those with conversions and one for this without.

Or depending on how many items need the conversion, add the conversions manually.

Also try whatever you are doing in the IS manually on the page. You might get a better idea of the validations on From Unit that way. It can't be blank, so your IIf statement that assigns it empty string is going to cause an error.


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 259 Online
  • 2,405 Members
Our newest member: Brittany Bartman
Latest Post: Importing Acumatica User Roles / User Security Permissions from Excel
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.

‹›×

    ‹›×