search
Twitter Rss Feeds
MicrosoftArticlesForumsGroups
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml/Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsGroups
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsGroups
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsGroups
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsGroups
Microsoft Excel
Microsoft Word
Microsoft Powerpoint
Publisher
Money

Operating SystemsArticlesForumsGroups
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsGroups
Share Point
BizTalk
Site Server
Exhange Server
IIS
Transaction Server

Graphic DesignArticlesForumsGroups
Macromedia Flash
Adobe PhotoShop
Microsoft Expression

OtherArticlesForumsGroups
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Reviews
Search Engines
Resumes

 

Previous Thread:   9899.1 master planning for one warehouse

9/17/2005 7:01:23 PM    9335.1 Setup Start Date & Start Time for the batch job by program coding
Hi All,  
  
I am trying to make the inventory journal posting in the batch mode.  
  
What I do is like the followings:  
  
InventJournalCheckPost.batchInfo().parmBatchExecute(NoYes::Yes) ;  
  
InventJournalCheckPost.batchInfo().parmGroupId(batchGroupId) ;  
  
InventJournalCheckPost.batchInfo().doBatch() ;  
  
The process is successfully run in batch mode.  
  
Moreover, this time I have to make the posting job run at night, so  
  
what I did was by the following before running the doBatch method:  
  
InventJournalCheckPost.batchInfo().parmStartDate(systemdateget())  
  
;  
  
InventJournalCheckPost.batchInfo().parmStartTime(str2time("23:00:00"))  
  
;  
  
However, the batch job was created successfully in the batch list, the  
  
start time was wrong.  If I started the processing to that batch, it ran  
  
immediately.  
  
Do you guys know what should I do in order to make it run at the time  
  
I specified??  
  
Thanks & Regards,  
  
Tung  
  
Posted on technet.navision.com on: Tuesday, February 17, 2004


Pete's Blog   |    Pete's Resume   |    Robbe's Blog   |    Robbe's Resume   |    Archive #2   |    Archive #3   |    Dotnetslackers   |    XmlPitStop   |    Advertise   |   Contact Us   |   Privacy   |   Copyright (c) 2000 - 2009 eggheadcafe.com  All rights reserved.