Table of Contents

Table "Planning Error Log"

ID 5430
Namespace: Microsoft.Inventory.Planning

Properties

Name Value
Caption Planning Error Log
DrillDownPageID Page Microsoft.Inventory.Planning."Planning Error Log"
LookupPageID Page Microsoft.Inventory.Planning."Planning Error Log"
ReplicateData True
DataClassification CustomerContent

Fields

Name Type Description
"Worksheet Template Name" Code[10]
"Journal Batch Name" Code[10]
"Entry No." Integer
"Item No." Code[20]

Specifies the item number associated with this entry.

"Error Description" Text[250]

Specifies the description to the error in this entry.

"Table ID" Integer
"Table Position" Text[250]
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemCreatedByUserName Text[50]
SystemCreatedByFullName Text[80]
SystemModifiedByUserName Text[50]
SystemModifiedByFullName Text[80]
SystemRowVersion BigInteger

Methods

Caption

procedure Caption(): Text

Returns

Type Description
Text

SetJnlBatch

procedure SetJnlBatch(WkshTemplName: Code[10]; JnlBatchName: Code[10]; ItemNo: Code[20])

Parameters

Name Type Description
WkshTemplName Code[10]
JnlBatchName Code[10]
ItemNo Code[20]

SetError

procedure SetError(TheError: Text[250]; TheTableID: Integer; TheTablePosition: Text[250])

Parameters

Name Type Description
TheError Text[250]
TheTableID Integer
TheTablePosition Text[250]

GetError

procedure GetError(var PlanningErrorLog: Record "Planning Error Log"): Boolean

Parameters

Name Type Description
PlanningErrorLog Table Microsoft.Inventory.Planning."Planning Error Log"

Returns

Type Description
Boolean

GetErrors

Gets all planning errors and inserts them into the provided record.

procedure GetErrors(var PlanningErrorLog: Record "Planning Error Log"): Boolean

Parameters

Name Type Description
PlanningErrorLog Table Microsoft.Inventory.Planning."Planning Error Log"

The planning error log record to populate with errors.

Returns

Type Description
Boolean

True if there are errors, otherwise false.

ShowError

procedure ShowError()

Events

OnShowError

[IntegrationEvent(False,False)]
local procedure OnShowError(RecRef: RecordRef; TableID: Integer)

Parameters

Name Type Description
RecRef RecordRef
TableID Integer

See also