3. August 2010 12:13
3. August 2010 13:02
3. August 2010 14:05
3. August 2010 14:15
Johanna_Kasberger hat geschrieben:die Variable wird auch im OnAfterGetRecord modifiziert.
Liegt hier das Problem?
3. August 2010 14:55
3. August 2010 15:10
3. August 2010 15:15
TransferLinesEditable := TRUE;
"Starting DateEditable" := TRUE;
"Next Invoicing DateEditable" := TRUE;
"Invoicing periodEditable" := TRUE;
"Return DateEditable" := TRUE;
"Rental PeriodEditable" := TRUE;
"Assigned User IDEditable" := TRUE;
TransfertoContactNoEditable := TRUE;
"Transfer-to CodeEditable" := TRUE;
"Transfer-from CodeEditable" := TRUE;
ShortcutDimension2CodeEditable := TRUE;
ShortcutDimension1CodeEditable := TRUE;
"In-Transit CodeEditable" := TRUE;
"Posting DateEditable" := TRUE;
"No.Editable" := TRUE;
CASE Status OF
Status::"Ship/Receive booked":
BEGIN
"No.Editable" := FALSE;
"Posting DateEditable" := FALSE;
"In-Transit CodeEditable" := FALSE;
ShortcutDimension1CodeEditable := FALSE;
ShortcutDimension2CodeEditable := FALSE;
"Transfer-from CodeEditable" := FALSE;
"Transfer-to CodeEditable" := FALSE;
TransfertoContactNoEditable := FALSE;
"Assigned User IDEditable" := FALSE;
"Rental PeriodEditable" := FALSE;
"Return DateEditable" := FALSE;
"Invoicing periodEditable" := FALSE;
"Next Invoicing DateEditable" := FALSE;
"Starting DateEditable" := FALSE;
END;
Status::Closed:
BEGIN
// CurrForm.EDITABLE(FALSE);
TransferLinesEditable := FALSE;
"No.Editable" := FALSE;
"Posting DateEditable" := FALSE;
"In-Transit CodeEditable" := FALSE;
ShortcutDimension1CodeEditable := FALSE;
ShortcutDimension2CodeEditable := FALSE;
"Transfer-from CodeEditable" := FALSE;
"Transfer-to CodeEditable" := FALSE;
TransfertoContactNoEditable := FALSE;
"Assigned User IDEditable" := FALSE;
"Rental PeriodEditable" := FALSE;
"Return DateEditable" := FALSE;
"Invoicing periodEditable" := FALSE;
"Next Invoicing DateEditable" := FALSE;
"Starting DateEditable" := FALSE;
END;
ELSE
TransferLinesEditable := TRUE;
"No.Editable" := TRUE;
"Posting DateEditable" := TRUE;
"In-Transit CodeEditable" := TRUE;
ShortcutDimension1CodeEditable := TRUE;
ShortcutDimension2CodeEditable := TRUE;
"Transfer-from CodeEditable" := TRUE;
"Transfer-to CodeEditable" := TRUE;
TransfertoContactNoEditable := TRUE;
"Assigned User IDEditable" := TRUE;
"Rental PeriodEditable" := TRUE;
"Return DateEditable" := TRUE;
"Invoicing periodEditable" := TRUE;
"Next Invoicing DateEditable" := TRUE;
"Starting DateEditable" := TRUE;
END;
3. August 2010 15:29
3. August 2010 15:42
3. August 2010 15:45
Johanna_Kasberger hat geschrieben:Vielleicht darf man dem Property Editable eines Part Elements keine Variable zuweisen?!
Anders kann ichs mir nicht mehr erklären...
3. August 2010 15:53