Quantcast
Channel: Baanboard.com
Viewing all 4216 articles
Browse latest View live

Message code not empty for afs call

$
0
0
When I make this call:

rc = stpapi.insert("tdilc4113s000",1,msg)

I get this returned

msg = "L"

what does L mean?

The record does get created correctly

handle message through AFS

$
0
0
I have a message that requires the user press to the OK button when the tdilc4113s000 session is run manually.

when executed using AFS the message causes the insert to return 0 which is false and means it failed.

How to I use something similar to ask.enum to provide the OK answer to the message?

the message code is tdilc40062, I tried to use ask.enum to suppress it but that does not work.


stpapi.handle.subproc("tisfc0202m000","tdilc4113s000",msg)
stpapi.continue.process("tisfc0202m000",msg)
stpapi.put.field("tdilc4113s000","tdilc402.item",item)
stpapi.put.field("tdilc4113s000","tdilc402.clot",lot)
stpapi.put.field("tdilc4113s000","tdilc402.date",str$(shit.date))
stpapi.put.field("tdilc4113s000","tdilc402.qstr",str$(quantity))
rc = stpapi.enum.answer("tdilc4113s000","tdilc40062",tcyesno.yes)
rc = stpapi.insert("tdilc4113s000",1,msg)


error.code = stpapi.get.mess.code("tdilc4113s000",msg)

Text Declaration

$
0
0
How to declare text data type variable in erp ln.

Avoid Duplicates INFOR 10.4 (GROUP BY NOT WORKING)

$
0
0
Hi,

I hope that you can help me on the following. I'm working with INFOR 10.4 and I'm customizing a report (Inventory Transactions by Order) and adding a table (whltc100 - Items Lot) in order to read other information: Lot from Supplier & Certificate Code.

On the Report I added a script:

Code:

|******************************************************************************
|* whinr140001200
|* Inventory Transactions by Order
|******************************************************************************

|****************************** declaration section ***************************

declaration:

        table        t whltc100

before.program:
        import("whltc100.clot",whinr100.clot)
        import("whltc100.item",whinr100.item)

detail.1:
before.layout:

        select        DISTINCT whltc100.cert,
                whltc100.ltbp
        from        whltc100
        where        whltc100.clot = {:whinr100.clot}
        and        whltc100.item = {:whinr100.item}
|        GROUP BY whltc100.cert, whltc100.ltbp
|        as set with 1 rows
        selectdo
                on.change.check(whinr100.clot) | this is a function I read on this FORUM
        endselect

The problem is that when I run the report I get the first 3 rows duplicated (as shown in the picture). I tried almost everything I know: DISTINCT, GROUP BY, after the selectdo I gave a value to the variables, but nothing seems to work. It keeps showing me the first 3 rows duplicated.

How I could avoid this. I'm new in BAAN/INFOR programming so any advice is really much appreciated.

Thank you very much!!!

Calculate provision for doubtful accounts and obsolete inventory provision in ERP LN

$
0
0
How to calculate provision for doubtful accounts and obsolete inventory provision in Infor LN?

over flow %A96 financial statement

$
0
0
Hi All,

I'm preparing balance sheet using tffst1500m000.
However, when execute the report, system gave me error message for over flow. I have attached the screen shot.

Need your advise to rectify this error.

Thank you

Attached Images
File Type: png fin statement.png (204.0 KB)

ERPLN Tools consultant

$
0
0
A new job entry has been added:

ERPLN Tools consultant

Quote:

nicheBees Technosolutions is looking for result oreiented, solution focussed INFOR ERPLN Consultants (Finance, Logisitics and Tools) to join our young and growing team.
 ERPLN Tools consultant requirement– Off-site technical development resources to augment any project, large or small. Integration Services – ION based service offerings that provide clients with integrationSupport – A full application management offering for Infor and other Applications including Patches, Business Application Support, Minor Application and Tools Upgrades, Help Desk Support and System Monitoring all delivered to pre-defined service level agreements
