*--------------------------------------------------------------------------------------------------------------------------------------------------------
* (EN) AUTOGENERATED - ATTENTION!! - NOT INTENDED FOR EXECUTION!! USE ONLY FOR MERGING CHANGES AND STORING WITH SCM TOOLS!!
*--------------------------------------------------------------------------------------------------------------------------------------------------------
*< FOXBIN2PRG: Version="1.21" SourceFile="config.mnx" CPID="1252" /> (Solo para binarios VFP 9 / Only for VFP 9 binaries)
*
*<MenuType>4</MenuType>
*<MenuLocation>REPLACE</MenuLocation>

*<MenuCode>
DEFINE POPUP Shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
DEFINE BAR 1 OF Shortcut PROMPT "\<Gestiuni"
ON BAR 1 OF Shortcut ACTIVATE POPUP Gestiuni

	*----------------------------------
	DEFINE POPUP Gestiuni SHORTCUT RELATIVE
	DEFINE BAR 1 OF Gestiuni PROMPT "G\<rupe de gestiuni"
	ON SELECTION BAR 1 OF Gestiuni DO BAR_1_OF_Gestiuni_FB2P

	DEFINE BAR 2 OF Gestiuni PROMPT "Generare \<Gestiuni"
	ON SELECTION BAR 2 OF Gestiuni DO BAR_2_OF_Gestiuni_FB2P

	DEFINE BAR 3 OF Gestiuni PROMPT "\<Drepturi de acces pe gestiuni"
	ON SELECTION BAR 3 OF Gestiuni DO BAR_3_OF_Gestiuni_FB2P

	DEFINE BAR 4 OF Gestiuni PROMPT "\<Tipuri de gestiuni"
	ON SELECTION BAR 4 OF Gestiuni DO BAR_4_OF_Gestiuni_FB2P

DEFINE BAR 2 OF Shortcut PROMPT "\-"
ON BAR 2 OF Shortcut ACTIVATE POPUP _10g12e0yr

	*----------------------------------
	DEFINE POPUP _10g12e0yr SHORTCUT RELATIVE
DEFINE BAR 3 OF Shortcut PROMPT "\<Catalog de materiale si marfuri"
ON SELECTION BAR 3 OF Shortcut DO BAR_3_OF_Shortcut_FB2P

DEFINE BAR 4 OF Shortcut PROMPT "G\<rupe de articole"
ON SELECTION BAR 4 OF Shortcut DO BAR_4_OF_Shortcut_FB2P

DEFINE BAR 5 OF Shortcut PROMPT "Generatoare"
ON BAR 5 OF Shortcut ACTIVATE POPUP Generatoar

	*----------------------------------
	DEFINE POPUP Generatoar SHORTCUT RELATIVE
	DEFINE BAR 1 OF Generatoar PROMPT "Coduri materiale"
	ON SELECTION BAR 1 OF Generatoar DO BAR_1_OF_Generatoar_FB2P

	DEFINE BAR 2 OF Generatoar PROMPT "Coduri de bare"
	ON SELECTION BAR 2 OF Generatoar DO BAR_2_OF_Generatoar_FB2P

DEFINE BAR 6 OF Shortcut PROMPT "\-"
ON BAR 6 OF Shortcut ACTIVATE POPUP _2720kcsj4

	*----------------------------------
	DEFINE POPUP _2720kcsj4 SHORTCUT RELATIVE
DEFINE BAR 7 OF Shortcut PROMPT "Curs \<valutar"
ON SELECTION BAR 7 OF Shortcut DO BAR_7_OF_Shortcut_FB2P

DEFINE BAR 8 OF Shortcut PROMPT "\<Serii"
ON SELECTION BAR 8 OF Shortcut DO BAR_8_OF_Shortcut_FB2P

DEFINE BAR 9 OF Shortcut PROMPT "\-"
ON BAR 9 OF Shortcut ACTIVATE POPUP _1ts0yv3ro

	*----------------------------------
	DEFINE POPUP _1ts0yv3ro SHORTCUT RELATIVE
