Skip to content

Event Reference Image title

FreshFocus is a highly extensible solution that enables developers to build upon the core features to satisfy specific customer or even local market requirements.

This is primarily managed using Events in the FreshFocus codebase.

This article lists the objects that FreshFocus has exposed via integration events.

Codeunits

UnderConstruction

The following Codeunits have integration events exposed. To subscribe to any event use the "AL Explorer" in vsCode. Shortcut keys: Ctrl+Shift+F12

Grading Management

Grading management controls the business logic required for grading produce including allocation of produce shares across grading lanes.

codeunit: 71506990 DLGFF Grading Mgt.

Event Short Description Release
OnCopyFromGradingProfile 1.0.0.1
OnCopyFromGradingProfileLineOnBeforeInsert 1.0.0.1
OnAfterCopyFromGradingProfile 1.0.0.1
OnInitGradingOrderLine 1.0.0.1
OnAfterInitGradingOrderLine 1.0.0.1
OnBeforeProcessTipLanes 1.0.0.1
OnProcessTipLanesOnBeforeInsertItemJournalLine 1.0.0.1
OnProcessTipLanesOnBeforePostItemJournalLine 1.0.0.1
OnBeforeProcessGradeOutLanes 1.0.0.1
OnProcessGradeOutLanesOnBeforeInsertItemJournalLine 1.0.0.1
OnProcessGradeOutLanesOnBeforePostItemJournalLine 1.0.0.1
OnBeforeProcessGradeOutLanesOutputForPackout 1.0.0.1
OnProcessGradeOutLanesOutputForPackoutOnBeforeInsertItemJournalLine 1.0.0.1
OnProcessGradeOutLanesOutputForPackoutOnBeforePostItemJournalLine 1.0.0.1
OnBeforeProcessPackoutConsumption 1.0.0.1
OnProcessPackoutConsmpOnBeforeInsertItemJournalLine 1.0.0.1
OnProcessPackoutConsmpOnBeforePostItemJournalLine 1.0.0.1

Produce Agreement Invoice Management

Produce Agreement Invoice Management controls the business logic required for produce agreement paybacks, including methods, processing of deductions, charges and costs, and purchase invoicing management.

codeunit: 71506712 DLGFF PA Inv. Mgt.

Event Short Description Release
OnBeforePerformManualRelease 1.0.0.1
OnAfterPerformManualRelease 1.0.0.1
OnBeforePerformManualReopen 1.0.0.1
OnAfterPerformManualReopen 1.0.0.1
OnBeforePerformManualCheckAndRelease 1.0.0.1
OnAfterPerformManualCheckAndRelease 1.0.0.1
OnBeforeReleasePAInvoiceDocument 1.0.0.1
OnAfterReleasePAInvoiceDocument 1.0.0.1
OnBeforeCheckPAInvLines 1.0.0.1
OnAfterCheckPAInvLines 1.0.0.1
OnBeforeReOpen 1.0.0.1
OnAfterReOpen 1.0.0.1

Produce Agreement Invoice Post

codeunit: 71506714 DLGFF PA Invoice Post

Event Short Description Release
OnBeforeInitRecord 1.0.0.1
OnCreatePurchaseHeaderOnBeforeInsert 1.0.0.1
OnBeforeRunWithCheck 1.0.0.1
OnAfterRunWithCheck 1.0.0.1
OnBeforeCreatePostPurchaseDoc 1.0.0.1
OnAfterCreatePostPurchaseDoc 1.0.0.1
OnBeforeCreatePurchaseHeader 1.0.0.1
OnAfterCreatePurchaseHeader 1.0.0.1
OnBeforeCreatePostedPAInvoice 1.0.0.1
OnAfterCreatePostedPAInvoice 1.0.0.1
OnBeforeInsertPostedGRLines 1.0.0.1
OnAfterInsertPostedGRLines 1.0.0.1
OnBeforeInsertPAInvoiceLedgerEntries 1.0.0.1
OnAfterInsertPAInvoiceLedgerEntries 1.0.0.1
OnBeforeCopyMerchantPAInvLinesToPurchLine 1.0.0.1
OnAfterCopyMerchantPAInvLinesToPurchLine 1.0.0.1
OnBeforeCreatePAIBalancingCreditMemo 1.0.0.1
OnBeforePAIBalancingCreditMemo 1.0.0.1
OnCreatePAIBalancingCreditMemoBeforeInsert 1.0.0.1
OnAfterCreatePAIBalancingCreditMemo 1.0.0.1
OnBeforeCreateAdvancePaymentLines 1.0.0.1
OnAfterCreateAdvancePaymentLines 1.0.0.1
OnBeforeCreateAPPurchaseHeader 1.0.0.1
OnBeforeInitPARecord 1.0.0.1
OnCreateAPPurchaseHeaderOnBeforeInsert 1.0.0.1
OnAfterCreatePAPurchaseHeader 1.0.0.1

Produce Agreement Management

