Hi and thanks Thomas,
Yes you are right I forgot to put in the all important place of rounding so
here it is agai:.

Hi

I want to change the effect line discount has on sales order lines from
being a % of the gross line amount to beng a % of the unit price, so from

round ((qty * price) * line disc) = line amount

to

qty * round(price * line disc) = line amount

Has anybody had any experience of this or any things they think I should
be careful of.  I plan to only change the PriceDisc::Price2Amount method, is
it really that simple?

Thanks
James



-----Original Message-----
From: Thomas Turn Jensen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 1:03 AM
To: [EMAIL PROTECTED]
Subject: Re: [development-axapta] Line discount % modification


Hi James,


I suspect there is something missing in your email.

There is no difference between your two mentioned calculations - the
parrentheses do not matter in this context.
(Check for yourself - (2*3)*4 == 2*(3*4))

Best regards

Thomas Turn Jensen
----- Original Message -----
From: "James Flavell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 27, 2003 3:55 PM
Subject: [development-axapta] Line discount % modification


Hi

I want to change the effect line discount has on sales order lines from:

(qty * price) * line disc = line amount

to

qty * (price * line disc) = line amount

has anybody had any experience of this or any things they think I should
be
careful of. I plan to only change the PriceDisc::Price2Amount method, is
it
really that simple?

Thanks
James


-----Original Message----- From: johnn_16 [mailto:[EMAIL PROTECTED] Sent: Saturday, October 25, 2003 1:14 AM To: [EMAIL PROTECTED] Subject: [development-axapta] Problem with Exel import again


Hi, I want to import data by exel. So I use the Template Wizard in Exel Spreadsheets. I had a problem that was supose to be corrected with SP2. Unfortunatly, the problem isn't fix with SP2 but I got a different error msg. The error occur only with some of my personnal tables. Before SP2, my newest created tables always get that error:

Error executing code: SysDictType object not initialized.

Stack trace:
\Classes\SysDictType\baseType
\Classes\SysExcelTemplateWizard\formatType - line 11
\Classes\SysExcelTemplateWizard\formatColumns - line 34
\Classes\SysExcelTemplateWizard\createTemplate - line 17
\Classes\SysExcelTemplateWizard\run - line 21
\Classes\SysExcelTemplateWizard\main - line 11

Since SP2 installation, I got this error msg.

Error executing code: DictEnum object not initialized.

Stack trace:
\Classes\DictEnum\label
\Classes\SysExcelTemplateWizard\formatCell - line 22
\Classes\SysExcelTemplateWizard\formatType - line 21
\Classes\SysExcelTemplateWizard\formatColumns - line 37
\Classes\SysExcelTemplateWizard\createTemplate - line 17
\Classes\SysExcelTemplateWizard\run - line 21
\Classes\SysExcelTemplateWizard\main - line 11




Anyone know why? Thanks!







Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/








Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/








Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/







Yahoo! Groups Sponsor ADVERTISEMENT
click here


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to