Codeunit "Whse. Management"
ID 5775
Namespace: Microsoft.Warehouse.Request
Methods
GetWhseActivSourceDocument
procedure GetWhseActivSourceDocument(SourceType: Integer, SourceSubtype: Integer): Enum "Warehouse Activity Source Document"
Parameters
Name
Type
Description
SourceType
Integer
SourceSubtype
Integer
Returns
GetWhseJnlSourceDocument
procedure GetWhseJnlSourceDocument(SourceType: Integer, SourceSubtype: Integer): Enum "Warehouse Journal Source Document"
Parameters
Name
Type
Description
SourceType
Integer
SourceSubtype
Integer
Returns
GetWhseRqstSourceDocument
procedure GetWhseRqstSourceDocument(SourceType: Integer, SourceSubtype: Integer): Enum "Warehouse Request Source Document"
Parameters
Name
Type
Description
SourceType
Integer
SourceSubtype
Integer
Returns
GetSourceDocumentType
procedure GetSourceDocumentType(SourceType: Integer, SourceSubtype: Integer): Enum "Warehouse Journal Source Document"
Parameters
Name
Type
Description
SourceType
Integer
SourceSubtype
Integer
Returns
GetSourceDocument
procedure GetSourceDocument(SourceType: Integer, SourceSubtype: Integer): Integer
Parameters
Name
Type
Description
SourceType
Integer
SourceSubtype
Integer
Returns
GetJournalSourceDocument
procedure GetJournalSourceDocument(SourceType: Integer, SourceSubtype: Integer): Enum "Warehouse Journal Source Document"
Parameters
Name
Type
Description
SourceType
Integer
SourceSubtype
Integer
Returns
GetSourceType
procedure GetSourceType(WhseWkshLine: Record "Whse. Worksheet Line"): Integer
Parameters
Returns
GetOutboundDocLineQtyOtsdg
procedure GetOutboundDocLineQtyOtsdg(SourceType: Integer, SourceSubType: Integer, SourceNo: Code[20], SourceLineNo: Integer, SourceSubLineNo: Integer, var QtyOutstanding: Decimal, var QtyBaseOutstanding: Decimal)
Parameters
Name
Type
Description
SourceType
Integer
SourceSubType
Integer
SourceNo
Code[20]
SourceLineNo
Integer
SourceSubLineNo
Integer
QtyOutstanding
Decimal
QtyBaseOutstanding
Decimal
SetSourceFilterForWhseRcptLine
procedure SetSourceFilterForWhseRcptLine(var WarehouseReceiptLine: Record "Warehouse Receipt Line", SourceType: Integer, SourceSubType: Option, SourceNo: Code[20], SourceLineNo: Integer, SetKey: Boolean)
Parameters
SetSourceFilterForWhseActivityLine
procedure SetSourceFilterForWhseActivityLine(var WarehouseActivityLine: Record "Warehouse Activity Line", SourceType: Integer, SourceSubType: Option, SourceNo: Code[20], SourceLineNo: Integer, SetKey: Boolean)
Parameters
SetSourceFilterForWhseShptLine
procedure SetSourceFilterForWhseShptLine(var WarehouseShipmentLine: Record "Warehouse Shipment Line", SourceType: Integer, SourceSubType: Option, SourceNo: Code[20], SourceLineNo: Integer, SetKey: Boolean)
Parameters
SetSourceFilterForPostedWhseRcptLine
procedure SetSourceFilterForPostedWhseRcptLine(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line", SourceType: Integer, SourceSubType: Option, SourceNo: Code[20], SourceLineNo: Integer, SetKey: Boolean)
Parameters
SetSourceFilterForPostedWhseShptLine
procedure SetSourceFilterForPostedWhseShptLine(var PostedWhseShipmentLine: Record "Posted Whse. Shipment Line", SourceType: Integer, SourceSubType: Option, SourceNo: Code[20], SourceLineNo: Integer, SetKey: Boolean)
Parameters
GetSourceDocumentDoesNotExistErr
procedure GetSourceDocumentDoesNotExistErr(): Text
Returns
Events
OnAfterGetSrcDocLineQtyOutstanding
[IntegrationEvent(False,False)]
local procedure OnAfterGetSrcDocLineQtyOutstanding(SourceType: Integer, SourceSubType: Integer, SourceNo: Code[20], SourceLineNo: Integer, SourceSubLineNo: Integer, var QtyOutstanding: Decimal, var QtyBaseOutstanding: Decimal)
Parameters
Name
Type
Description
SourceType
Integer
SourceSubType
Integer
SourceNo
Code[20]
SourceLineNo
Integer
SourceSubLineNo
Integer
QtyOutstanding
Decimal
QtyBaseOutstanding
Decimal
OnAfterGetSourceDocumentType
[IntegrationEvent(False,False)]
local procedure OnAfterGetSourceDocumentType(SourceType: Integer, SourceSubtype: Integer, var SourceDocument: Enum "Warehouse Journal Source Document", var IsHandled: Boolean)
Parameters
OnBeforeGetSourceDocumentType
[IntegrationEvent(False,False)]
local procedure OnBeforeGetSourceDocumentType(SourceType: Integer, SourceSubtype: Integer, var SourceDocumentType: Enum "Warehouse Journal Source Document", var IsHandled: Boolean)
Parameters
OnBeforeGetSourceType
[IntegrationEvent(False,False)]
local procedure OnBeforeGetSourceType(WhseWorksheetLine: Record "Whse. Worksheet Line", var SourceType: Integer, var IsHandled: Boolean)
Parameters
OnAfterGetJournalSourceDocument
[IntegrationEvent(False,False)]
local procedure OnAfterGetJournalSourceDocument(SourceType: Integer, SourceSubtype: Integer, var SourceDocument: Enum "Warehouse Journal Source Document", var IsHandled: Boolean)
Parameters
OnAfterSetSourceFilterForWhseRcptLine
[IntegrationEvent(False,False)]
local procedure OnAfterSetSourceFilterForWhseRcptLine(var WarehouseReceiptLine: Record "Warehouse Receipt Line", SourceType: Integer, SourceSubType: Option, SourceNo: Code[20], SourceLineNo: Integer, SetKey: Boolean)
Parameters
OnAfterSetSourceFilterForWhseShptLine
[IntegrationEvent(False,False)]
local procedure OnAfterSetSourceFilterForWhseShptLine(var WarehouseShipmentLine: Record "Warehouse Shipment Line", SourceType: Integer, SourceSubType: Option, SourceNo: Code[20], SourceLineNo: Integer, SetKey: Boolean)
Parameters
OnAfterSetSourceFilterForPostedWhseRcptLine
[IntegrationEvent(False,False)]
local procedure OnAfterSetSourceFilterForPostedWhseRcptLine(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line", SourceType: Integer, SourceSubType: Option, SourceNo: Code[20], SourceLineNo: Integer, SetKey: Boolean)
Parameters
OnAfterSetSourceFilterForPostedWhseShptLine
[IntegrationEvent(False,False)]
local procedure OnAfterSetSourceFilterForPostedWhseShptLine(var PostedWhseShipmentLine: Record "Posted Whse. Shipment Line", SourceType: Integer, SourceSubType: Option, SourceNo: Code[20], SourceLineNo: Integer, SetKey: Boolean)
Parameters
OnBeforeGetJournalSourceDocument
[IntegrationEvent(False,False)]
local procedure OnBeforeGetJournalSourceDocument(SourceType: Integer, SourceSubtype: Integer, var SourceDocument: Enum "Warehouse Journal Source Document", var IsHandled: Boolean)
Parameters
OnAfterGetWhseRqstSourceDocument
[IntegrationEvent(False,False)]
local procedure OnAfterGetWhseRqstSourceDocument(WhseJournalSourceDocument: Enum "Warehouse Journal Source Document", var SourceDocument: Enum "Warehouse Request Source Document")
Parameters
See also