I need to Update Prices for bulk of items for each warehouse. The Activate Price button is on InventItemPrice Form (Path: PIM > Released Products > Manage Cost > Item Price).
I have a process where I am using the same code of that Activate Price button to update prices for bulk products for each warehouse.
So the activate Button will go one by one (each product with each warehouse) at one time and will activate.
If I do this way, it is taking lot of time to update prices for bulk amount of Products.
Is there any other alternative for this to Activate price for bulk products?
I observed one more thing in this process, if there are multiple records in InventTrans for an Item then in the process of this activation, InventStdCostAdjust::adjustCostFinancialTrans method has a query which loops as many times as the records in inventTrans which is making this process hangup/making slow because some items have 1000's of records in that table for each item.
So to conclude this, I would need some help or need some tips about Best Approach to Activate Prices for Bulk Products(70000 approx)(5warehouses).
As SShaheen suggested, I wrote a batch job with a query that accepts Warehouse as a Parameter. I tried to run 6 batch jobs at same time, but it throws error saying deadlock for item. This happens because all are picking the same item for 6 warehouses so this happens.
I tried to run the batch job with First ware house and then wait for couple of mins and started second one and similarly 3,4,5,6. This WORKED. This helped me to reduce the time taken by 6. (TotalTime)/6. I am still working on trying to decrease this time as I have around 80000 records. Will keep posted if i found a better solution.
Related
I want to create a voucher for every vendor on my website, so the vendor can print it and give it to their customers so they can use it every time they order something from their stores until he uses all the amount that was put for him?
for example, if he has 50$ in his voucher and made an order with 20 $ , he should be able to have another discount for 30$ the second time he will make an order untill he finishes his amount ?
is it available ?
I use Google Vision API Product Search for a while now and realized some entire product sets get unindexed after some time...
These are same product sets get indexed without error, but after some time if not queried, product sets get unindexed (their index time is reset to 1970-01-01T00:00:00Z).
If I query them after some days, I get a no product found response.
After being queried, the product set gets reindexed after an hour (1 or 2 cycles).
Is it a normal feature of the API? if so where can I read more about it?
The indexing is automatic. If your set has the 0 timestamp, it hasn't been indexed yet.
You could verify that you have added the products by listing all of them. If the product set has no images or missing one image, it won't be indexed.
The Product Search index of products is updated approximately every 30
minutes. When images are added or deleted, the change won't be
reflected in your Product Search responses until the index is next
updated.
Another option to make sure that indexing is completed successfully is to check the index time field of the product set.
The index time indicates the time at which the last index was. If this is increasing, that means it's still up to date.
You can see this document and more information about productSet.
Another possibility is that you’re hitting some type of limitation that affects the indexation, like quota limits.
I don’t have access into your project if this issue is affecting you drastically and persists, you could open a support case and a colleague will look deeply into your project to see if there is something wrong.
I am investigating chances to use Firebase for my next project.I spent several days reading and building a "prove of concepts" project. In the demo project i build a shopping cart.In the admin section i can create products, and the client can buy it.When the client checks out i push to the closed-orders node a complex object which stores all data for the deal like this simplified version:
closed-orders
-order_id
-date
-client_id
-products
-product_id
-sale_price
-delivery_price
-qùantity
-product_id
-sale_price
-delivery_price
-quantity
....more products sold in this order
next order....
It is easy to do it that way and i can acces every different order and show it in the admin, but i want to make queries about the total sales, sales by product and a query about the profit.
Example question asked
1.What is the total quantites sold for every product from date1 to date2
2.What is the total turnover from date1 to date2
3.What is the profit for date1 to date2.
I want to answer this questions without downloading the whole dataset in the brwoser of course, because i do not think i can afford to pay for such bandwidth.Orders for one year could be tens of thousands:)
I wrote about Elastic search, keen.io but i am not sure exactly what functionality they offer and if it will answer my questions in a bandwidth friendly way.
We are having trouble creating a simple report in Quickbook Enterprise 14 for Windows. We just switched from Sage 50.
We are used to running a report called a Unit Activity Report, It contains these headers:
Item #, Item Description, Last Cost, Units Sold, On Hand Qty, Qty on Po
We have all the headers setup except for "Units Sold". This report is crucial for our business. I have some experience with the ODBC Driver for Quickbooks Enterprise with Access so I could try and create the report there I just have no idea where to start.
Does anyone have any ideas or information for my problem?
There's no built in report that shows all of the columns that you would want. The closest one would be the "Inventory Stock Status by Item" under the Inventory report category. This report will not show the total units sold, but will show the average per week based on the date range you choose.
One solution that might be viable is to run the "Inventory Stock Status by Item" report, and then also run the "Sales by Item Summary" report (located under the Sales report category). The second report will show the total quantity sold. You could export these to Excel and combine them into one report (cut and paste).
If you were to go with the ODBC driver you'll end up needing to query the Item List for Item #, Description, and Cost, all sales transactions (Invoices, Sales Receipts, and Credit Memos) to get sales information, Open Purchase Orders. If you want On Hand as of the selected date and not just On Hand as of now, you'd also need to backout sales, credits, receiving, and item adjustments. It could end up being a bit complex. I'd probably use the two report method first until you get a bit more familiar with QuickBooks and the ODBC tables in QuickBooks.
Our web application manages Employee entries on their own activities, and will show dashboards with isCube.
During the day, all the Employee will have to insert data on web application, and the dashboards will have to show real data, every time that incremental load will be scheduled.
All Employee will insert details of their own activity during the day, what they do, the projects on which they worked, the output they produced (for example how many insurance policy they have done) and so on.
During the day it is possible that Employee will have to update and delete their own datas.
So this is the reason why we would like to have incremental rows Inserted/Updated/Deleted.
Is there a way to do this or we have to schedule Full Load during the night?
Thank you
BR
Maria
This is not really a development questions, better to handle this in the standard icCube forum