Table "Planning Error Log"
ID 5430
Namespace: Microsoft.Inventory.Planning
Properties
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
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
Returns
GetErrors
Gets all planning errors and inserts them into the provided record.
procedure GetErrors(var PlanningErrorLog: Record "Planning Error Log"): Boolean
Parameters
Returns
| Type |
Description |
|
Boolean |
True if there are errors, otherwise false.
|
ShowError
Events
OnShowError
[IntegrationEvent(False,False)]
local procedure OnShowError(RecRef: RecordRef; TableID: Integer)
Parameters
| Name |
Type |
Description |
|
RecRef
|
RecordRef |
|
|
TableID
|
Integer |
|
See also