Beginning Inventory calc in ASO

I'm just trying to put a simple calculation to link the beginning inventory balance to the prior period ending inventory.
Here is what I put on the member formula:
For Apri (April as the first month of the fiscal year)
Beg Balance =
(PrevMember(Year.CurrentMember,Level),[Mar],[Ending Inventory])
For May-March:
Beg Balance =
(PrevMember(Period.CurrentMember,Level),[Ending Inventory])
However, I keep getting the error below for retrieve (no problem for saving the outline)
Error executing formula for "Beginning Inventory": Recursion limit [31] reached.
I think it's because the formula confuses itself with the April and March balances kinda of referring to themselves....But it's for different years and it should just roll forward. I had no problem with BSO calc scrip or business rules.
Any trick I can learn to make it work in MDX ? Really appreciate your help! Thanks.

OK but you still will have to load every years begining inventory
Besides you did not use that very begining inventory number in any of the formulas I saw. Nevertheless if the only beginnning inventory amount is more than 31 months back from any month you are in trouble.
ANYTHING other than preloading BoY inventory will be slower -
The only possible alternate solution is to write a formula for BoY inventory that says it = sum of the previous years ending inventory WITHOUT including BoY
1 change your Ending Inventory formula to recurse ONLY to BoY - and not explicitly jump to prior years.
Add a BoY formula with a lower solve order that sums(Purchases - sales) for all prior years + the special beginning of cube inventory value
Assuming you built the following into your year dimension:
YearsMultiple hierarchies enabled
FYs label only
fy12
fy11
fy10
FY09
Internal Calc Usage label only
PreFY12
FY11
PreFY11
FY10
PreFY10
FY09
PreFY09
Then the formula for your BoY member could be just ( StrToMbr( Concat( "Pre", [Years].CurrentMember_Name ) , Purchases ) - ( StrToMbr( Concat( "Pre", [Years].CurrentMember_Name ) , Sales ) + ([Special BofCube Beg Inv Account], [First Year], [Whatever month you loaded it to] )

Similar Messages

  • Beginning inventory

    Dear all,
    i have uploaded beginning inventory by 561,but now i find out the material 11111's value is wrong,for changing a better one it had been returned to supplier and their price is highter , if one of the material have been consumed,what can i do?

    Hi fuchang,
    Unfortunately you would have to reverse the whole process (Goods Issue) in order to get the accurate MAP value.
    Reverse the Goods Issue, reverse 561, and then receive 561 with the new value.

  • Function or BAPI for material's Beginning Inventory,Receipts,ending inven

    HI all,
    Is there is a function or BAPI for material's Beginning Inventory,Receipts,ending inventory?
    Just like t-code 'ckm3',we can see the material's Beginning Inventory,Receipts,ending inventory ,include quantities and price,and we can see the corresponding details documents.
    But I want to see this for many materials at the same time ,not for one material. Especially for the material's Receipts(for adding inventory quantity, I do not attention the price value) during the current period.and the total of Receipt is ok , not for details documents in this period.
    So ,is there a function or BAPI for it ? I want to use it to develop customizing inventory report.
    Best regards,
    Kaien

    Hello,
      have you alredy tried if transaction MB5B could fit your requirements? It gives information about stock at the beginning and at the end of the selected period.
    Hope to be useful.
    Best regards,
    Andrea

  • End inventory and beginning inventory

    Hi all,
    how can i get the end and beginning inventories of a material, mlcd ckmlpr ckmlpp tables have some data regarding this issues but i want to know the how much of a ending inventory is of production and how much is of material etc.
    From which tables i can get this data?
    Thanks in advance.
    deniz.

    hi,
    thanks for reply,
    CKM3 is the trans code.
    i see the values i wanted there but i want to retrieve the same values for a report and dont know how to assign for example material costs, production costs or miscelanous costs.
    deniz.

  • Calc Execution Order for Rolling Beginning Balances

    I am trying to do a calculation where i need my current month's beginning inventory to be equal to prior month's ending inventory and then current month's ending inventory to be equal to current months beginning inventory.The calc is fixed on periods Feb to Dec and there is already a value for Jan's ending inventory. So I expect the calc to go in a loop and calculate in the following example:
    Jan endinv = 100
    Feb beginv = 100
    Feb endinv = 100
    mar beginv = 100
    mar endinv = 100
    dec endinv =100
    what its actually doing is only calculating the value for Feb beginning and Ending inventory. I thought it would do it for each month at a time but it seems to be calculating beginning inventory for all months first and then calculation ending inventory for all months. Therefore I only get a value in the Feb month for Beginv and endinv and so i have to keep running the calc 10 more times for the rest of the months to calculate properly.
    This is what my calc looks like:
    FIX("testscenario")
    FIX("FY11","FEB":"DEC")
    "BEGINV" = @PRIOR("ENDINV");
    "ENDINV" = "BEGINV";
    ENDFIX;
    ENDFIX;
    Can someone tell me how i can fix my calc to calculate properly.
    Thanks,
    Jinal

    In a regular business case, ending inventory is closed once the reporting month got closed and switch to a new month. Begining Inventory is carry forward from the Ending Inventory of the last month. Calculation of the begining inventory is differant.
    Script in this case will be:
    FIX("testscenario")
    FIX("FY11", &CurrMth)
    "BEGINV" = @PRIOR("ENDINV");
    ENDFIX
    ENDFIX
    But you are expecting as:
    I am trying to do a calculation where i need my current month's beginning inventory to be equal to prior month's ending inventory and then current month's ending inventory to be equal to >>current months beginning inventory.The calc is fixed on periods Feb to Dec and there is already a value for Jan's ending inventory. So I expect the calc to go in a loop ....In a multidimensional technology like Essbase, there is always a differance b/w expected behaviour (the calc to go in a loop) and the original behaviour (Calc all at once).
    We should understand that and need to write the code to achieve the desired results.
    Any how what you want is it should take all values from Jan Ending Inventory. That is what happen if it will calculate as you expected.
    We will tell the Essbase to do so straight as below.
    FIX("testscenario")
    FIX("FY11","FEB":"DEC")
    "BEGINV" = "Jan"->"ENDINV";
    "ENDINV" = "BEGINV";
    ENDFIX
    ENDFIX
    Good Luck...

  • Inventory Management 0IC_C03: Beginning and ending inventory

    Hi Gurus
    My report is based on Inventory Management cube and I have a requirement where in I need to show Begining Inventory and Ending Inventory for Plant per Period.
    There is no KF for Beginning Invin SAP standard model in inventory management cube (0IC_C03 cube), so I thought to restricting total quantity by Fiscal period and Offset by minus one to get begining inventory.
    Here is my report layout:
    I have got : Period , Plant in rows and Beginning and ending inventory in Columns.
    Desired Output:
    Fiscal Period | Plant |  |  Begining Inventory | Ending Inventory.
    03/2009        |  1001 |    100                       |  50
    Actual Report output
    Fiscal Period | Plant |  |  Begining Inventory | Ending Inventory.
    02/2009        |  1001 |                 100          | 
    03/2009        |  1001 |                                |  50
    So basically report is being split on two lines for current and previous (due to restriction in begining period : Offset =-1 on period).
    Question is how to achieve both begining and ending inventory for a period in same line.
    Thanks in avdance for help and time
    SA

    HI Naveen
    Thanks for the reply. Non *** KF are already being used and Standard SAP model is being followed. Problem is not with back end but with frontend. Data coming on the report is fine but problem is how to show them on same line. Remember Beginning inventory for current open is ending inventory for previous month and  in SAP content there is no KF called as begining inventory. Basically data from two consecutive periods (current and previous one) needs to be on same row of report, but they are coming on different rows if we have period in drilldown by period. this makes sense but how to overcome this.
    This, We have all the correct data but facing issue while displaying that on frontend.
    Thanks
    Sorabh
    Edited by: Sorabh on Mar 23, 2009 5:01 PM

  • Inventory Management: Month beginning and ending inventory levels

    Hello,
    I need to have beginning and end of month inventory levels. I havent been given any functional specs . The only favor I would like from you is to know what standard chars and key figs you are using in your rows and column. And how are you using the objects in the forumla Naveen A suggested in the thread [SAP Business Explorer (SAP BEx);.
    Specially where he mentions formula, I would like to know what key figures does it consist of and are they restricted to the current or prior month.
    Let the end inventory be the same way and the begin inventory be as end inventory - ( total receipts current month - total issues current month).
    Thanks

    Anyone...Naveen A ....Arun????
    This is a simple one...
    Thanks
    Edited by: Navi Singh on May 1, 2009 9:51 PM

  • Opening-Closing Inventory problem

    I have written following calc script
    "Opening Balance"
    IF (@ISMBR(Jan))
    "Opening Inventory" = Jan;
    ELSE
    "Opening Inventory" = @PRIOR("Ending Balance");
    ENDIF;
    Also my Ending balance= Opening Balance+Adjustments-Sales; which i have defined as member formula in the Closing Balance member.
    Now the problem is that the formula and script is not running for the entire 48 weeks as my formula runs after the opening inventory calc script. Opening inventory can be calculated only when there is closing inventory which is a formula. I have to run all this several times to reach to all 48 weeks figure.
    So i have ended up as a loop wherein though the scripts and formula is working fine but each one is dependent on other.
    Please help

    Hi,
    Try adding @CALCMODE(CELL); in your calc script.
    "Opening Balance"
    @CALCMODE(CELL);
    IF (@ISMBR(Jan))
    "Opening Inventory" = Jan;
    ELSE
    "Opening Inventory" = @PRIOR("Ending Balance");
    ENDIF;
    Cheers,
    Alp

  • OPM Inventory Roll Forward Report

    Hello All:
    My Plant controller is asking for an Inventory Roll Forward report in OPM 11.5.10
    At the high level, this is what he is asking for :
    For the quarters under examination, obtain and test or perform an overall "rollforward" of inventory units (i.e., beginning inventory plus production plus returns less sales and plus or minus inventory adjustments equals ending
    inventory).
    I am planning to build a custom report using information based in ic_tran_pnd and ic_tran_cmp tables.
    I wanted to know, Is there a "standard" Report in OPM that is available to give this information or anything close enough that I can use a starting point to build the above Report?
    Thanks in advance.
    Sandeep
    Edited by: user8611828 on Dec 29, 2010 6:44 PM

    Hi Sandeep,
    *"Daily Transaction Detail Report"* in OPM inventory responsibility can be the basis on which you can build on the "running stock balance report". Of course, inclusion of ic_perd_bal would make sense for the opening balance.
    Rather, you can even build "Projected Stock Balance report", in case you have procurement plans (PR/PO) –-- inflow and projected requirements --- outflow, is in place.
    Hope this helps.
    - Sanjeev

  • Inventory Quantity Range and Sales Quantity Range

    Hi experts,
    Please, can it possible to create a query that will display by item code,description and by business partner(preferred vendor)
    1) Beginning Inventory Quantity of the start of the date range
    2) Ending Inventory Quantity of the end of the date range
    3) Sales Quantity of the specified date range different from the date range that was used in Inventory quantity date range.
    4) Actual In Stock (Current Date)
    where Sales Quantity is at gross of credit memo and Inventory includes credit memo.
    Thank you,
    Dis
    Edited by: Dis Rodarbal on Mar 3, 2011 2:50 AM

    Hi,
    Do modifications in the below query if necessary
    declare @from datetime
    declare @to datetime
    set @from=(select min(a.docdate) from oinm a where a.docdate>=[%0] or [%0]=' ')
    set @to=(select max(b.docdate) from oinm b where b.docdate<=[%1] or [%1]=' ')
    select a.ItemCode,a.ItemName,max(b.cardcode) as 'PrefVendor',
    (select cardname from ocrd where cardcode=max(b.cardcode)) as 'VendorName',sum(OB)as'Opening',sum(OB+CB)as'Closing',sum(Sold)as'Sale' from (
    select t0.itemcode,t0.dscription'ItemName',sum(isnull(t0.inqty,0)-isnull(t0.outqty,0))'OB',0'CB',0'Sold' from oinm t0
    where t0.docdate< @from
    group by t0.itemcode,t0.dscription
    union all
    select t0.itemcode,t0.dscription,0,sum(isnull(t0.inqty,0)-isnull(t0.outqty,0))'CB',0 from oinm t0
    where t0.docdate between @from and @to
    group by t0.itemcode,t0.dscription
    union all
    select t0.itemcode,t0.dscription,0,0,sum(isnull(t0.outqty,0)-isnull(t0.inqty,0))'Sold' from oinm t0
    where t0.docdate  between @from and @to and transtype in (13,14)
    group by t0.itemcode,t0.dscription
    )a left outer join oitm b on b.itemcode=a.itemcode
    group by a.itemcode,a.itemname
    order by a.itemcode

  • FDM to load data in Essbase ASO cube

    Anybody have used FDM to load data in Essbase ASO cube? How do you clear and run calc on ASO cube?
    Thanks

    Does the Essbase Adapter for FDM Support ASO Cubes? [ID 1168153.1]
    Modified 17-AUG-2010 Type HOWTO Status PUBLISHED
    Applies to:
    Hyperion Financial Data Quality Management - Version: 11.1.1.3.00 and later [Release: 11.1 and later ]
    Information in this document applies to any platform.
    Goal:
    Does the Essbase adapter for FDQM support ASO cubes?
    Solution:
    ASO cubes are not currently supported in FDQM.
    Unpublished Enhancement 6568323 has been created and it is currently under consideration for a future release.
    References
    BUG:6568323 - 8-529236080 - CUSTOMER WANTS TO TAKE ADVANTAGE OF THE ASO FUNCTIONS IN ESSBASE.
    Related
    Products
    Middleware > Enterprise Performance Management > Financial Data Quality Management > Hyperion Financial Data Quality Management

  • Periodic Inventory System

    Hi All,
    I am new here so please can you explain Periodic Inventory in SAP Business one. I am using SAP Business One 8.8.
    Thanks
    Sameer

    Hi Sameer,
    Just copy below text and paste it in notepad.....
    Perpetual vs. Periodic Inventory System Journal Entries
    A. The Sale and Purchase of Products
    Perpetual inventory systems show all changes in inventory in the "Inventory" account. Purchase accounts are not used in a perpetual inventory system.
    Periodic inventory systems keep the inventory balance at the same value that it was at the beginning of the year. At year end, the inventory balance is adjusted to a physical count. To account for inventory purchases in a periodic inventory system, an account called "Purchases" is used rather than debiting "Inventory".
        Example: (Unit cost is held constant to avoid the necessity of a using
                   a cost flow assumption)
                       Beginning inventory      100 units @ $6  = $  600
                       Purchases                900 units @ $6  = $5,400
                       Sales                    600 units @ $12 = $7,200
                       Ending inventory         400 units @ $6  = $2,400
             Perpetual Inventory System       |    Periodic Inventory System
          1.  Beginning inventory 100 units at $600
              Inventory account shows         |  Inventory account shows
              $600 in inventory.              |  $600 in inventory.
          2.  Purchase of 900 units at $6 per unit
              Inventory            5,400      |  Purchases           5,400
                 Acc. Payable            5,400|     Acc. Payable           5,400
          3.  Sale of 600 units at a selling price of $12 per unit
              Acc. Receivable      7,200      |  Acc. Receivable     7,200
                 Sales                   7,200|     Sales                  7,200
              Cost of Goods Sold   3,600
    No entry
                 Inventory               3,600
          4. End-of-period entry for inventory adjustment
              No entry needed.                |  Inventory            1,800
              The ending balance of inventory |    Cost of Goods Sold 3,600
              shows $2,400.                   |    Purchases               5,400
          Note: The periodic inventory adjustment in transaction 4 adjusts
                inventory to the physical count, closes out any purchase accounts,
                and runs any difference through cost of goods sold.
    B. Cost of Goods Sold in a Periodic Inventory System
    Perpetual inventory systems record cost of goods sold and keep inventory at its current balance throughout the year. Therefore, there is no need to do a year-end inventory adjustment unless the perpetual records disagree with the inventory count. In addition, a separate cost of goods sold calculation is unnecessary since cost of goods sold is recorded whenever inventory is sold.
    The inventory account in a periodic inventory system keeps its beginning balance until the end of period adjustment to the physical inventory count. Therefore, a separate cost of goods sold calculation is necessary. The following calculation shows the calculation for the preceding example.
                       Beginning Inventory                  600
                       Net Purchases                      5,400
                       Goods Available for Sale           6,000
                       Ending Inventory                   2,400
                       Cost of Goods Sold                 3,600
                                                         =======
    C. Purchase Returns and Allowances and Purchase Discounts
    "Purchases" has a normal debit balance since it replaces the debit to "Inventory". It has two contra accounts known as "Purchase Discounts" (Purch. Disc.) and "Purchase Returns and Allowances" (Purch. R&A) that reduce it to determine "Net Purchases". The balance of these two contra accounts is a credit because "Purchases" is a debit. Remember that contra accounts always have a normal balance that is opposite to what they are contra to. Purchase-type accounts are temporary accounts (i.e., they are closed at year end) and only appear in a periodic inventory system. They simply serve to replace the corresponding inventory portion of an entry that exists in a perpetual inventory system. The following entries illustrate purchase returns and discounts in perpetual and periodic inventory systems:
               Perpetual Inventory System    |    Periodic Inventory System
          1.  Ace Company returned $600 of damaged merchandise and received a
              price reduction allowance of $100 on the portion of the merchandise
              they retained.
              Acc. Payable      700          |    Acc. Payable      700
                 Inventory          700      |      Purch. R&A            700
          2.  In a previous transaction, Ace purchased merchandise on account at
              a cost of $1,000.  The credit terms were 2/10, n/30.  Ace paid for
              the merchandise within the discount period.
              Acc. Payable    1,000          |    Acc. Payable    1,000
                 Inventory              20   |       Purch. Disc.          20
                 Cash                  980   |       Cash                 980
    D. Sales Returns and Allowances and Sales Discounts
    Sales has two contra accounts known as "Sales Discounts" (Sales Disc.) and "Sales Returns and Allowances" (Sales R&A) that reduce it. The normal balance for these two contra accounts is a debit. Sales and its contra accounts may appear with either a perpetual or periodic inventory system. The following entries illustrate the accounts in perpetual and periodic inventory systems. The entries assume the gross method.
               Perpetual Inventory System    |    Periodic Inventory System
          1.  Sam Company received $600 of damaged merchandise from their customer
              Ace.  They also gave Ace a $100 allowance for some of the damaged
              merchandise that Ace retained.  The original cost of the merchandise
              returned to Sam was $400.
              Sales R&A             700      |    Sales R&A           700
                 Acc. Receivable         700 |       Acc. Receivable       700
              Inventory             400
    No entry
                 Cost of Goods Sold      400
          2. Sam received a customer payment for a prior sale on account of $1,000
             subject to credit terms of 2/10, n/30.  The customer made payment
             within the discount period.
              Cash                  980      |    Cash                980
              Sales Disc.            20      |    Sales Disc.          20
                 Acc. Receivable        1,000|       Acc. Receivable      1,000
    Sales on the income statement should be shown net of its contra accounts. For example, if a company has $980,000 in sales, $3,400 in sales returns and allowances, and $2,200 in sales discounts; net sales would be $974,400.
    Thanks
    Sachin
    Edited by: SachinD on Sep 28, 2010 11:54 AM

  • Custom Calculation terminated with Essbase error 1200685 in POV

    I'm trying to improve the efficiency of an ASO calculation script by limiting the scope of the calculation using a filter within the POV.
    When I do this, I get an error that says MDX error: A symmetric set expression is expected. Custom Calculation terminated with Essbase error 1200685 in POV.
    Using a similar filter in an mdx query I can see that I should be updating approximately 5000 data points. That query returns data in less than a minute. If I remove the filter, the calc will run over 16 hours and not complete (I've killed it at that point). [FI - Begining Balance Calc] is a calculated member, which is dependent on other calculations. I'm thinking that the calculation is churning for all of the potential member combinations regardless of sparseness of the data.
    Error 1200685 is not documented in the Essbase Error Message guide. Any ideas on this anyone?
    calc_1.txt contains:
    [FI - Beginning Balance Stored] := [FI - Beginning Balance Calc];
    execute calculation on database REVFCTA.REVFCTA with
    local script_file "E:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\app\REVFCTA\REVFCTA\calc_1.txt"
    POV "FILTER(CROSSJOIN(
    CROSSJOIN(
    CROSSJOIN(
    CROSSJOIN(
    CROSSJOIN(
    CROSSJOIN({[Y.2011]},{[SEG.S0001]}),
    {[FORECAST]}),
    [ASSET TYPE].Levels(0).members),
    [FUND_INVESTOR].levels(0).members),
    [OZ_FUND].levels(0).members),
    {[PER.2]}), NOT ISEMPTY([FI - Beginning Balance]))"
    SourceRegion "({[FI - Beginning Balance Calc]})";
    This is the mdx query:
    SELECT
    {[FI - Beginning Balance Calc]} ON COLUMNS,
    FILTER(CROSSJOIN(CROSSJOIN([FUND_INVESTOR].Levels(0).members,
    [ASSET TYPE].LEVELS(0).MEMBERS),
    OZ_FUND.[OZ_FUND].LEVELS(0).MEMBERS), NOT ISEMPTY([FI - Beginning Balance]))
    ON ROWS
    FROM [REVFCTA.REVFCTA]
    WHERE ([Y.2011],[PER.2],[SEG.S0001],[FORECAST])

    I don't think it's so much that it no longer applies in current versions as that people don't understand that it only ever applied if you had multiple conditions testing more than one dense member.
    I still think that...
    FIX("Dense1", "Sparse1")
         Do something to Dense1
    ENDFIX
    FIX"Dense2", "Sparse1")
         Do something to Dense2
    ENDFIX
    ...is often going to be slower than...
    FIX("Sparse1")
         IF "Dense1"
              Do something to Dense1
         IF "Dense2"
              Do something to Dense2
    ENDFIX
    ...unless the subset of blocks is small enough that caching (Essbase or OS) results in the "Sparse1" blocks not having to be read from / written back to disk twice.

  • Point In Time Journal in main report

    I use the Dynamics GP v10 database. The system keeps item inventory on hand quantities based on initial on hand values that were in the item quantities table then keeps a journal of changes since that point in a table specific to the transactions. The transactions are based on locations.
    IV00101 - Item master (Basic setup of the item and default location)
    IV00102 - Item Quantities (Item quantities based on the totals for each location, not bins)
    IV30300 - Item Transaction History Line Records (the item quantity transactions by line item and coorelating location).
    Now, what I am doing in crystal is to select the correct transaction and location is below. Item number is a parameter. I additionally have the transaction date as a parameter as well.
    {IV00102.LOCNCODE} = {IV00101.LOCNCODE} and
    {IV30300.ITEMNMBR} = {?Item Number} and
    not ({IV00101.ITEMTYPE} in [2, 4, 5, 6])
    I have found that when the old consultants converted from the old database to Great Plains, for about 100 items they incorrectly set the initial on hand value held on IV00102. So when the system uses the journal in IV30300 to adjust the on hand value in IV00102, it is wrong unless I evaluate for what the wrong beginning balance is. What this means is that I can not use the journal itself to determine on hand. Now somewhere in the system it presents a balance which is the on hand, but I have not found anywhere in the system where a static beginning inventory balance number exists but that it rolls backwards or something. So that was a pain but now it is working so I can put in one item number and a date to determine the on hand at the time of an order at any given time in the past.
    So that sets the stage. Here is the problem. I have to then use this in a main report where all sales line items are analyzed for on hand at time of sale. So each line item, up to 4000 or more per month. This takes a considerable time to process a journal history for every line item. Also, because I have to make this journal process a sub report to do analysis on the returned number I use variables to pass the number through to the main report. To make that work correctly, I have to run this at the group level because the sub report must run first to be passed to a variable and used for record level processing. But, that only works when I am looking at one day's worth of sales. If I am trying to process an entire month, it does not work as the sub report does not regenerate data for each record which has different dates.
    So, comes down to this. Anyone know how to make the database itself create a view of all data and present a running balance for all items, which would require 1. resetting balance figures at each change of item number and 2. adjusting for improperly set begging On hand balance numbers.
    If that is not possible, then how do I use the sub so it passes the data up for use in the active report on the line intended and not the line below?

    Hi Allen, Great Plains is an OEM partner of ours so you should post/ask your question of them. They will know the DB and how to get to where you want to be.

  • Z table for Closing Stock

    Hi ,
    My  requirement is to make Z table for closing stock.
    As ours is a pharma firm  and we have implemented SAP in Aug 2008.
    Now for  closing stk  we are using S033 and MSEG table to get opening stk
    SELECT SUM( mzubb ) SUM( magbb ) INTO (w_dr_menge , w_cr_menge)
            FROM s033
           WHERE sptag < so_fkdat-low
             AND werks = werks
             AND matnr = matnr.
      w_opening_balance = w_dr_menge - w_cr_menge.
    and for closing stk = opening stk - sale + receive.
    Now the problem is  when we want to retrieve data for closing stk for last month ,it is checking all the records since Aug 2008  for opening stk and it is taking too much time to retrieve data.
    Can anyone plz suggest any alternative for thsi problem.
    I will really appriciate your help.
    Regards,
    Archana

    Hi
    done this before. for sure you will experience an performance problem in your current setup. what we did is we create a program that calculates the ending inventory of the month then beginning inventory of the following month we are executing this in every end of the month. In that case when we need to access the previous month the ztable must be use. make sure that your program can do rerun of the ending and beginning of stock because there are chances of previous posting of reversals.
    Thanks,
    Best regards,
    Etrafanob

Maybe you are looking for

  • Lost ActiveX connection with LabVIEW server

    I have called LabVIEW in TestStand and tried to execute the test cases . While executing I got the following error:  ( Lost ActiveX connection with LabVIEW server. The LabVIEW adapter will try to reconnect on the next execution attempt.-18001; An err

  • Inserting strings in a database

    Hello all! I am trying to insert string values in a database with this metode.     public void insertData(){    try{ String url = "jdbc:odbc":"+database; Connection connection = DriverManager.getConnection(url, user, password); Statement status = con

  • How to hide Report's Parameter Form Urgent Please

    Hello to All! How we can hide Reports Parameter Form when we are calling a report from our form by using RUN_PRODUCT built in.

  • Untrusted Connection Warnings for One Domain User

    I have one domain user that constantly gets "This connection is Untrusted" warnings and has to continually add the exemptions. On a couple of sites the adding of exemptions fail and then get the following under the technical details: "xxxxx uses an i

  • Mounting failed

    Dear all, For a while it has been impossible for me to innstal non-Apple software (like the new version of Skype and Plaxo) on my Mac. Downloading the files work fine, but each time the download is finished I get the same message: Mounting Failed Doe