Skip to main content

Posts

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

Crystal Report 2010 - Failed to load database information

"Failed to load database information" error when i try deploy my program with CR 2010 using TTX file as report definition this is because there is missing .dll, call "CRDB_FIELDDEF.DLL"..u need to manually copy the file to "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86" folder then the report is loading again it said that TTX is old tech but i'm still using it because i don't need to connect the report to any DB, but until i found new one to replace :D check this link to read it [EDIT 25 Jan 2011] i think i'll using ADO.NET Dataset next time :D until then

Deploying VS 2010 and Crystal Reports for VS 2010

for win App: download SAP Crystal Reports runtime engine for .NET Framework 4 (32-bit) SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit) from here extract the package, u'll ended up with this 2 files CRRuntime_64bit_13_0.msi CRRuntime_32bit_13_0.msi copy both to: C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\Crystal Reports for .NET Framework 4.0\ in Setup Project Prerequisites, u must check SAP Crystal Reports Runtime Engine for .NET Framework 4.0 then build the Setup :D hope this help, see u

ClickOnce: "Value cannot be null.\r\nParameter name: activationContext"

heloo.. if u get "Value cannot be null.\r\nParameter name: activationContext" error when try to deploy clickone.. make sure Enable ClickOnce Security Setting leave uncheck.. see the image until then