DEFINE BAR 10 OF Shortcut PROMPT "Configurare \<analitice"
ON BAR 10 OF Shortcut ACTIVATE POPUP Configurar

	*----------------------------------
	DEFINE POPUP Configurar SHORTCUT RELATIVE
	DEFINE BAR 1 OF Configurar PROMPT "Configurare \<analitice pe gestiuni, articole, sectii"
	ON SELECTION BAR 1 OF Configurar DO BAR_1_OF_Configurar_FB2P

	DEFINE BAR 2 OF Configurar PROMPT "Configurare analitice pe \<grupuri utilizatori"
	ON SELECTION BAR 2 OF Configurar DO BAR_2_OF_Configurar_FB2P

	DEFINE BAR 3 OF Configurar PROMPT "Configurare analitice conturi TVA"
	ON SELECTION BAR 3 OF Configurar DO BAR_3_OF_Configurar_FB2P
ACTIVATE POPUP Shortcut

*</MenuCode>

*<Procedures>
PROCEDURE BAR_1_OF_Gestiuni_FB2P
	DO viz_config_grupe_gestiuni WITH 1 IN oproceduri_configurare.prg
ENDPROC && BAR_1_OF_Gestiuni_FB2P

PROCEDURE BAR_2_OF_Gestiuni_FB2P
	DO viz_config_grupe_gestiuni WITH 2 IN oproceduri_configurare.prg
ENDPROC && BAR_2_OF_Gestiuni_FB2P

PROCEDURE BAR_3_OF_Gestiuni_FB2P
	DO viz_config_grupe_gestiuni WITH 3 IN oproceduri_configurare.prg
ENDPROC && BAR_3_OF_Gestiuni_FB2P

PROCEDURE BAR_4_OF_Gestiuni_FB2P
	
	DO viz_config_tipuri_gestiuni IN oproceduri_configurare.prg
ENDPROC && BAR_4_OF_Gestiuni_FB2P

PROCEDURE BAR_3_OF_Shortcut_FB2P
	DO viz_catalog_articole IN oproceduri_articole.prg
	
	
ENDPROC && BAR_3_OF_Shortcut_FB2P

PROCEDURE BAR_4_OF_Shortcut_FB2P
	
	DO viz_grupe_subgr_articole IN oproceduri_articole
ENDPROC && BAR_4_OF_Shortcut_FB2P

PROCEDURE BAR_1_OF_Generatoar_FB2P
	DO config_codmat  IN oproceduri_articole.prg
ENDPROC && BAR_1_OF_Generatoar_FB2P

PROCEDURE BAR_2_OF_Generatoar_FB2P
	DO config_codbare  IN oproceduri_articole.prg
ENDPROC && BAR_2_OF_Generatoar_FB2P

PROCEDURE BAR_7_OF_Shortcut_FB2P
	DO vizualizeaza_curs IN oproceduri_curs.prg WITH Ttod(get_ora())
ENDPROC && BAR_7_OF_Shortcut_FB2P

PROCEDURE BAR_8_OF_Shortcut_FB2P
	DO viz_config_serii_complet IN oserii_numere.prg
ENDPROC && BAR_8_OF_Shortcut_FB2P

PROCEDURE BAR_1_OF_Configurar_FB2P
	DO configurare_analitice IN omeniu_initializari.prg
ENDPROC && BAR_1_OF_Configurar_FB2P

PROCEDURE BAR_2_OF_Configurar_FB2P
	DO configurare_analitice_gruputil IN omeniu_initializari.prg
ENDPROC && BAR_2_OF_Configurar_FB2P

PROCEDURE BAR_3_OF_Configurar_FB2P
	DO configurare_analitice_tva IN omeniu_initializari.prg
ENDPROC && BAR_3_OF_Configurar_FB2P

*</Procedures>
