In  IHBox\IHBoxWebsite\app\custom-configs\ add LogBook as database

define([
],
function () {  
    return {
        config: function(app_config){
            return {
                DatabaseNames: {
                    RFactor: "[R-FactorSystem]",
                    IHDelays: "[R-FactorSystem]",
                    LogBook: "[LogBook]",
                },
                downloadsUrl: location.origin + "/Downloads/",
                exportExcelUrl: location.origin + "/Export/ExportWcfService.svc/exportToExcel",
                routerDefaultURL: "!/trend-display",
                websiteRoot: app_config.root.substring(1, app_config.root.length) + "/IHBoxWebsite/", 
            }
        }
    };
});

//17-05-2019
ALTER PROCEDURE [LB].[GetDefaultLogEntry]
@Datetime datetime = NULL
AS
BEGIN
	
	-----------------------
	-- Execution 
	-----------------------
	select 
		ProductionDate = gsd.ProductionDate
		,CrewId = gsd.CrewId
		,ShiftId = gsd.ShiftId
		,LogEntryStatusID = 1 
 	from LB.GetShiftData(@Datetime) as gsd

	-----------------------
	-- Finish procedure
	-----------------------

	RETURN 0
END