Page 18122628 EOS060 Post Activity
Page 18122628 EOS060 Post Activity
Language | Caption |
---|---|
de-AT | Post-Aktivität (PMM) |
de-CH | Post-Aktivität (PMM) |
de-DE | Post-Aktivität (PMM) |
en-US | Post Activity (PMM) |
it-CH | Registra attività (PMM) |
it-IT | Registra attività (PMM) |
Methods
InitRequest
procedure InitRequest(var NewWorkRequest: record "EOS060 Work Request")
Parameters / Return Value
- NewWorkRequest
record "EOS060 Work Request"
PopulateJournal
procedure PopulateJournal()
SetActivityDescription
procedure SetActivityDescription(NewDescription: Text[250])
Parameters / Return Value
- NewDescription
Text[250]
GetJournalLines
procedure GetJournalLines(var TempWorkJournalLine: Record "EOS060 Work Journal Line")
Parameters / Return Value
- TempWorkJournalLine
Record "EOS060 Work Journal Line"
Events
OnBeforePostActivity
local procedure OnBeforePostActivity(WorkRequest: Record "EOS060 Work Request";var ActivityDescription: Text;var PostingDate: Date;var CloseRequest: Boolean)
Raised before calling the PostActivity procedure
Parameters / Return Value
WorkRequest
Record "EOS060 Work Request"
The work request currently being posted
ActivityDescription
Text
The activity description inserted by the user
PostingDate
Date
The posting date
CloseRequest
Boolean
Specifies whether the work request should be closed after posting
OnAfterPostActivity_StatusFinished
local procedure OnAfterPostActivity_StatusFinished(WorkRequest: Record "EOS060 Work Request";var ActivityDescription: Text;var PostingDate: Date;var CloseRequest: Boolean)
Raised after calling the PostActivity procedure and after changing status to “Finished”.
Parameters / Return Value
WorkRequest
Record "EOS060 Work Request"
The work request posted
ActivityDescription
Text
The activity description inserted by the user
PostingDate
Date
The posting date
CloseRequest
Boolean
Specifies whether the work request should be closed after posting
OnBeforeInsertResourceLine
Obsolete
Pending: Removed, use MaintenanceMgt.OnBeforeInsertJnlLine instead (20)local procedure OnBeforeInsertResourceLine(var Rec: Record "EOS060 Work Journal Line"; WorkRequest: Record "EOS060 Work Request")
Raised before inserting the journal line for the resource.
Parameters / Return Value
Rec
Record "EOS060 Work Journal Line"
The work journal line record.
WorkRequest
Record "EOS060 Work Request"
The work request record.
OnBeforeInsertSparePartLine
Obsolete
Pending: Removed, use MaintenanceMgt.OnBeforeInsertJnlLine instead (20)local procedure OnBeforeInsertSparePartLine(var Rec: Record "EOS060 Work Journal Line"; WorkRequest: Record "EOS060 Work Request"; SparePart: Record "EOS060 Spare Part")
Raised before inserting the journal line for a spare part.
Parameters / Return Value
Rec
Record "EOS060 Work Journal Line"
The work journal line record.
WorkRequest
Record "EOS060 Work Request"
The work request record.
SparePart
Record "EOS060 Spare Part"
The spare part record.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.