You need to sign in to do that
Don't have an account?
tino2008
how to clear date?
Updating a date field on an account with a null value will not clear/reset the date field
so it wont be visible on the account screen.
What possibilities do I have?
What possibilities do I have?
Regards,
ValentinoRomeli
ValentinoRomeli
webService static string UpdateAccountDates(string nr, date InService, date OutService)
{
try {
Account acc = [select AC_SINDS__c,AC_EX_SINDS__c from Account where AC_AF_INI_ID__c = :nr];
acc.AC_SINDS__c = InService;
acc.AC_EX_SINDS__c = OutService;
update acc;
{
try {
Account acc = [select AC_SINDS__c,AC_EX_SINDS__c from Account where AC_AF_INI_ID__c = :nr];
acc.AC_SINDS__c = InService;
acc.AC_EX_SINDS__c = OutService;
update acc;
Does anyone know?
Clearing the date with
acc.AC_SINDS__c = null;
Thx in advance
Valentino Rijhen