E-ship - Email Help!

SavatageSavatage Member Posts: 7,142
edited 2007-08-09 in Navision Attain
We use Lanham's Eship which comes with an email option where you can send Email Invoices, Confirmations, Statements...etc.

Comes with very little documentation.

Anyway after playing with it for a hour or so I got it figured out Except for 1 thing. On my email Invoices a price of $3.90 comes out as $3.9

On the Email Line Elements it does have a column called "Format Number"
it will only allow an Integer so I can't enter
2:2 or 0.00 - i'm not sure what it want's me to do (yes no online help).

Anybody with any knowledge of how to do this (I know it's not the end of the world if there is no solution)

I have entered 1 , 2 to see what it does and ther is no change.
when I enter a 10 to 99 it gives the message
"Standard format no. 99 does not exist for the type 'Decimal'"

so I'm wondering if
1=means something
2=something else
3=some other format

figured I'd ask before going thru them all...

Comments

  • fbfb Member Posts: 246
    Sounds like it maps to the '<Standard Format,n>' form of the Format property (See C/SIDE On-line Help, Properties, Format).

    In order to get 2 decimal places when formatting a Decimal, the Format property needs to include the '<Precision,2:2>' attribute.

    Is there a field that lets you specify 'Precision'? If so, can you enter '2:2'?
  • SavatageSavatage Member Posts: 7,142
    Savatage wrote:
    it will only allow an Integer so I can't enter
    2:2 or 0.00 - i'm not sure what it want's me to do (yes no online help).

    i think it might be the MailOCX that's supplied with it that is doing this.
  • safindleysafindley Member Posts: 13
    Did you run "Create Object" from the "Email Mapping Tables" "Setup" menu?
    After you run this process you will need to import the text object created in the directory you specified in "Email Setup" "Object File Name", which is on the General tab. Next you will need to compile codeunit 14000901 "Email Field Value".

    This should define the properties for the fields being used. For decimail fields you should see text similar to the following in the Format String

    <Integer,10><Decimals,3>
    <Precision,2:2><Standard format,0>
    <Month,2>/<Day,2>/<Year,4>
    <Month text,3>-<Day,2>-<Year,4>


    These steps are outlined in the manual "Installing E-mail".
  • SavatageSavatage Member Posts: 7,142
    ***UPDATE***

    Here's an old post but keeping with it's theme - I was wondering if anybody knows how to alter the format of the email.

    I'd figure I'd ask before diving into the code myself-perhaps someone has played around with this already.

    I would like to make some text BOLD or Italic and maybe even add a picture to the emails. Everything works great right now - but the emails we send are so bland & plain

    I'm currently leaning towards messing with Report 14000901 - Sales-Email
    Integer - OnAfterGetRecord() where it talks about
    // Create the body of the E-Mail

    :-k
Sign In or Register to comment.