KVSFCYPostInvtCostToGLTest#
Events#
OnAfterGetAccountName(Record Invt. Post to G/L Test Buffer, Record Inventory Posting Setup, Record General Posting Setup, Text[80]) :#
Summary: Event after getting account name for inventory posting.
[IntegrationEvent(false, false)]
local procedure OnAfterGetAccountName(var InvtPostToGLTestBuf: Record "Invt. Post to G/L Test Buffer"; InvtPostingSetup: Record "Inventory Posting Setup"; GenPostingSetup: Record "General Posting Setup"; var AccountName: Text[80]):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYPostInvtCostToGLTest", 'OnAfterGetAccountName', '', false, false)]
local procedure DoSomethingOnAfterGetAccountName(var InvtPostToGLTestBuf: Record "Invt. Post to G/L Test Buffer"; InvtPostingSetup: Record "Inventory Posting Setup"; GenPostingSetup: Record "General Posting Setup"; var AccountName: Text[80])
begin
end;
Parameters:
InvtPostToGLTestBuf: Inventory post to G/L test buffer record.InvtPostingSetup: Inventory posting setup record.GenPostingSetup: General posting setup record.AccountName: Account name (output).
OnBeforePreReport(Record Post Value Entry to G/L, Record Value Entry) :#
Summary: Event before PreReport for posting inventory cost to G/L test.
[IntegrationEvent(false, false)]
local procedure OnBeforePreReport(var PostValueEntryToGL: Record "Post Value Entry to G/L"; var ItemValueEntry: Record "Value Entry"):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYPostInvtCostToGLTest", 'OnBeforePreReport', '', false, false)]
local procedure DoSomethingOnBeforePreReport(var PostValueEntryToGL: Record "Post Value Entry to G/L"; var ItemValueEntry: Record "Value Entry")
begin
end;
Parameters:
PostValueEntryToGL: Post value entry to G/L record.ItemValueEntry: Item value entry record.
OnGetAccountNameInventoryAccountTypeCase(Record Invt. Post to G/L Test Buffer, Text[80], Boolean, Record Inventory Posting Setup, Record General Posting Setup) :#
Summary: Event for custom account name logic based on inventory account type.
[IntegrationEvent(false, false)]
local procedure OnGetAccountNameInventoryAccountTypeCase(InvtPostToGLTestBuf: Record "Invt. Post to G/L Test Buffer"; var AccountName: Text[80]; var IsHandled: Boolean; InvtPostingSetup: Record "Inventory Posting Setup"; GenPostingSetup: Record "General Posting Setup"):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYPostInvtCostToGLTest", 'OnGetAccountNameInventoryAccountTypeCase', '', false, false)]
local procedure DoSomethingOnGetAccountNameInventoryAccountTypeCase(InvtPostToGLTestBuf: Record "Invt. Post to G/L Test Buffer"; var AccountName: Text[80]; var IsHandled: Boolean; InvtPostingSetup: Record "Inventory Posting Setup"; GenPostingSetup: Record "General Posting Setup")
begin
end;
Parameters:
InvtPostToGLTestBuf: Inventory post to G/L test buffer record.AccountName: Account name (output).IsHandled: Set to true if handled.InvtPostingSetup: Inventory posting setup record.GenPostingSetup: General posting setup record.
OnBeforeCheckPostingSetup(Record Invt. Post to G/L Test Buffer, Boolean, Boolean) :#
Summary: Event before checking posting setup for inventory posting.
[IntegrationEvent(true, false)]
local procedure OnBeforeCheckPostingSetup(InvtPostToGLTestBuf: Record "Invt. Post to G/L Test Buffer"; var Result: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYPostInvtCostToGLTest", 'OnBeforeCheckPostingSetup', '', false, false)]
local procedure DoSomethingOnBeforeCheckPostingSetup(InvtPostToGLTestBuf: Record "Invt. Post to G/L Test Buffer"; var Result: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
InvtPostToGLTestBuf: Inventory post to G/L test buffer record.Result: Result of check (output).IsHandled: Set to true if handled.