Error in CIN
When i am putting excise invoice it shows BALANCE IN TRANSACTION CURRENCY
Balance in transaction currency
Message no. F5702
Diagnosis
A balance has occurred in transaction currency 'INR' with the following details:
Exchange rate '00', amount ' 43.02' and currency key 'INR'.
The data in the transaction currency were transferred from the calling application.
System Response
Your data cannot be processed in FI.
Procedure
The error is probably in the calling application.
Regards,
Radhika
Hi Radhika,
It error will come if you have not mapped excise accounts properly.
if you get this error in J1iin(Excise transaction type DLFC) then check the following configuration.
Logistics - General>Tax on Goods Movements>India>Account Determination>Specify Excise Accounts per Excise Transaction
DLFC Credit RG 23 AT1 Account
DLFC Credit RG 23 BED account
DLFC Credit RG 23 ECS Account
DLFC Debit CENVAT suspense account
Take a help of the FI consultant
Regards
Sathiyavel
Similar Messages
-
Error wiht cin at posting migo
Hi all.
i had Configured CIN in my c.code.when i am posting MIGO the following error showen:
GL A/C has not been assigned for CLEAR in Customization.
GL A/C has not been assigned for EXCISE A/C in Customization.
Assign GL A/C for the EXCISE A/C in CIN Customizatio under: Accounting -> Assingn GL accounts to EXCISE GROUPS and TRANSACTION TYPE.
But i am not getting where that path .can any one please tell me where should i assign GL a/c.and vendor related gl a/c's
Thanking you.
Maheshhi mahesh
here i am sending the path for if it is slove u r problem please assign points
SPRO-LOGISTICS GENERAL-TAX ON GOODS MOVEMENTS-INDIA-ACCOUNT DETERMINATION
THANKS
subbu -
Small CIN problem...
Hi all,
I am having problems with calling external dll function from a CIN code. Please help.
The CIN input consists of few integers and one integer array. Inside the code a C structre array is created sizeof the integer array. The code then calls a dll function called pAIConfigureList and passes the C structure as function paramter. Whatever the dll function returns gets displayed on the VI. The code is attached.
I compile the code and create the lsb file. I load this in the CIN. But labview stills gives me the error that "CIN: object code not loaded". I do not know why this is happening. Please help.
I am using Visual Studio 6.0 and have attached the entire workspace. I have also attached portlink (zip file).
In order to see the dll you will need to install this program. The library files are in the following directory:
cw32\lib
cw32\include
The CIN is also attached. If you can spare a few minutes, I'll really appreciate your help.
Regards,
Setu.
Attachments:
pAIConfigureList.zip 1138 KB
pAIConfigureList.vi 117 KB
portlink.zip 886 KBHi Setu,
I have managed to get the lsb file loaded.
I had to delete all the labview files from the project and re added them. ( My labview is in a folder called LabVIEW not LabVIEW 6). Doing this I managed to create the lsb file.
To get the lsb loaded into the CIN, I had to pop the PPCI_w32.dll into c:\winnt\system32\. Once I had done this the lsb loaded fine.
Hope this helps
Ray Farmer
Regards
Ray Farmer -
Hi, Sirs,
Anybody ever used CIN(code interface node) with Visual/Borland C++ in
LabVIEW 5.1? As a newguy in LabVIEW, I have been struggling for a week to
build a very simple C code to *.lsb file, a kind of CIN that LabVIEV
recognizes. What C++ responded me was:
error C2146: syntax error : missing ';' before identifier 'MgErr'
error C2501: 'CIN' : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found
Error executing cl.exe.
I will appreciate if you'd like to offer your kind advice. Thanks.
GCHello,
I never tried CINs under LV 5.1, 5.0.1f1 ist the latest revison I used.
I repeat here a posting sent to [email protected] quite a while ago.
It descibes
the steps you have to take when using the Microsoft Developer Studio (MDS)
environment
of Visual C++ (Version 6 AFAIK) for CINs:
*****Begin of repeated posting****
- Use the Microsoft Developer studio (MDS)
- In the InfoView section go to: Visual C++ Books->User's
Guides->Visual C++ User's Guide->Working with projects->Using
External Projects->Opening an existing Makefile
- Proceed to the section: "To open an existing makefile without the
extension .MAK"
- Follow the instructions and open the LabVIEW .lvm file for the
project you want to compile (e.g. mult.lvm to compile mult.c in
the /labview/examples/cins/mult directory).
- MDS will create a wrap-around makefile (default name in this example
would be mult1.mak)
- modify the original mult.lvm to read as follows:
IDE = VC
CINTOOLSDIR=C:\LABVIEW\CINTOOLS
name=mult
type=CIN
codeDir = c:\labview\examples\cins\mult
!include <$(CINTOOLSDIR)\ntlvsb.mak>
codeDir must of course point to the dir where your main .c file
resides
also keep in mind to use the DOS compatible versions of long directory
names (or limit your dir's names to 8 chars)
(ntlvsb.mak might be a different name if you don't work in
Win95/WinNT)
- (optional)
in the line after codeDir = ... you can optionally add a line like
objFiles = name1.obj name2.obj ....
to inform MDS about additional .obj files your main file might
depend on
- (optional)
with 'Insert/Files into Project...' (from the main MDS menu) you can
add all files your project might depend on to the file list for
easier access in the MDS environment.
- Choose 'Build' from MDS's Project toolbar (or press F7) to build the
project.
- if it runs successful, you will find mult.lsb in your codeDir and
can load it as a code resource in LabVIEW into the CIN node in the
mult.vi diagram.
***End of posting***
This has been tested with LV 5.0.1, and definitely would compile your simple
example which just multiplies two numbers.
If you do it like described above and it still does not work, it might be
related
to some change in LV 5.1 (which I don't have yet).
Hope this helps
Guoxiang Chen schrieb:
> Hi, Sirs,
>
> Anybody ever used CIN(code interface node) with Visual/Borland C++ in
> LabVIEW 5.1? As a newguy in LabVIEW, I have been struggling for a week to
> build a very simple C code to *.lsb file, a kind of CIN that LabVIEV
> recognizes. What C++ responded me was:
>
> error C2146: syntax error : missing ';' before identifier 'MgErr'
> error C2501: 'CIN' : missing storage-class or type specifiers
> fatal error C1004: unexpected end of file found
> Error executing cl.exe.
>
> I will appreciate if you'd like to offer your kind advice. Thanks.
>
> GC
Dr. Franz Josef Ahlers
Physikalisch-Technische Bundesanstalt
Bundesallee 100
D-38116 Braunschweig
tel +49 531 592 2410
fax +49 531 592 2405
email [email protected] -
Error Reading Header File When Creating a CIN
Hello everyone. I am a college student new to LabView and Im using the
software to create a real time data acquisition system for EMG signal
analysis for a research project. However, Im having difficulty building
a CIN for my C code. I am using Microsoft Visual Studio.NET 2003 and
running LabView 7.1 on Windows XP. I am using the "Using External Code
in LabView" (April 2003 Edition) manual and I am attempting to do the
steps located in section 3-15 under Visual C++ IDE. However, I keep
getting fatal error C1083: Cannot open include file: 'extcode.h': No
such file or dir. I have followed all of the directions in the manual
and even explicitly tried adding extcode.h to my project but I
still get this error. My version of Visual Studio is different then the
one described so I was wondering if there is something different that I
have to do in this process. Any help would be greatly appreciated.
Thanks for your time.
PatIs there a particular reason you're not using a Call Library Function Node to call a DLL instead of using a CIN? Calling DLLs from Call Library Function Node are usually a much more user-friendly process, which I would recommend, unless you need to take advantage of the extra features listed on page 1-4 of Using External Code in LabVIEW.
Jarrod S.
National Instruments -
Hi All,
I am facing following problems in CIN,
1) During creation of Subcontracting challan, system is giving an error message as "Please specify the no of line items for subcontracting challan". I have already maintained the no of EI in subcontracting attributes in SPRO.
2) During Excise invoive saving in J1IIN for STO, system is giving an error message as " Error updating condition table 372"
3) During GR for Import Purchase order in MIGO. system is giving an error message as " Excise Modvat accounts not defined for GRPO transaction and 10 excise group". I have maintained GL accounts for excise transactions against excise groups.
Moreover in MIRO i am getting an additional account in the accounting document RM Indegenous Credit as shown below,
Vendor Account Cr
GR/IR Clearing Dr
RM Indegenous Cr
Cenvat Clearing Dr
The RM account should not come in MIRO stage.
I want to know the wrong config, if any for this.
All the queries, rewards will be awarded for satisfactory and prompt answers.
Thanks & regards,hi,
Please check all the customisation for the cin with subcontracting..
1.Check in Company code settings all indicators set.
2.for Excise group set default challan quantity in GR indicator.
3.Maintain no ranges for 57FC, 57NR.
4.Maintain Subcontracting attributes.--Mvt type ,GR group,GI group.,Output type,,No range...
5.Create Sub contra PO.
6.Transfer posting.
7.Create challan wrt Transfer posting doc no.
8.MIGO wrt Subcon PO, enter in excise tab refer Subcon challan only..
9.MIRO.
Work it out and any quries pls let me know..
Regards,
Smitha -
Insufficient buffer error in LV for running CIN matrix multiplication
We have developed a CIN for LabVIEW application in which we carry out matrix multiplication. We are able to carry out multiplication of 3x3 matrices in the LV environment using the CIN. The LV application gives error for higher order of matrices indicating insufficient buffer. However the c source code (from which the CIN has been compiled) does not give any such error while executing higher order matrix multiplication in the C environment. How do we calculate and define the required Buffer memory in LV environment for such applications. Similar problems may arise in numerous other applications in LV environment. Pl. suggest ways and means to get over this problem.
LabVIEW 6.1 professional development system is our platform on windows-xp.PNVK wrote:
We have developed a CIN for
LabVIEW application in which we carry out matrix multiplication.
We are able to carry out multiplication of 3x3 matrices in the LV
environment using the CIN. The LV application gives error for higher
order of matrices indicating insufficient buffer. However the c
source code (from which the CIN has been compiled) does not give
any such error while executing higher order matrix multiplication in
the C environment. How do we calculate and define the required Buffer
memory in LV environment for such applications. Similar problems may
arise in numerous other applications in LV environment. Pl. suggest
ways and means to get over this problem.
LabVIEW 6.1 professional development system is our platform on windows-xp.
It
seems strange that only a 3*3 matrix would be possible. So the
conclusion is you do something wrong in your CIN. This could be some
difference in the CIN parameters for the CIN node in comparison to what
the CIN actually does or it could be a bug in the CIN itself most
probably in the adaption of your C type algorithme to the LabVIEW
datatype parameters.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Using cin node in labview error happen
my name is Juan Chen , I wish to use cin node to calculate crc check code in la view. I use an array as input and a unsigned word as output. when I use while loop, error not enough memory or the memory can only read happen. what is the reason,please.
how to use the call library function node ? in vcplusplus6 environment , if I only do rebuild all that can generate a dll, and don't use command to convert to lsb file. could I need add files cin.obj, labview.lsvb,etl to the project ?
-
Error-CIN-J1IIN - Tax code A0 in procedure TAXINJ is invalid.
hi All,
While posting excise invoice in J1IIN, getting errror "Tax code A0 in procedure TAXINJ is invalid"
Tax code A0 not crated in FTXP at all. Also I have not assigned ths tax code to company code in CIN config.
From where system is picking this A0 tax code for giving this error
How to solve this error.
Regards,
RakeshHi Sudhir & Biju,
Thanx for replying
Tax code A0 / AO not defined in FTXP at all. If so, will system allow me to maintain in VK11 ?
Also in OBZT - table is BLANK, no data maintained there.
Can you give correct path what you have suggesting as I dont find it ?
Reg. Rakesh -
CIN error when compiling in vc++6.0
pls see my attachment! when i compile my programm, it tells me an error ? How can i solve it!!
--------------------Configuration: VI_name - Win32 Debug--------------------
Compiling...
VI_name.c
c:\cvi-project\vi_name.c(19) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.
VI_name.obj - 1 error(s), 0 warning(s)
Attachments:
CIN_error.txt 1 KB
VI_name.zip 720 KBgpibssx;
Reading the ReadMe.txt file generated by VC++, seems that your file is not the main source code.
Rather than allowing VC++ to create files for you, you need to create an empty project. All the information on how to create a CIN is in the document Using External Code in LabVIEW.
Let us know your progress.
Regards;
Enrique
www.vartortech.com -
Putting code into CIN makes errors
Hi,
I am sorry to ask so many questions, but I am having a terrible time with
this. My code compiles perfectly when I compile it by itself. However, as
soon as I paste it into the space in the CIN provided c code, I get 11 errors.
Why is this? I would appreciate any info I can get. Thanks for your time
JMH"JMH" wrote:
>>Hi,>>I am sorry to ask so many questions, but I am having a terrible time
with>this. My code compiles perfectly when I compile it by itself. However,
as>soon as I paste it into the space in the CIN provided c code, I get 11
errors.>Why is this? I would appreciate any info I can get. Thanks for your
time>>JMH
If you can compile your C code into a dll, then I recommend that you use
a Call Library Function (CLF) instead of a CIN. The amount of steps that
you need to follow to make a CIN work can become frustrating. With a CLF,
you need only make a function prototype, and you're done! The main advantage
that a CIN gives is that you have the ability to resize the dataspace a variable
has inside the code. For example, if you pass an a
rray of 100 DBLs out of
LabVIEW (into your C code)and try to pass 150 DBLs back into LabVIEW (from
your C code)then bad things will happen. There exists CIN tools that allow
you to resize the dataspace, so that LabVIEW will allocate a larger buffer
for the return data, and no errors will occur. If you are not resize dataspaces,
then don't worry. If you are, then just include the labview.lib library
in the LabVIEW/cintools/win32 directory.
For more information on calling dlls, look at this article: http://ni.com/support/labview/program/callcode/callmain.htm
Cheers!
Joel Andersen -
Errors compiling C++ programs for cin
Hello,
I am using Microsoft Visual C++ C to compile my .cpp program to build a .lsb. I have the following errors.
LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs; use /NODEFAULTLIB:library
cin.obj : error LNK2001: unresolved external symbol _CINRun
Cany anyone help, please?
BeanieHi Beanie,
What National Instruments software are you using?
Check this out first. If it doesn't help, explain more about what software you are using
Good luck
Van L
NI Applications Engineer -
Exit from CIN within Error Handling Sub-Function
I have a CIN which has the code divided betwee the CINRun() function, a number of other functions & a #included .C file. I want to put some error handling into my CIN, so if an error occurs I want execution to return from the CIN to LabVIEW immediately... however, my error handling is currently done in one of the other functions, and may be called from CINRun,
functions, or the #included .C file. Is there any neat/handy/nice way of universally/globally breaking out of or bombing out of the CIN if the error handling code gets called?Michael.Johnson wrote:
I have a CIN which has the code divided betwee the CINRun() function, a number of other functions & a #included .C file. I want to put some error handling into my CIN, so if an error occurs I want execution to return from the CIN to LabVIEW immediately... however, my error handling is currently done in one of the other functions, and may be called from CINRun,
functions, or the #included .C file. Is there any neat/handy/nice way of universally/globally breaking out of or bombing out of the CIN if the error handling code gets called?
You seem to want to do structured ecxeption handling. This however is something only really supported by C++ and other object oriented languages. Standard C can do that only with quite some header macro magic and in general is done in a way, patented by Borland, if I remember correctly. To make things more complicated, writing CINs in C++ is not supported by LabVIEW and requires quite some knowledge about your specific compiler environment and linker to get it right on your own, and no NI won't support C++ creation of CINs.
You will prabably have to modify your C code quite a bit to get it the way you want. Considering that you will have to make more or less involved changes to your C code anyhow, I would recommend you look into creating a shared library instead and calling that through the Call Library Node. CINs are from the past and support for them will be getting less and less with time as it adds almost no advantages to shared libraries anymore and has some disadvantages in comparison, such as proprietary solution, difficult to support and possible compatibility issues in the future.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Hi All,
I have following problem while MIGO doing purchae order.
Im doing CIN. I have done the basic config. But while MIGO following error is coming. I have checked in OB40. Can u tell me which transaction event key is used for GRN.
No posting rules exist for account key
Message no. FF714
Diagnosis
No posting rules have been defined for the account key in the tax table in table T007B.
Please give me reply.
Thanks in advance,Hi,
As you checked posting indicator is 2( which is for distribute/break account posting) for accounting key in OBCN.Now check in t.code:OB40 for that account key with chart of account and see the Posting key assigned ( for ex: Debit:40 & Credit: 50)
NOTE:
In OB40, you need only assign G/L account(one column) with account key with chart of account. Did you select check of Debit/Credit by clicking "Rules" in application toolbar & enter both column the G/L accounts,which is not needed for assignment.
Regards,
Biju K -
Balance in transaction currency in CIN ERROR
Hi experts,
While i am doing CIN excise invoice (J1IIN), i am getting below error, i am using only indian client.
Messge no. f5702
Diagnosis:
A balance has occured in transection currency 'inr" with the following details:
Exchange rate"00", amount 360,00' and currency key in inr
The data in the application currency were transfered from calling the application
System response:
Your data cannot be processed in fi
Procedure:
The error is probable in the calling the application.
Please help me out!!
Any help you would be highly appreciated!!!
Thanks
Azit kumarThis topic has been discussed here many times and before posting, have you searched in SCN or Googled with the same text. Please go through SCN rules which you can see to your right screen once you logged in to SCN and avoid asking such repeated query.
G. Lakshmipathi
Maybe you are looking for
-
How can I put back the bar that held my go-to site icons?
I am referring to the bar that has the site address, and Google box. In the past, I placed a lot of icons on that bar, that I got from my bank, utility sites for bills, mail, facebook, etc. It was a great convenience. The bar had a plus sign, to add
-
Error in Sql Server Insatllation
unhandled exception has occured in your application . if u click continue the application will ignore and attempt to continue. an error occurred creating the configuration section handler for usersettings/microsoft.sqlserver.configuration.landingpage
-
Need help with setting up a PPTP connection
Hello all, I am having trouble setting up a PPTP connection in Mac OS X "Snow Leopard". The ISP has provided the following info: - Protocol: PPTP - Login - Password - IP Address - Subnet mask - Default Gateway - IP Address of the VPN Server I am usin
-
I installed Personal oracle 8i on windows 98. When I connect with the database in control panel data source , microsoft ODBC for Oracle , it asked for server name. What should I use ? Thanks a lot.
-
Applying a Time Parameter to a dimension
I am trying to create a query that pulls back the data based on a Time parameter , [Time].[Time].[Quarter].&[1Qtr 13], etc., but the dimension that I am querying against is a Date field , example [Consolidated Agent].[Earliest Active Contract Date].