| 
			
			 | 
		#1 | 
| 
			
			 Участник 
		
			
	 | 
	
	
	
		
		
			
			
			Dynamics AX Sustained Engineering: Sales tax information is not recaculated if document date is changed in a journal when sales tax is calculated using document date
			 
			
			Источник: http://blogs.technet.com/b/dynamicsa...ment-date.aspx 
		
		
		
		
		
		
			============== Problem: When setting the General ledger parameter for Calculation Date Type = Document date sales tax information is not refreshed on journal forms when the document date is changed. Posted values are correct, however the display in the journal is not refreshed. Resolution: To resolve this issue the following code changes can be made. Change \Classes\LedgerJournalEngine\documentDateModified From: X++: ...
    if (ledgerJournalTrans.CashDiscCode)
    {
        this.calculateCashDisc(ledgerJournalTrans);
    }
}X++: ...
    if (ledgerJournalTrans.CashDiscCode)
    {
        this.calculateCashDisc(ledgerJournalTrans);
    }
        if (TaxParameters::find().TaxCalculationDateType == TaxCalculationDateType::DocumentDate)
    {
        this.clearTaxAmountCache(ledgerJournalTrans);
    }
}Источник: http://blogs.technet.com/b/dynamicsa...ment-date.aspx 
				__________________ 
		
		
		
		
		
			Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. Последний раз редактировалось Poleax; 22.06.2011 в 09:45. Причина: оформление  | 
| 
	
 | 
| 
	
	 | 
	
		
  |