Skip to main content

Posts

Showing posts from February, 2011

Default Series in SAP Business One 8.8

in my company we have below 30 users and they don't have permission to change the default series so a SuperUser is needed to change it each month.. if u same with me then u can use this tool, it set "default" series based on Period Indicator in respective Document and User's Branch hope u can understand what i mean :D for development: i'm using SBO 8.8 DIAPI and .NET Framework 4 Download PS: comments are welcome

Document Numbering in SAP Business One 8.8

well, in my company it is a burden task to create Document Numbering in SBO because in each Document we need to create 4 version for each period month (48 series for each) well i decided to create this tools to help me creating one..i hope it will help others too for development: i'm using SBO 8.8 DIAPI and .NET Framework 4 PS: comments are welcome and sorry my documentation is not good..if anyone intrested to create one..i'll be more than happy :D Download

Get Referenced Assembly in C#

sometime i need to get my referenced assembly so i can determine which property should i use (related to SAP Business One) i used this code to determine which SQL Version should i use Assembly EntryAssembly; EntryAssembly = Assembly.GetEntryAssembly(); foreach (AssemblyName Name in EntryAssembly.GetReferencedAssemblies()) { if (Name.Name.ToString() == "Interop.SAPbobsCOM") { switch (Name.Version.ToString()) { case "8.8.0.0": myCompany.DbServerType = BoDataServerTypes.dst_MSSQL2008; break; default: myCompany.DbServerType = BoDataServerTypes.dst_MSSQL; break; } } } see u