pub struct AuditProcedureStep {Show 20 fields
pub step_id: Uuid,
pub step_ref: String,
pub workpaper_id: Uuid,
pub engagement_id: Uuid,
pub step_number: u32,
pub description: String,
pub procedure_type: StepProcedureType,
pub assertion: Assertion,
pub planned_date: Option<NaiveDate>,
pub performed_date: Option<NaiveDate>,
pub performed_by: Option<String>,
pub performed_by_name: Option<String>,
pub status: StepStatus,
pub result: Option<StepResult>,
pub exception_noted: bool,
pub exception_description: Option<String>,
pub sample_id: Option<Uuid>,
pub evidence_ids: Vec<Uuid>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
A single documented step within an audit workpaper (ISA 330).
Fields§
§step_id: UuidUnique step ID
step_ref: StringStep reference code, e.g. “STEP-a1b2c3d4-01”
workpaper_id: UuidWorkpaper this step belongs to
engagement_id: UuidEngagement this step belongs to
step_number: u32Sequential step number within the workpaper
description: StringDescription of the procedure
procedure_type: StepProcedureTypeType of audit procedure
assertion: AssertionAssertion addressed by this step
planned_date: Option<NaiveDate>Planned performance date
performed_date: Option<NaiveDate>Actual performance date
performed_by: Option<String>User ID of the performer
performed_by_name: Option<String>Display name of the performer
status: StepStatusCurrent status of the step
result: Option<StepResult>Result after completion
exception_noted: boolWhether an exception was noted
exception_description: Option<String>Description of any exception
sample_id: Option<Uuid>Linked audit sample, if sampling was used
evidence_ids: Vec<Uuid>Evidence items supporting this step
created_at: DateTime<Utc>Creation timestamp
updated_at: DateTime<Utc>Last-modified timestamp
Implementations§
Source§impl AuditProcedureStep
impl AuditProcedureStep
Sourcepub fn new(
workpaper_id: Uuid,
engagement_id: Uuid,
step_number: u32,
description: impl Into<String>,
procedure_type: StepProcedureType,
assertion: Assertion,
) -> Self
pub fn new( workpaper_id: Uuid, engagement_id: Uuid, step_number: u32, description: impl Into<String>, procedure_type: StepProcedureType, assertion: Assertion, ) -> Self
Create a new planned audit procedure step.
Sourcepub fn with_sample(self, sample_id: Uuid) -> Self
pub fn with_sample(self, sample_id: Uuid) -> Self
Link this step to an audit sample.
Sourcepub fn with_evidence(self, evidence_ids: Vec<Uuid>) -> Self
pub fn with_evidence(self, evidence_ids: Vec<Uuid>) -> Self
Attach a set of evidence items to this step.
Trait Implementations§
Source§impl Clone for AuditProcedureStep
impl Clone for AuditProcedureStep
Source§fn clone(&self) -> AuditProcedureStep
fn clone(&self) -> AuditProcedureStep
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more