AR Invoice - Retrieving Invoices

I was able to produce a work around for this problem by having the program uncheck then recheck the Action menu item, " Auto Retrieve Invoices". This produces the result I'm looking for.

Thank you to everyone for their time and patience.

Hello,


I've currently made a customization with the AR Invoice Entry screen that will create the invoices, however I am having trouble with getting the screen to auto-retrieve the invoices I've just created. 


I've tried notifying the dataviews and refreshing oTrans with no success. Would anyone happen to have some insight as to why I am unable to refresh this screen?


Thank you.

What does you customiztation do? It created the INvoices in the back ground? and then you want to bring them into the Group?


Jose C Gomez
Software Engineer



T: 904.469.1524 mobile

E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Tue, Jul 1, 2014 at 1:30 PM, gkoutre@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p></p><p><span>Hello,</span></p><p><span><br></span></p><p><span>I&#39;ve currently made a customization with the AR Invoice Entry screen that will create the invoices, however I am having trouble with getting the screen to auto-retrieve the invoices I&#39;ve just created. </span></p>


I've tried notifying the dataviews and refreshing oTrans with no success. Would anyone happen to have some insight as to why I am unable to refresh this screen?


Thank you.

</div>
 


<div style="color:#fff;min-height:0;"></div>

It allows them to enter in the Order Num and will create the invoices by getting the shipments. The invoices are already associated with the group when I get the shipments but I cannot seem to figure out how to display the invoices once I've created them. 

Thank you.
Just bumping this question. 

After I get the shipments, I'd like to tell the screen to refresh itself because invoices have been created for the group. I've tried notifying, refreshing, and updating several things (oTrans, adapters, etc.) with no success. 

I've noticed that after I create the invoices, I can click on the "Group.." button and search for the same group. It will then populate the "Invoices" grid with the correct information. I've been trying to replicate this process (by using the Tracing Logs) through the script with no success.

Would anyone have any insight as to how I can actually go about doing this?

Here's some of the script for attempting to retrieve the group:

this.oTrans_invAdapter = (InvcGrpAdapter)this.csm.TransAdaptersHT["oTrans_groupAdapter"];

this.oTrans_invAdapter.GetByID("test10"); //group id

this.oTrans.Refresh();


Thank you.

In invoice entry try actions menu > retrieve invoices

Best wishes

 

 



This message has been scanned for malware by Websense. www.websense.com

Thank you for the response. 

I already have that option selected but after I perform my logic, it doesn't retrieve the invoices. I've been trying to figure out how the AR Invoice Entry screen automatically retrieves its invoices through the tracing log but I've been unsuccessful in replicating the process. 

My backup plan is to try and call the event through the Actions menu for the Auto-Retrieve Invoices tool. It seems a little sketchy, but is there any insight about a better way to do this?

Thank you.
Why are you trying to replicate AR Invoice Entry?  What is the goal?
Thank you for the response. 

Earlier in the thread I explain that I have the user input the order number and the program will create invoices from the pack numbers associated with the order. I have all of the invoice creation working properly, however, I am unable to refresh the AR Invoice screen. I've tried notifying, refreshing, and updating several things (oTrans, adapters, etc.) with no success.

I need to be able to have the screen refresh itself with the new invoices that have been created.

Thank you for your time.
 

In normal Invoice Entry, you do not have to refresh after getting shipments. All invoices are listed.

 

What groupid is associated with the Invoices that were created via your program? InvcHead.GroupID.

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Monday, July 07, 2014 10:51 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: AR Invoice - Retrieving Invoices

 

 

Thank you for the response. 

 

Earlier in the thread I explain that I have the user input the order number and the program will create invoices from the pack numbers associated with the order. I have all of the invoice creation working properly, however, I am unable to refresh the AR Invoice screen. I've tried notifying, refreshing, and updating several things (oTrans, adapters, etc.) with no success.

 

I need to be able to have the screen refresh itself with the new invoices that have been created.

 

Thank you for your time.

 

The Group ID associated with my invoices is from InvcGrp.GroupID. I tried changing the binding to InvcHead.GroupID but there was still no success. 

Thank you.

This is just my 2 cents but, I wouldn’t attempt to rewrite a program as big as AR Invoice Entry because they can’t get shipments by order number.

 

Order is display in getting shipments but, I would concentrate on customizing the selection instead of trying to recreate AR Invoice Entry.

 

There might be taxes that need to be calculated, or advanced billing or deposits. It updates too many things.

 

 

 

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Monday, July 07, 2014 12:28 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: AR Invoice - Retrieving Invoices

 

 

The Group ID associated with my invoices is from InvcGrp.GroupID. I tried changing the binding to InvcHead.GroupID but there was still no success. 

 

Thank you.

I appreciate the suggestion, but I have successfully developed the logic we needed to create invoices from orders. The only problem I am having is refreshing AR Invoice Entry when the new invoices have been created. 

I will be attending an Epicor conference tomorrow and will see if there is anyone who will be able to help me. If I do find something, I'll post on this thread with my results. 

Thank you for your time.