Páginas filhas
  • F560DEL - Set Permission For Petty Cash Deletion/Cancellation

01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Microsiga Protheus Line

Industry:

Backoffice

Module:

Financials (SIGAFIN)

Function:

Cash Transaction (FINA560)

Country:

Brazil

02. OVERVIEW

Entry point that defines the permission to delete/cancel petty cash transactions. For example, you can set the permission to cancel an advance, so its value reverts (or not) to the petty cash balance without rendering of accounts.

Parameters:

Parameter

Description

Content

MV_CXSLBCO

Allow replenishment of petty cash balance even with insufficient funds in the Bank. 
.T. = Allow replenishment
.F. = Do not allow it

.T.

MV_PCTCAIX

Allow deletion of transactions of rendering of accounts of petty cash advances.
1 = Allow
2 = Do Not Allow (default)           

1

MV_RPCXMN

Allow manual replenishment of petty cash.
1 - Allow
2 - Do Not Allow                                   

1

MV_RPVLMA

It allows replenishment above the petty cash value.
.T. = Allow
.F. = Do Not Allow

.T.

03. PARAMETERS

None.

04. RETURN


Type

Description

Logical

Define the permission to delete/cancel petty cash transactions.

.T. = Allow the value to return to the petty cash balance

.F. = Advance value does not return to the petty cash balance on cancellation

05. EXAMPLE


Execution Example
#include 'Protheus.ch'

     

User Function F560DEL()

      lRet := MsgYesNo("Allow exclusion?","F560DEL")

Return lRet