The selected candidate will have responsibilities in executing the above projects successfully.
Job Responsibilities: Project Execution, Support Knowledge,
Project Execution: Business process study of the client Do As is Process, Suggest to be Process for the client Get user acceptance Implement solution Sign off, develop customizations, build integrations with webservices and ION. Develop cut-off strategy and execute.
Support Process: Support the product by resolving day to day issues on the system Design customization from offshore Provide training    

Prevent Multi-Occurence Form Data Default from Previous Record

$
0
0
When entering data to a multi-occurence form, the displayed data - prior to data input - always displays the previous record's data. This seems to be standard Baan functionality - as an example for a type 2 form, see standard session tcmcs0118m000 (Item Signals), which behaves this way.

Having tried many UI script options (before.field, before.display, before.input, before.display.object etc.), plus having considered DAL object and property hooks ('set.object.defaults' and 'fieldname.set.defaults' are only executed for DAL.new or DAL.update, so cannot be used in this case), it seems that the standard program always reverts to this default last, after having executed everything else, prior to data entry.

Does anyone know how to initialise all data input fields as null, prior to entry of a new record in this case? (At table level, specific defaults can be set, but not blank defaults.)

Finalization run error

$
0
0
While running finalization run, an error occurs "Interim accounts for fiscal period changed not correctly define"

Can any one help in solving this?

Bw failed to connect to "baanserver" bshell

$
0
0
Hi All,
I am getting login failed error when i am connecting through BECS. Installation user its working fine but for remaining users and newly created users also i am getting the same error.Can you please any how to resolve this issue.its urgent please.

Note : find the attached documents for your reference

Regards,
Naga.

Attached Images
File Type: png error.PNG (7.9 KB)
File Type: png bw config.PNG (6.4 KB)
File Type: png bshell env.PNG (4.8 KB)

Exchange: Non-regular Import Window

$
0
0
Hi Members

The other day I was uploading a big table using exchange scheme. I noticed that the control (Focus) of the system keeps on moving to the 'Non-regular Import' window. it won't let me work on any other session.

Can anyone suggest any bshell command or any other way to make this window work in silent mode. I mean in minimised mode or something like that. The idea is to let user work while this window keep working in background.

how to pass a value from the calling session from attr.zoomsession

$
0
0
Hi Friends,

I have written a script in which I call a standard session for which I do not have source code. I am using attr.zoomsession in the "before.zoom". I need to pass a value from the parent session to the child session. If someone can help me with syntax it would be great.

I have used the below syntax to zoom.

attr.zoomcode = z.session
attr.zoomsession$ = "tipcf1501m000"
attr.zoomreturn = "tipcf100.cpft"

Thanks
Babu Nagarajan

Spliting address string dynamically

$
0
0
I would like to write a function to seperate random address strings into:
1. street name (A)
2. street number (B)
3. street number prefix/suffix (C)

I'll write down some examples of addresses and what the output should be:

Address 1: "Kastanievej 15"
A -> "Kastanievej"
B -> "15"
C -> ""

Address 2: "Albertinkatu 36 B"
A -> "Albertinkatu"
B -> "36"
C -> "B"

Address 3: "Albertinkatu st. 36/B"
A -> "Albertinkatu"
B -> "36"
C -> "B"

Address 4: "Albertinkatu street A/36"
A -> "Albertinkatu"
B -> "36"
C -> "A"

It gets trickier in England or USA for example, where the notation is "number, street name".

Address 5: "12 Harbour Parade"
A -> "Harbour Parade"
B -> "12"
C -> ""

Also, you can have number in a street name...:
Address 6: "330 W 20th St"
A -> "W 20th St"
B -> "330"
C -> ""

...Or in EU:
Address 6: "Ulica 28. maja 16"
A -> "Ulica 28. maja "
B -> "16"
C -> ""

The code will be something like this:
Code:

function split.address(string address, ref street, ref number, ref pre.suff)
{
....

}

My main goal for the moment is to split address strings for EU where
address notation usually is: "street name" "prefix" "housenumber" "sufux"
Any ideas how to approach this in baan C?

AFS question

