Instructivo

Almacenamiento de Conocimiento

Herramientas de usuario

Herramientas del sitio


script_inicial_bmc

Script de FARMA BMC

El scrip se corre en la primer instalación de cero en BMC

Ubicacion de script actualizado : C:\Users\alejandro.silva\OneDrive - NAPSE SRL\Documentos - Farmacity\Capacitaciones\001_Configuracion Inicial

Antes de ejecutarlo, hablar con LALY o HORACIO para que indiquen cual es la ultima version.

Ultimo Update 27/10

db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c602906")},{$set: {newValue: "false" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c602907")},{$set: {newValue: "true" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c60282b")},{$set: {newValue: "5" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c60282c")},{$set: {newValue: "1" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c6028f8")},{$set: {newValue: "true" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c60295c")},{$set: {newValue: "false" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c60295f")},{$set: {newValue: "false" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c602963")},{$set: {newValue: "false" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c602964")},{$set: {newValue: "false" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c602965")},{$set: {newValue: "false" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c602974")},{$set: {newValue: "false" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("61143968c730269cc43a6cca")},{$set: {newValue: "true" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c6028fa")},{$set: {newValue: "false" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("62338bfdcf2af4cde908c03d")},{$set: {newValue: "true" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c602922")},{$set: {newValue: "DocNbr" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c60290e")},{$set: {newValue: "true" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ec82cfd365af27f2cb3dab0")},{$set: {newValue: "DEV" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c60280a")},{$set: {newValue: "true" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c60274e")},{$set: {newValue: "true" }});

db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ed8dfa415207b71203cd8f6")},{$set: {newValue: "false" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c602966")},{$set: {newValue: "false" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c602995")},{$set: {newValue: "true" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c602994")},{$set: {newValue: "1" }});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("5ea556545604c8593c602995")},{$set: {newValue: "true" }});
db.ImportTypePriority.updateMany( {dataFileType: 'Group'}, {$set: {replicateOnWizard: 'true'}});
db.ConfigurationValue.updateMany({systemProperty: ObjectId("62436549de22bc7689fb85a8")},{$set: {newValue: "ppp" }});




--23/09 MLB: se agrega configuracion de tipo de transaccion automatica venta
--17/10 AS/GB: Se agrega Configuracion de Denominacion minima de redondeo y habilitar redondeo.
--27/10 GB: cambio de valor para que se repliquen los roles desde BMC a tiendas. Costeo por PPP
script_inicial_bmc.txt · Última modificación: 2022/11/08 17:12 por fas