Date conversion XMLport

DigitPDigitP Member Posts: 38
Hi
I want to export the deliverydate via an XMLport
within nav the format is 01/10/17 and i need 10-01-17
is there some Export::OnBeforePassVariable() to convert it ?

with regards

Best Answer

Answers

  • KishormKishorm Member Posts: 921
    Try...
    TagName := FORMAT(DateField,0,1);
    
  • DigitPDigitP Member Posts: 38
    i want to format Sales Header::Order Date
    cant format it anymore in the CAL code
  • DigitPDigitP Member Posts: 38
    Hi Kishrom,
    Thnx for your awnser
    it did the trick did some format conversion 2 based on your awnser

    FORMAT("Sales Header"."Order Date",0,'<Day,2>/<Month,2>/<Year,2>');
  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.