- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
SO Invoice: Seting a specific batch number fails
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-09-2010 01:59 PM
Version: 4.4
I am adding SO Invoices. Everything works well except when I want to use a specific batch number. For instance, if I do the following, I get the next available batch and everything works:
IF o.nBatchEnabled = 1 Then BatchNo = "" o.nSelectBatch(BatchNo) End If
See here for more complete listing.
However, the following does not work:
IF o.nBatchEnabled = 1 Then BatchNo = "A46" o.nSelectBatch(BatchNo) End If
BOI doesn't register any errors, and the records show in the both SO_InvoiceHeader and SO_InvoiceDetail with the correct batch number in the SO_InvoiceHeader.BatchNo field. However, in Invoice Data Entry, the batch totals are all 0 and no invoices are available under the batch.
Is there an additional step required?
Does anyone know in which data file the Comment and Private Batch values from the Batch screen are stored?
Thanks for your help,
Judah
Re: SO Invoice: Seting a specific batch number fails
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-03-2011 11:51 AM
Hey Judah
I'm not sure about your specific Batch Number question, but the information about the batch that you're looking for is in GL_CompanyActiveBatch.M4T
Director of Engineering
The Macabe Associates, Inc.
6031 California Ave Ste B
Seattle, WA 98136
Email: Patrick@macabe.com
Web: www.macabe.com
Re: SO Invoice: Seting a specific batch number fails
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-15-2011 02:55 PM
If the BatchNo you are trying to assign does not yet exist, you will want to use:
o.nSelectNewBatch("A46", "N", "My batch")
where "N" is the private flag(Y/N) and "My batch" is the batch comment.


