Moving average algorithm

Moving Average Algorithm Description:   
    
  When costing, the system automatically calculates the cost of the library service occurs in the order of the document, for storage traffic, the system automatically calculates the amount of balance, the balance of a sum of the number of balance price, quantity balances, number = the balance + the number of storage, the amount of balance balance sum = sum + on this storage amount, balance balance Unit = the amount / quantity balance for the library service, the system will automatically take the current balance of monovalent storehouse as monovalent, and automatically calculate the cost of the library.   
    
      
    
  For example:   
    
      
    
                              Number Unit Amount   
    
  an enterprise opening balance 1,010,100   
    
                    3.1 purchase 10,880   
    
                    3.2 5 emitted                     
    
      
    
  issuing unit cost (10 * 10 * 8 + 10) / 20 = 9   
    
                    emitted cost 5 * 9 = 45  

 

Inventory turnover = sales / average inventory amount of
the average amount of inventories = (beginning balance + ending amount) / 2

Moving Average Algorithm Description:   
    
  When costing, the system automatically calculates the cost of the library service occurs in the order of the document, for storage traffic, the system automatically calculates the amount of balance, the balance of a sum of the number of balance price, quantity balances, number = the balance + the number of storage, the amount of balance balance sum = sum + on this storage amount, balance balance Unit = the amount / quantity balance for the library service, the system will automatically take the current balance of monovalent storehouse as monovalent, and automatically calculate the cost of the library.   
    
      
    
  For example:   
    
      
    
                              Number Unit Amount   
    
  an enterprise opening balance 1,010,100   
    
                    3.1 purchase 10,880   
    
                    3.2 5 emitted                     
    
      
    
  issuing unit cost (10 * 10 * 8 + 10) / 20 = 9   
    
                    emitted cost 5 * 9 = 45  

 

Inventory turnover = sales / average inventory amount of
the average amount of inventories = (beginning balance + ending amount) / 2

Guess you like

Origin www.cnblogs.com/jijm123/p/12635412.html