M131 Lade open zonder actie

M131 Lade open zonder actie

Drawer 1 wordt geopend zonder dat er ook maar enig geld wordt in of uit gehaald.

C#
        
        //Create the correct action according to the example
        var newDrawerOpenAction = new PosDrawerOpenAction(
            FpsFinancesModels.Company,
            _myFpsPos,
            FpsFinancesModels.TerminalTer1Bar,
            FpsFinancesModels.EmployeeJohn)
        {
            SalesActionNumber = 1007,
            BookingDate = DateTime.Now,
            BookingPeriodId = Guid.Parse("dffcd829-a0e5-41ca-a0ae-9eb887f95637"),
            CashDrawer = FpsFinancesModels.CashDrawer1
        };

        //Sign the action
        var result = await checkboxService.SignPosAction(newDrawerOpenAction, false, null, cancellationToken);

        //Handle the result accordingly        
        Console.WriteLine($"Result with Signature {result.SignResult?.DigitalSignature}");