Options

Date format in code.

knaabisknaabis Member Posts: 37
edited 2012-12-05 in Navision Attain
How to fill this place in the code (???), if c/al Globals has date format?

IF ProductionOrderHeader."Outstanding Quantity" = 0 THEN
Prod_FSC_Date := ProductionOrderHeader_FSC."Available Date" ELSE
Prod_FSC_Date := ???;


I inserted this:

Prod_FSC_Date := '';

but then i get error, because it is date format.

Comments

  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    If you want to assign an empty date, you use this:
    Prod_FSC_Date := 0D;
    
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    knaabisknaabis Member Posts: 37
    Super, thanks! :D
Sign In or Register to comment.