We are trying to write customization to generate a download GL account summary information from Acumatica to text file. Need to be able to calculate period summary information (beginning balance, net change, and ending balance for each account using code. I'm assuming that Acumatica has an object to calculate those values for a specific Financial Period ID...but I dont know what it is. Can anyone help?
The information you're looking for is already stored in the GLHistory table. The data is aggregated by ledger, branch, financial period, account and subaccount. This information is updated by accumulator attributes that are used during the GL release process.
Related
I am trying to reset the balance to all accounts in Charts of Accounts to $0. I can go in and manually delete every item and edit opening balances but I couldn't find a way to do it quickly either through scripting or CSV import. Any help would be appreciated
I have tried searching through transactions and editing transactions to delete items purchased but that would take hundreds of hours to go through each transaction to make all my accounts have a balance of $0. I tried CSV imports to update information but I am unable to touch the "Balance" from a CSV upload. If there is a way to add balance to the account form I could probably do it from there but I'm not sure how.
Not sure why you want to do that I supposed you want to re-setup the system without deleting the history transactions ?
I think you can post a journal to reverse the balance for each account that you pull from trial balance report as at the last day before the period you want to restart.
E.g. if AP account has a credit balance of 100k. Your journal line will be Ap account debit 100K etc..
You may also want to consult NetSuite account manager. NETSUITE may be able to help to do mass data deletion without changing the setup.
we recently connected to our NetSuite using ODBC so we can navigate tables and query the database. I'm having difficulty determining how NS calculates inventory levels.
I noticed the table "Item_Location_Map" has quantity on hand which seems accurate, but I don't see a way to specify at what point in time. I figured maybe it calculates real time based on all transactional data but ran into another issue. All the details for a transaction are on the Transactions table and Tranaction_Lines except for...oddly enough...the quantity.
If I look up a say invoices and pull in the quantity field, it is always empty. Some invoices have a quantity_packed or quantity_picked value but that doesn't really help.
Any thoughts on what I might be missing?
A couple ways.
Stock Ledger and Inventory Valuation reports (not saved searches), which you can use through N/query.
Inventory Activity Detail saved search, which you can best use by setting the "Is Inventory Affecting" column criteria to true.
As for how that looks in the database, I am not certain, unfortunately. Also, I highly advise against using ODBC for something like this. A restlet or suitelet would be infinitely faster and more helpful.
I want to automatically get the Billing Invoice details of my Azure Resource-group on a monthly basis using the Schedule Export feature in Azure Cost-Management.
I'm able to create a monthly export. However, I'm not able to get the entire month's invoice details. Eg. Oct2020, Nov2020, Dec2020.
Instead this is the format in which my invoice is getting exported -->
This doesn't prove to be useful to me because I need to get the billing and invoice details for the entire month. And the invoice should automatically be exported monthly.
Eg. Oct2020 then next -> Nov2020 then next -> Dec2020, so on & so forth.
Any advise on how to achieve this?
Thanks in advance!
As you mentioned, the scheduled exports doesn’t support invoice-wise data export. However, here is what you can do:
Use Azure Cost Management Query API to generate the usage for the invoice period using the custom timeframe value.
Convert the JSON response to CSV.
Export the file to Storage Account.
Currently, the Query API supports grouping up to 10 dimensions. If you need the complete dataset, you can use Usage List API instead of Query API. In the Usage List API, you can specify the start and end date (as per your invoice) using the $filter parameter. Rest of the process is same.
I have a unique situation where we need to assign different GL Account when we create an invoice. For now, the first part is done. I created 2 custom fields:
COGS and Income. The user can pick it from the list, save it, etc. Users are fine with it.
However the GL transaction is still with the original Account. I want to write to the GL using the accounts entered on the invoice.
Anyone can help?
If you have a developer or you know SuiteScript, you can use Custom GL Plugin for this.
i am looking to create an invoice in either MS-excel or MS-word. This invoice will contain several fields like invoice no., customer name, product info, quantity, Amount, Date, Address of customer, phone no. etc. The function of the invoice will be, to generate a unique invoice number, every time i open it, and then the vendor will mention the customer's info, product's info and click on submit button or save it. The info mentioned in the invoice will automatically be saved in the MS-Access database whenever submit button is clicked or the document is saved.
Thus, All the records of the customer will be saved in the MS-Access database. whenever i need to search for a particular customer, i should be able to search it from either invoice no. or any unique field for that particular invoice. I hope my query is explained clearly. please let me know the easiest way to do it. I do not have the vast knowledge about this subject, so give me suggestions that are understandable by a Novice.
I think you are starting from the wrong end. Use an Access form to get the data and then run a mailmerge, the easiest way is to output a text file from Access as the data file and use a Word template for the merge.
An autonumber may suit for invoice number as long as all you need is a unique number. If you need documented sequential numbers, you will have to create then yourself. How you do it will depend on the number of users working at the same time.
I can tell you now, generating Word files with Access is a bit of a pain in the ass. If you really want to do formatting it gets hard (is my experience).
I ended up generating HTML files in which I could control everything, and opening them as .docs. But if you are really new to this, I suggest you start with some VBA tutorials, where they explain to you how you get records from you database and loop through them to generate output. And then you can start looking at file writing functions in VBA.
Can't find any tutorials real quick (my girlfriend is getting angry as we speak), but here is a sample:
http://www.access-programmers.co.uk/forums/showthread.php?t=25354
Just look around in fora, look for file generation and looping through records.
Hi just reading your post, like Remou l would strongly suggest you use Access to enter and store the data. It is possible to get a user to enter data into a spreadsheet and write the data back to Access DB. Not something l would recommend for the novice, here is a link to some code on how it could be done
Returning to your first question, of creating the invoice have you considered generating the invoices from Access using a report? They can be printed to PDF, or exported to various electronic formats. Or is there specific reason to use Word/Excel? If are going down the route of using Word to generate the invoice then use a template as Remou suggested. See this link for some samples see the section titled Access > Word. I have used the examples as a basis for Access to Word. A number of the examples though use a tecnology called DAO, which l understand will not be included in any operating system after Windows 7. Just something to be aware of.
Searching for a record in a database table this link has one possible solution . Also the author has included a example database.