AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • 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 AP Bills Sce...
 
Notifications
Clear all

Questions Import AP Bills Scenario getting Save button is disabled error.

 
Everything Else
Last Post by Tim Rodman 5 years ago
6 Posts
4 Users
1 Reactions
4,460 Views
RSS
Michael Roszkowski
Posts: 28
 Michael Roszkowski
Topic starter
April 23, 2020 3:53 pm
(@mikerosz)
Trusted Member
Joined: 6 years ago

So I am stumped...I copied and modified the ACU Import AP Bills Import Scenario.  When I run the import when I have 'Activate Migration Mode' checked in Account Payables Preferences, I get an error that tells me the Save button is disabled.  If I uncheck the 'Activate Migration Mode', the import scenario works.  The only difference between the two is that you have to put in the balance of the bill if migration mode is checked.

Looking for ideas.


5 Replies
stuartsegan
Posts: 3
 stuartsegan
July 7, 2020 1:37 pm
(@stuartsegan)
Active Member
Joined: 6 years ago

Similar issue... makes no sense to import bills with $0 balance. Did you figure anything out? I could sure use an insight here.


Reply
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
August 25, 2020 9:53 pm
(@timrodman)
Famed Member
Joined: 10 years ago

I noticed that the Hold field is listed twice which looks funny to me. Other than that, nothing looks strange to me. Have you tried deactivating everything except for the few required fields to see if it runs? If it does, you could activate one field at a time to see where the offending field is.


Reply
Art Ardolino
Posts: 3
 Art Ardolino
September 6, 2020 1:19 pm
(@aardolino)
New Member
Joined: 6 years ago

I had this same exact problem.  No matter what I tried, I could not get the document to take the document off hold automatically.

I solved this with a small customization.  Just tested and works great!  I created a Graph Extension for APInvoiceEntry and JournalEntry (journals also have the same problem.  This adds an action to take the transaction off hold when it reaches a balanced state:

namespace PX.Objects.AP
{
  public class APInvoiceEntry_Extension : PXGraphExtension<APInvoiceEntry>
  {
      public PXAction<APInvoice> TakeOffHold;
      [PXButton(CommitChanges=true)]
      [PXUIField(DisplayName="Take Off Hold")]
      public IEnumerable takeOffHold(PXAdapter adapter)
      {
          Base.Document.Current.Hold = !(Base.Document.Current.CuryLineTotal == Base.Document.Current.CuryOrigDocAmt);
          Base.Document.Update(Base.Document.Current);
          return adapter.Get();
      }
  }
} namespace PX.Objects.GL
{
  public class JournalEntry_Extension : PXGraphExtension<JournalEntry>
  {
      public PXAction<Batch> TakeOffHold;
      [PXButton(CommitChanges=true)]
      [PXUIField(DisplayName="Take Off Hold")]
      public IEnumerable takeOffHold(PXAdapter adapter)
      {
          Base.BatchModule.Current.Hold = !(Base.BatchModule.Current.CuryDebitTotal == Base.BatchModule.Current.CuryCreditTotal);
          Base.BatchModule.Update(Base.BatchModule.Current);
          return adapter.Get();
      }
  }
}

Then in the import scenario, I added above my <Action:Save> to run my action <Action:Take Off Hold>.

Works beautifully!  Saves me from having to import on hold first, and then import again off hold.


Reply
Tim Rodman
 Tim Rodman
Admin
(@timrodman)
Joined: 10 years ago

Famed Member
Posts: 3204
October 9, 2020 5:04 pm
Reply toArt ArdolinoArt Ardolino

@aardolino Nice customization!


Reply
Michael Roszkowski
Posts: 28
 Michael Roszkowski
Topic starter
September 8, 2020 2:54 pm
(@mikerosz)
Trusted Member
Joined: 6 years ago

So the problem was that I needed to remove a customization that the customer had on their system (nothing really to do with AP).  
When I unpublished the customization, it worked just fine.  Since this was only going to be run at the time of conversion that worked for me. 


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,530 Topics
  • 11 K Posts
  • 9 Online
  • 2,418 Members
Our newest member: Chad Treadwell
Latest Post: Negative/Credit Inventory Value?
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

  • Johnny Tang
Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

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

‹›×

    ‹›×