codeunit: 71506705 DLGFF Produce Agreement Mgt.

Event Short Description Release
OnBeforeGetProducePostingRules 1.0.0.1
OnAfterGetProducePostingRules 1.0.0.1
OnBeforeGetCalcBasis 1.0.0.1
OnAfterGetCalcBasis 1.0.0.1
OnGetCalcBasis 1.0.0.1

Produce Journal Check Line

codeunit: 71506706 DLGFF Produce Jnl.-Check Line

Event Short Description Release
OnBeforeTestTrackingEntry 1.0.0.1
OnAfterTestTrackingEntry 1.0.0.1
OnBeforeTestPostingSetup 1.0.0.1
OnAfterTestPostingSetup 1.0.0.1

Produce Journal Post

codeunit: 71506707 "DLGFF Produce Jnl.-Post

Event Short Description Release
OnBeforeInsertFields_ProduceTrackEntry 1.0.0.1
OnAfterInsertFields_ProduceTrackEntry 1.0.0.1
OnBeforeCode 1.0.0.1
OnAfterCode 1.0.0.1
OnBeforeCheckLines 1.0.0.1
OnAfterCheckLines 1.0.0.1
OnBeforePostLines 1.0.0.1
OnAfterPostLines 1.0.0.1
OnPostLines 1.0.0.1
OnBeforePostProduceValueEntry 1.0.0.1
OnAfterPostProduceValueEntry 1.0.0.1

Produce Journal Management

codeunit: 71506711 DLGFF Produce Journal Mgt.

Event Short Description Release
OnBeforeOpenJournalPageFromBatch 1.0.0.1
OnBeforeRunTemplateJournalPage 1.0.0.1
OnBeforeOpenJnl 1.0.0.1
OnOpenJnlOnAfterCheckTemplateName 1.0.0.1
OnBeforeLookupName 1.0.0.1
OnAfterCheckName 1.0.0.1
OnAfterSetName 1.0.0.1
OnBeforeOpenJnlBatch 1.0.0.1
OnOpenJnlBatchOnBeforeCheckProduceJournalTemplateCount 1.0.0.1
OnAfterOpenJournalBatch 1.0.0.1

Produce Property Management

codeunit: 71506680 DLGFF Produce Property Mgt.

Event Short Description Release
OnAfterCheckItemPropertyRules 1.0.0.1
OnTestItemPropertyCriteria 1.0.0.1
OnBeforeTestItemPropertyCriteria 1.0.0.1
OnAfterTestItemPropertyCriteria 1.0.0.1
OnBeforeCheckItemPropertyRules 1.0.0.1
OnCheckItemPropertyRules 1.0.0.1
OnBeforeInsertLotInfoCard 1.0.0.1
OnAfterDLGFFSetInitTrackingSpecPropertyDefault 1.0.0.1
OnAfterUpdateLotInfoFromReclass 1.0.0.1
OnAfterSetItemJnlProdOrderLineProperties 1.0.0.1
OnAfterSetItemJnlComponentLineProperties 1.0.0.1
OnBeforeSetItemJnlProperties 1.0.0.1
OnAfterModifyLotInformation 1.0.0.1
OnAfterTransferItemPropertiesToRecord 1.0.0.1

Produce Tracing Engine

codeunit: 71506709 DLGFF Produce Tracing Engine

Event Short Description Release
OnBeforeInsertTempDLGFFProduceTracingBuffer 1.0.0.1

Produce Tracking Management

codeunit: 71506708 DLGFF Produce Tracking Mgt.

Event Short Description Release
OnBeforeInsertTempLineNumberBuffer 1.0.0.1
OnBeforeInsertProduceEntries 1.0.0.1
OnPostProduceJnlLine 1.0.0.1

Produce Value Management

codeunit: 71506713 DLGFF Produce Value Mgt.

Event Short Description Release
OnBeforeInitProduceTrackingEntries 1.0.0.1
OnAfterTestDuplicateChargeCodes 1.0.0.1
OnBeforeTestDuplicateChargeCodes 1.0.0.1
OnBeforeProcessRelatedProduceCharges 1.0.0.1
OnAfterProcessRelatedProduceCharges 1.0.0.1

Pages

UnderConstruction

The following FreshFocus pages have integration events exposed. To subscribe to any event use the "AL Explorer" in vsCode. Shortcut keys: Ctrl+Shift+F12

Produce Tracking Journal

Produce tracking journals are used to post tracking entries to lots.

page: 71506729 DLGFF Produce Track. Journal

Event Short Description Release
OnBeforeOpenJournalFromBatch 1.0.0.1
OnBeforeSelectTemplate 1.0.0.1
OnOpenPageOnBeforeGetLastViewedJournalBatchName 1.0.0.1
OnOpenPageOnAfterAssignCurrentJnlBatchName 1.0.0.1

Produce Value Journal

Produce value journals are used to post charges to lots using trade accounts.

page: 71506707 DLGFF Produce Value Journal

