Determine amount of inventory for two locations - netsuite

request to determine how to calculate the amount of inventory that is available for the online customer to buy from our website. As a reminder, we are looking at inventory in two locations. In summary, the formula would be
Location 003 inventory + Location 001 inventory = Inventory to show as able to be purchased on website.
Location 003 inventory = Qty. Available in 003 - Back Ordered inventory in 003
Location 001 inventory = Qty. Available in 001 - Back Ordered inventory in 001
Customer already has a saved search that determines this for one location. We would just have to modify and save it as a new search so that it is calculating for both locations and adding the two inventories together.
Existing Saved Search is titled: Item Availability with Price Levels
Here is a screen shot of the Results tab which shows the formula used to determine the location inventory. But note this only calculates for one location.
Below is a screenshot of the Criteria tab for the same saved search. As you can see, it is currently only looking at Location 001 whereas the final search needs to look at both 001 and 003.

Related

How do I make a filter in an Excel Pivot Table based on several boolean columns?

I am working on a pivot table in excel that shows a list of companies that have recently received loans, each from a different group of banks. I have a column for each bank indicating whether they contributed to a loan for each respective company (see picture below). My goal is to make a slicer (or other filter method) that allows me to select the loan issuing banks I want to consider. Right now I have a slicer for each bank, but would prefer to merge these into a single slicer.
E.g. suppose I want to see what companies have been issued a loan by bank 3 or bank 5 - then I would select these two from a list of the banks.
Help would be much appreciated!
List of Companies that have made a loan, with respective list of banks that have contributed to the loan

NetSuite : Why? The stock ledger is not equal to the Balance Sheet and/or General Ledger's Inventory Account balance

Why? The stock ledger is not equal to the Balance Sheet and/or General Ledger's Inventory Account balance.
If a Journal is created that performs a credit or debit on the Stock account, it will not be reflected in the Stock Ledger report. To make a change to the Stock Ledger an alternative method needs to be used, such as :
Stock adjustments
Inventory Revaluations
Transfer orders

Business Central: How to retrieve revenue gross (incl. VAT) from posted sales invoice lines table with Power BI?

I use Power BI to retrieve & visualize sales data from Business Central and so far I did not find any ways to:
retrieve revenue gross on line level (per invoice and item number) of my posted sales invoice
retrieve revenue gross on header level (invoice number) of my posted sales invoice
retrieve VAT on line level (per invoice and item number) of my posted sales invoice, in order to calculate the revenue gross based on the revenue net
Anyone with an easy solution (i m sure there is one as it seems to be a fairly classic request)???
Best and let me know if you need any extra info,
Kevin
There's an 'Amount' and 'Amount Including VAT' column on the Sales Line table, those should give you everything you need.
Annoyingly these are not on the 'Power BI Sales List' query/web service as default, nor the Sales Lines page. If you're a BC developer you could write your own extension to publish a better query.
If not, there is a 'Sales Document Line Entity' page (6403) which includes them as 'Amount' and 'AmountInclVat'. This page is published by default (in SAAS at least) as the 'workflowSalesDocumentLines' web service and you can access it from PowerBI, you will probably want to also include workflowSalesDocuments, the two are related on a composite of Document Type AND DocumentNumber, so that's another challenge for you!

Multiple conditions for a cell value in Microsoft Excel

I'm an insurance broker and currently I'm using Microsoft Excel to organize my insurance commissions. There are multiple insurance companies I'm cooperating with, like {Asia, Iran, Dey} and each of them offers a variety of insurance policies which I have selected a few to simplify the question: {Liability, Life, Third Party, Health}. Each company calculates commissions differently, as an example Dey would calculate commissions related to Liability policies with 30 Percents.
What I want to do is an excel document which the first column is the Premium which I type in for every policy; Imagine $200 for a Life insurance sold by Asia. The second column will be the insurance companies name - selected from a dropdown list -, in this case Asia. Next Column should be another dropdown list with policies that in this example I should choose life. at this point I want an automated process which understands that this was a life insurance policy by Asia, so the commission should be calculated with 8 percents and print this into the next column. and automatically multiply the premium and commission percentage ($200 * 8% = $16) and output this number to the last column.
I have prepared a schematic image of what information I have :
Schematic design of my information
I used to do this with extremely nested if and and with 2 insurance companies but when the third one was added I ran out of options.
In the following example, the lookup table (G1:I13) retrieves the commission percentage. This is used to calculate the actual commission from the policy cost.
=INDEX(I:I, AGGREGATE(15, 6, ROW($2:$99)/(($G$2:$G$99=$B2)*($H$2:$H$9=$C2)), 1))

Statistics for people's shoppings

I am building some project (website) on people's shopping (stuff stored in refrigerator) . I need to generate an automatic shopping cart based on people's shopping .
For example if some person buys every week one bottle of milk , than the website will offer the person to buy milk once a week (if there is no milk in refrigerator) .
I am storing shopping history of each family.
But for calculating the shopping cart i need to generate some statistics formula . But i have no clue how to do it. because there might be scenarios (for example birthday) , when the family will buy more products than needed, and it will make me false data for statistics. I want to ignore such scenarios.
Anyone has idea how and what statistics should i use?
pseudocode
assuming the customer had an account and your database is MySQL
every purchase must save customerid, product id/name ,date of purchase,comment(optional) to a table (e.g. purchased table)
customer has their own table that includes at least their personal info(e.g. customer table)
lets say customer browses the product (viewing the website)
• customer clicks the product
• system/server counts the number of purchase in purchase table
• if the number of purchase is more than one then
- get the last date of purchased product - the current date purchased product = frequency of product needed by date
- total number of product purchased / total number of times the product purchased = frequency of product needed by item count
UPDATE
I would suggest that the purchase table has a field that specifies if the current order/purchase is an occasional field instead, so it would be excluded.
example
• system/server counts the number of purchase in purchase table if the purchase is not occasional

Resources