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

Questions import scenario w/ transaction TYPE switch

 
Everything Else
Last Post by Nidhi Agarwal 6 years ago
5 Posts
4 Users
1 Reactions
4,465 Views
RSS
JustPaul
Posts: 33
 JustPaul
Topic starter
August 28, 2017 9:18 am
(@justpaul)
Trusted Member
Joined: 6 years ago

i have an existing import scenario that i created for AP Bills.

i would now like to add Debit Adj. as transaction type in the same import.

i added column for TYPE - users will assign 'I' for invoices, or 'C' for credits issued by Vendor.

in reality I = Bills, and C is debit Adjust.

HOwever, for users to balance their entries before sending to Audit for import.

users make the AMOUNT NEGATIVE when Credit (Debit Adj. type) is used. 

my formula looks like =IIF( [TYPE] = 'C', ([AMOUNT]*-1), [AMOUNT])

of course the negative isn't necessary for Acumatica. 

what are my options.  I doing very similar to assign BILL or CREDIT ADJUSTMENT.

Thanks for assistance.


4 Replies
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
August 29, 2017 6:04 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Hi HappGilmore,

Did you put your =IIF( [TYPE] = 'C', ([AMOUNT]*-1), [AMOUNT]) in the import scenario?


Reply
Nidhi Agarwal
 Nidhi Agarwal
(@nidhi-agarwal)
Joined: 6 years ago

New Member
Posts: 3
December 18, 2019 10:41 pm
Reply toTim RodmanTim Rodman

@timrodman

Hi Tim,

 

It did not work for me. I have similar requirement. I want to create credit memos but amount in import sheet is negative. I used formula =([Amount]*-1) it gave me error Cannot perform the '*' operation on System.String and System.Int32. I also tried using CStr but it did not work either.


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
December 19, 2019 4:25 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Did you try CInt([Amount]) * -1 ?


Reply
Nidhi Agarwal
Posts: 3
 Nidhi Agarwal
December 19, 2019 7:03 pm
(@nidhi-agarwal)
New Member
Joined: 6 years ago

I identified the fix, I changed the data type on data provider to int32 and used cdec in import scenario. It worked.


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
  • 42 Online
  • 2,412 Members
Our newest member: thollings
Latest Post: Attribute Input Mask
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.

‹›×

    ‹›×