Event Short Description Release
OnBeforeOpenJournalFromBatch 1.0.0.1
OnBeforeSelectTemplate 1.0.0.1
OnOpenPageOnBeforeGetLastViewedJournalBatchName 1.0.0.1
OnOpenPageOnAfterAssignCurrentJnlBatchName 1.0.0.1

Tables

UnderConstruction

The following FreshFocus pages have integration events exposed. To subscribe to any event use the "AL Explorer" in vsCode. Shortcut keys: Ctrl+Shift+F12

Lot Information Register

This table is a history of changes made to lot information properties via the reclassification journal.

table: 71506692 DLGFF Lot No. Info. Register

Event Short Description Release
OnBeforeInsertOldLotNoInfoRegister 1.0.0.1
OnBeforeInsertNewLotNoInfoRegister 1.0.0.1

Produce Agreement Invoice Header

The Produce Agreement Invoice Header is the organising focus for the invoice calculations involving produce agreements.

table: 71506720 DLGFF PA Inv. Header

Event Short Description Release
OnBeforeInitInsert 1.0.0.1
OnInitInsertOnBeforeInitRecord 1.0.0.1
OnBeforeTestStatusOpen 1.0.0.1
OnAfterTestStatusOpen 1.0.0.1

Produce Agreement Invoice Line Detail

The Produce agreement invoice lines show the detailed results of the produce agreement invoice and produce tracking. It acts as the audit trail for what will be posted when the return is finalised and posted.

table: 71506722 DLGFF PA Inv. Line Det.

Event Short Description Release
OnBeforeTestStatusOpen 1.0.0.1
OnAfterTestStatusOpen 1.0.0.1

Produce Agreement Invoice Price

Produce agreement prices defined the return prices to be used for assembly, grade-out and pack-out production.

table: 71507015 DLGFF PA Inv. Price

Event Short Description Release
OnAfterGetFreshFocusSet 1.0.0.1
OnBeforeInitInsert 1.0.0.1
OnInitInsertOnBeforeInitRecord 1.0.0.1
OnBeforeGetNoSeriesCode 1.0.0.1

Produce Agreement Header

A Produce Agreement Header is the organising focus for one or more produce agreements.

table: 71506716 DLGFF Produce Agreement Header

Event Short Description Release
OnBeforeInitInsert 1.0.0.1
OnInitInsertOnBeforeInitRecord 1.0.0.1

Produce Posting Rule

Produce posting rules provides for a flexible configuration and assignment of costs and recharges in connection with produce agreements.

table: 71506714 DLGFF Produce Posting Rule

Event Short Description Release
OnBeforeTransferDefaultTreatments 1.0.0.1
OnAfterTransferDefaultTreatments 1.0.0.1
OnBeforeCheckParentRules 1.0.0.1
OnAfterCheckParentRules 1.0.0.1

Produce Journal Batch

A Produce Journal Batch is the organising focus for Produce Journal lines. Each batch is defined by a type inherited from the Produce Journal Template.

table: 71506706 DLGFF Produce Journal Batch

Event Short Description Release
OnBeforeSetupNewBatch 1.0.0.1
OnAfterSetupNewBatch 1.0.0.1

Produce Journal Line

Produce Journal lines are used to assign tracking, costs and charges in connection with produce agreements and lot numbers.

table: 71506707 DLGFF Produce Journal Line

Event Short Description Release
OnBeforeSetUpNewLine 1.0.0.1
OnSetUpNewLineOnBeforeIncrDocNo 1.0.0.1
OnSetUpNewLineOnBeforeSetDocumentNo 1.0.0.1
OnAfterSetUpNewLine 1.0.0.1

Produce Journal Template

A Produce journal template is represented by a dedicated page with particular functions and the fields that are required to support those functions, such as the produce tracking, and produce value journals.

table: 71506715 DLGFF Produce Journal Template

Event Short Description Release
OnAfterValidateType 1.0.0.1
OnBeforeNoSeriesValidate 1.0.0.1

Table Extensions

UnderConstruction

FreshFocus exposes the following integration events to tables that have been extended. Note these subscribers will all be prefixed with DLGFF. To subscribe to any event use the "AL Explorer" in vsCode. Shortcut keys: Ctrl+Shift+F12

Item Journal Line

Adds support for filtering lot selection by produce item properties, and reclassification of properties.

tableextension: 71506684 DLGFF Item Journal Line extends Item Journal Line

Event Short Description Release
DLGFFOnAfterCopyPropertyFromSpec 1.0.0.1
DLGFFOnAfterCopyNewPropertyFromNewSpec 1.0.0.1

Reservation Entry

Adds support for produce properties for active and posted item tracking.

tableextension: 71506682 DLGFF Reservation Entry extends Reservation Entry

Event Short Description Release
DLGFFOnAfterHasSameNewProperty 1.0.0.1
See Also

For more information about FreshFocus refer to these links

Frequently Asked Questions

Release Notes

Planned Features