$
0
0
I am trying to copy one item to another item using the AFS for tcibd0205m000. When I step through tcibdf0205m000.Copy(errmsg), a pop screen shows up with some error message like if the BP is inactive in tdipu010, it's not copying that. I want to store the message in a variable, sometime there are multiple lines shows up in the message window. How do I do that? I have commented the End() so that the message window stays and I can see error messages if any for other items.

Here is my script.
tcibdf0205m000.put.Item.original.item(item)
tcibdf0205m000.put.Item.new.item(new.item)
tcibdf0205m000.put.Description.new.item.desc(ndsc)
tcibdf0205m000.put.Alternative_Items(yn.no)
tcibdf0205m000.put.Item_text(yn.yes)
tcibdf0205m000.put.E_Item_Relations(yn.no)
tcibdf0205m000.put.Routing(yn.yes)
tcibdf0205m000.put.Business_Partners_by_Item(yn.yes)
tcibdf0205m000.put.Bill_of_Material(yn.yes)
tcibdf0205m000.put.Supplying_Relationships(yn.yes)
tcibdf0205m000.put.Cost_and_Valuation_Price(yn.no)
tcibdf0205m000.Copy(errmsg)
| tcibdf0205m000.end(errmsg)

Thanks in advance for any clue.

zipfile.build error codes

$
0
0
Does anybody know exact meaning of return codes in functon zipfile.build / zipfile.create?
I'm getting a value "-10" and zip file is not created. I'm quite sure that files to be zipped exist, there is enough space etc.

Quote:

res = zipfile.create( "c:\work\testfile.zip" , "c:\work\testfile.txt" )
| res = -10 !
Of course I have a Windows server, file and directory exist on server.

AFS problem

$
0
0
Hi,
Getting the below error in AFS code. Please help to resolve it.

B:0067488:2016-09-02[14:38:26.574]:::(00020):Flow:3gl call returned: ( "add.set+save" )
B:0067489:2016-09-02[14:38:26.574]:::(00020):Flow: -->> (depth 07): add.api.message.text([<1379> ]=1,[<1380> ]="Command disabled") (in object ottstp_stddll)
B:0067490:2016-09-02[14:38:26.574]:::(00020):Flow: -->> (depth 08): set.api.error.status([<1378> ]=1) (in object ottstp_stddll)
B:0067491:2016-09-02[14:38:26.574]:::(00020):Flow: <<-- (depth 08): set.api.error.status([<1378> ]=1) (in object ottstp_stddll)
B:0067492:2016-09-02[14:38:26.574]:::(00020):Flow: <<-- (depth 07): add.api.message.text([<1379> ]=1,[<1380> ]="Command disabled") (in object ottstp_stddll)
B:0067493:2016-09-02[14:38:26.574]:::(00020):Flow: -->> (depth 07): get.api.error.status.as.string() (in object ottstp_stddll)
B:0067494:2016-09-02[14:38:26.574]:::(00020):Flow: <<-- (depth 07): get.api.error.status.as.string() (in object ottstp_stddll)

Regards,
Thamarai

Required ERP Ln/Baan Finance Consultant in New Jersey(NJ), USA

Master in Computer Applications & APICS certified, having extensive knowledge of ERP

Trouble while importing xml file into Baan

$
0
0
Hello there
I am trying to import an XML file into infor. The encoding being UTF-8. I am having trouble importing just this part specifically.

Code:


<Description>&lt;html&gt;
  &lt;head&gt;
   
  &lt;/head&gt;

  &lt;body bgcolor=&quot;#ffffff&quot;&gt;
    Enterprise
  &lt;/body&gt;

&lt;/html&gt;</Description>

And the code which i use is this..

Code:


        |Parse the XML file
        cmfId = xmlRead(fp, error_string)
        if not isspace(error_string) then
                message(error_string)
        endif

The Error Message is "Cannot carry out Code Conversion".

When i remove the Description part. XML is imported nicely and the tree is created.

Baan 4c vs Infor NL

$
0
0
Hello,

Can anybody tell what are the bigest advantages in Infor LN compare to Baan IV - Shop Floor Controll module ?

Thank You!

Best Regards,
Renee
Viewing all 4216 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>