Report 18090641 EOS Create Ship. Price Doc.
Report 18090641 EOS Create Ship. Price Doc.
Events
OnAssignCustomDocumentTypeNo
local procedure OnAssignCustomDocumentTypeNo(DocumentLine: Record "EOS DocumentShippingPrice"; var PurchaseLine: Record "Purchase Line"; var handled: Boolean)
Parameters / Return Value
DocumentLine
Record "EOS DocumentShippingPrice"
PurchaseLine
Record "Purchase Line"
handled
Boolean
OnAfterCasePurchInvCombinationMethod_NeedNewDoc
local procedure OnAfterCasePurchInvCombinationMethod_NeedNewDoc(DocumentLine: Record "EOS DocumentShippingPrice"; var NeedNewDoc: Boolean)
Raised at the end of the case Statement of the “Purch. Inv. Combination Method” field in the procedure “NeedNewDocument”. Use it to control the creation of a new purchase invoice according to a custom value of “Purch. Inv. Combination Method” field.
Parameters / Return Value
DocumentLine
Record "EOS DocumentShippingPrice"
Record “EOS DocumentShippingPrice”
NeedNewDoc
Boolean
If true, create a new Purchase Invoice
OnBeforeModifyPurchaseHeader_NewDoc
local procedure OnBeforeModifyPurchaseHeader_NewDoc(var PurchaseHeader: Record "Purchase Header"; DocumentLine: Record "EOS DocumentShippingPrice"; var IsHandled: Boolean)
Raised before modify Purchase Header in the creation of a new purchase invoice.
Parameters / Return Value
PurchaseHeader
Record "Purchase Header"
Record “Purchase Header”
DocumentLine
Record "EOS DocumentShippingPrice"
Record “EOS DocumentShippingPrice”
IsHandled
Boolean
If true, not modify Purchase Header
OnBeforeCurrReportSkipWithPurchInvoiceNo
local procedure OnBeforeCurrReportSkipWithPurchInvoiceNo(var DocumentShippingPrice: Record "EOS DocumentShippingPrice"; var IsHandledReportSkip: Boolean)
Raised before skip the Record Document Shipping Price if there is already a Purchase Invoice created.
Parameters / Return Value
DocumentShippingPrice
Record "EOS DocumentShippingPrice"
Current Record “EOS DocumentShippingPrice”
IsHandledReportSkip
Boolean
if true, doesn’t skip the current record
OnAfterCreatePurchInvoice
local procedure OnAfterCreatePurchInvoice(var DocumentShippingPrice: Record "EOS DocumentShippingPrice"; var PurchaseLine: Record "Purchase Line")
Raised after creation of the Purchase Invoice for the current record Document Shipping Price.
Parameters / Return Value
DocumentShippingPrice
Record "EOS DocumentShippingPrice"
Current record Document Shipping Price
PurchaseLine
Record "Purchase Line"
Purchase Line created
OnBeforeSetPurchLineFromShippingPricesSettlSetup
local procedure OnBeforeSetPurchLineFromShippingPricesSettlSetup(DocumentShippingPrice: Record "EOS DocumentShippingPrice"; var PurchaseLine: Record "Purchase Line"; ShippingSettlSetup: Record "EOS Ship. Prices Settl. Setup"; var IsHandled: Boolean)
Raised before set Purchase Line from Shipping Prices Settlement Setup. Use it to skip the assignments of “Type” and “No.” fields of the Purchase Line.
Parameters / Return Value
DocumentShippingPrice
Record "EOS DocumentShippingPrice"
Current Record Document Shipping Price
PurchaseLine
Record "Purchase Line"
Purchase Line to modify
ShippingSettlSetup
Record "EOS Ship. Prices Settl. Setup"
Record Shipping Prices Settl. Setu
IsHandled
Boolean
if true, skip the assignments
OnBeforeSetPurchLineFromShippingPricesSettlSetup_TransferShipment
local procedure OnBeforeSetPurchLineFromShippingPricesSettlSetup_TransferShipment(DocumentShippingPrice: Record "EOS DocumentShippingPrice"; var PurchaseLine: Record "Purchase Line"; ShippingSettlSetup: Record "EOS Ship. Prices Settl. Setup"; var IsHandled: Boolean)
Raised before set Purchase Line from Shipping Prices Settlement Setup in the case of Transfer Shipment. Use it to skip the assignments of “Type” and “No.” fields of the Purchase Line.
Parameters / Return Value
DocumentShippingPrice
Record "EOS DocumentShippingPrice"
Current Record Document Shipping Price
PurchaseLine
Record "Purchase Line"
Purchase Line to modify
ShippingSettlSetup
Record "EOS Ship. Prices Settl. Setup"
Record Shipping Prices Settl. Setu
IsHandled
Boolean
if true, skip the assignments
OnBeforeModifyPurchaseLine
local procedure OnBeforeModifyPurchaseLine(DocumentShippingPrice: Record "EOS DocumentShippingPrice"; var PurchaseLine: Record "Purchase Line")
Raised before modify the new Purchase Invoice Line.
Parameters / Return Value
DocumentShippingPrice
Record "EOS DocumentShippingPrice"
Current Record Document Shipping Price
PurchaseLine
Record "Purchase Line"
Purchase Invoice Line to modify
OnInsertItemChargeAssignmentPurch_TransferShipment
local procedure OnInsertItemChargeAssignmentPurch_TransferShipment(DocumentShippingPrice: Record "EOS DocumentShippingPrice"; var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)
Raised before insert the Item Charge Assignments (Purch.) for the Transfer Shipment.
Parameters / Return Value
DocumentShippingPrice
Record "EOS DocumentShippingPrice"
Current Record Document Shipping Price
PurchaseLine
Record "Purchase Line"
Purchase Invoice Line inserted
IsHandled
Boolean
if true, skip the creation of Item Charge Assignments.
OnBeforeAssignItemCharges
local procedure OnBeforeAssignItemCharges(DocumentShippingPrice: Record "EOS DocumentShippingPrice"; var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)
Raised before assign the Item Charges to the Purchase Invoice Line.
Parameters / Return Value
DocumentShippingPrice
Record "EOS DocumentShippingPrice"
Current Record Document Shipping Price
PurchaseLine
Record "Purchase Line"
Purchase Invoice Line inserted
IsHandled
Boolean
if true, skip the assignments
OnBeforeCreateItemChargeAssignment
local procedure OnBeforeCreateItemChargeAssignment(DocumentShippingPrice: Record "EOS DocumentShippingPrice"; var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)
Raised before create the Item Charge Assignments for the Purchase line.
Parameters / Return Value
DocumentShippingPrice
Record "EOS DocumentShippingPrice"
Current Record Document Shipping Price
PurchaseLine
Record "Purchase Line"
Purchase Invoice Line inserted
IsHandled
Boolean
if true, skip the assignments
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.