Codeunit 5130140 M365 Job Disposition Mgt.
Codeunit 5130140 M365 Job Disposition Mgt.
Methods
CalcOutstandingNegQty
procedure CalcOutstandingNegQty(jobStructLine: Record "M365 Job Structure Line"): Decimal
Parameters / Return Value
jobStructLine
Record "M365 Job Structure Line"
Returns
Decimal
CalcOutstandingPosQty
procedure CalcOutstandingPosQty(jobStructLine: Record "M365 Job Structure Line"): Decimal
Parameters / Return Value
jobStructLine
Record "M365 Job Structure Line"
Returns
Decimal
CheckFACompJobStruct
procedure CheckFACompJobStruct(jobstructLine: Record "M365 Job Structure Line")
Parameters / Return Value
- jobstructLine
Record "M365 Job Structure Line"
CheckFALineJobStruct
procedure CheckFALineJobStruct(jobstructLine: Record "M365 Job Structure Line")
Parameters / Return Value
- jobstructLine
Record "M365 Job Structure Line"
CheckFARtngJobStruct
procedure CheckFARtngJobStruct(jobstructLine: Record "M365 Job Structure Line")
Parameters / Return Value
- jobstructLine
Record "M365 Job Structure Line"
CheckPurchOrderJobStruct
procedure CheckPurchOrderJobStruct(jobstructLine: Record "M365 Job Structure Line")
Parameters / Return Value
- jobstructLine
Record "M365 Job Structure Line"
GetInvQtyComp
procedure GetInvQtyComp(jobDispoLineTemp: Record "M365 Job Structure Disposition" temporary) invQtyComplete: Decimal
Parameters / Return Value
jobDispoLineTemp
Record "M365 Job Structure Disposition"
Returns
Decimal
GetInvQtyDispoEmpty
procedure GetInvQtyDispoEmpty(jobDispoLineTemp: Record "M365 Job Structure Disposition" temporary) invQtyDispoEmpty: Decimal
Parameters / Return Value
jobDispoLineTemp
Record "M365 Job Structure Disposition"
Returns
Decimal
GetItemInvQty
procedure GetItemInvQty(itemNo: Code[20]; variantCode: Code[10]; locationCode: Code[10]; dispositioncode: Code[20]; jobStructEntryNo: Integer): Decimal
Parameters / Return Value
itemNo
Code[20]
variantCode
Code[10]
locationCode
Code[10]
dispositioncode
Code[20]
jobStructEntryNo
Integer
Returns
Decimal
GetJobStructDemandDispo
procedure GetJobStructDemandDispo(forNumber: Code[20]; variantCodeFilter: Text; locationCodeFilter: Text; dispositionCodeFilter: Text; periodStart: Date; periodEnd: Date): Decimal
Parameters / Return Value
forNumber
Code[20]
variantCodeFilter
Text
locationCodeFilter
Text
dispositionCodeFilter
Text
periodStart
Date
periodEnd
Date
Returns
Decimal
GetJobStructLineQty
procedure GetJobStructLineQty(jobDispoLineTemp: Record "M365 Job Structure Disposition" temporary) jobStructLineQty: Decimal
Parameters / Return Value
jobDispoLineTemp
Record "M365 Job Structure Disposition"
Returns
Decimal
GetMissingParts
procedure GetMissingParts(jobStructDispTemp: Record "M365 Job Structure Disposition" temporary) qtyInMissingParts: Decimal
Parameters / Return Value
jobStructDispTemp
Record "M365 Job Structure Disposition"
Returns
Decimal
CalcFreeQtyPurchOrder
procedure CalcFreeQtyPurchOrder(tempJobDispoLine: Record "M365 Job Structure Disposition" temporary) orderQty: Decimal
Calculates the free quantity of all locations that are “normal” locations
Parameters / Return Value
tempJobDispoLine
Record "M365 Job Structure Disposition"
Returns
Decimal
orderQty
GetOrderQty
procedure GetOrderQty(jobDispoLineTemp: Record "M365 Job Structure Disposition" temporary) orderQty: Decimal
Parameters / Return Value
jobDispoLineTemp
Record "M365 Job Structure Disposition"
Returns
Decimal
GetOrderQtyJobStruct
procedure GetOrderQtyJobStruct(jobstructLine: Record "M365 Job Structure Line") orderQty: Decimal
Parameters / Return Value
jobstructLine
Record "M365 Job Structure Line"
Returns
Decimal
GetProdCompQty
procedure GetProdCompQty(jobDispoLineTemp: Record "M365 Job Structure Disposition" temporary) prodCompQty: Decimal
Parameters / Return Value
jobDispoLineTemp
Record "M365 Job Structure Disposition"
Returns
Decimal
GetProdLineQty
procedure GetProdLineQty(jobDispoLineTemp: Record "M365 Job Structure Disposition" temporary) prodLineQty: Decimal
Parameters / Return Value
jobDispoLineTemp
Record "M365 Job Structure Disposition"
Returns
Decimal
GetProjAvailableBalance
procedure GetProjAvailableBalance(jobDispoLineTemp: Record "M365 Job Structure Disposition" temporary) invBalance: Decimal
Parameters / Return Value
jobDispoLineTemp
Record "M365 Job Structure Disposition"
Returns
Decimal
GetQuoteQty
procedure GetQuoteQty(jobDispoLineTemp: Record "M365 Job Structure Disposition" temporary) quoteQty: Decimal
Parameters / Return Value
jobDispoLineTemp
Record "M365 Job Structure Disposition"
Returns
Decimal
GetQuoteQtyJobStruct
procedure GetQuoteQtyJobStruct(jobstructLine: Record "M365 Job Structure Line") quoteQty: Decimal
Parameters / Return Value
jobstructLine
Record "M365 Job Structure Line"
Returns
Decimal
GetReqLineQty
procedure GetReqLineQty(jobDispoLineTemp: Record "M365 Job Structure Disposition" temporary) reqLineQty: Decimal
Parameters / Return Value
jobDispoLineTemp
Record "M365 Job Structure Disposition"
Returns
Decimal
GetReqLineQtyJobStruct
procedure GetReqLineQtyJobStruct(jobstructLine: Record "M365 Job Structure Line") reqLineQty: Decimal
Parameters / Return Value
jobstructLine
Record "M365 Job Structure Line"
Returns
Decimal
GetResInvQty
procedure GetResInvQty(jobDispoLineTemp: Record "M365 Job Structure Disposition" temporary) resInvQty: Decimal
Parameters / Return Value
jobDispoLineTemp
Record "M365 Job Structure Disposition"
Returns
Decimal
SetFilterJobStruct
procedure SetFilterJobStruct(var jobStructLine: Record "M365 Job Structure Line"; jobStructDisp: Record "M365 Job Structure Disposition" temporary)
Parameters / Return Value
jobStructLine
Record "M365 Job Structure Line"
jobStructDisp
Record "M365 Job Structure Disposition"
ShowDispoLookup
procedure ShowDispoLookup(jobStructDispoTemp: Record "M365 Job Structure Disposition" temporary; forDocumentType: Integer)
Parameters / Return Value
jobStructDispoTemp
Record "M365 Job Structure Disposition"
forDocumentType
Integer
InitRec
procedure InitRec(var jobStructDisp: Record "M365 Job Structure Disposition" temporary; jobStructLine: Record "M365 Job Structure Line"; var entryNo: Integer)
Parameters / Return Value
jobStructDisp
Record "M365 Job Structure Disposition"
jobStructLine
Record "M365 Job Structure Line"
entryNo
Integer
FillTempTable
procedure FillTempTable(var jobDispositionTemp: Record "M365 Job Structure Disposition" temporary; onlyMissingParts: Boolean; statusFilter: Text; lfdNrJobStructLine: Integer)
Parameters / Return Value
jobDispositionTemp
Record "M365 Job Structure Disposition"
onlyMissingParts
Boolean
statusFilter
Text
lfdNrJobStructLine
Integer
FillTempTableGroup
procedure FillTempTableGroup(var jobDispositionTemp: Record "M365 Job Structure Disposition" temporary; onlyMissingParts: Boolean; attachToEntry: Integer)
Parameters / Return Value
jobDispositionTemp
Record "M365 Job Structure Disposition"
onlyMissingParts
Boolean
attachToEntry
Integer
CalcQtyNew
procedure CalcQtyNew(var jobDispoTemp: Record "M365 Job Structure Disposition" temporary)
Parameters / Return Value
- jobDispoTemp
Record "M365 Job Structure Disposition"
GetNextReceiptDate
procedure GetNextReceiptDate(jobDispTemp: Record "M365 Job Structure Disposition" temporary): Date
Parameters / Return Value
jobDispTemp
Record "M365 Job Structure Disposition"
Returns
Date
Events
OnBeforeJobDispositionMgtCalcQtyNew
local procedure OnBeforeJobDispositionMgtCalcQtyNew(var jobDispoTemp: Record "M365 Job Structure Disposition" temporary; var IsHandled: Boolean)
Parameters / Return Value
jobDispoTemp
Record "M365 Job Structure Disposition"
IsHandled
Boolean
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.