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

print purchase receipt not printing

$
0
0
hi,

need some help on how to call group report 2 in afs. pls find below scripts:

string error.msg(100)
|*AFS script...
stpapi.put.field("tfacp1430m000","suno.f","")
stpapi.put.field("tfacp1430m000","suno.t","ZZZZZZZZZ")
stpapi.put.field("tfacp1430m000","fico.f","700")
stpapi.put.field("tfacp1430m000","fico.t","720")
stpapi.put.field("tfacp1430m000","comp.f","700")
stpapi.put.field("tfacp1430m000","comp.t","700")
stpapi.put.field("tfacp1430m000","otyp.f",str$(etol(tfacp.otyp.purchase)))
stpapi.put.field("tfacp1430m000","otyp.t",str$(etol(tfacp.otyp.purchase)))
stpapi.put.field("tfacp1430m000","orno.f",imp.orno1)
stpapi.put.field("tfacp1430m000","orno.t",imp.orno2)
stpapi.put.field("tfacp1430m000","cofc.f","")
stpapi.put.field("tfacp1430m000","cofc.t","ZZZZZZ")
stpapi.put.field("tfacp1430m000","date.f","0")
stpapi.put.field("tfacp1430m000","date.t",str$(utc.num()))
stpapi.put.field("tfacp1430m000","home.ccur","PHP")
stpapi.enum.answer("tfacp1430m000","print.invoices",tcyesno.no)
stpapi.enum.answer("tfacp1430m000","print.zero",tcyesno.no)
stpapi.enum.answer("tfacp1430m000","print.to.match",tcyesno.yes)
stpapi.set.report("tfacp1430m000","rtfacp143011000","N",error.msg)
stpapi.set.report("tfacp1430m000","rtfacp143012000","N",error.msg)
stpapi.set.report("tfacp1430m000","rtfacp143022000","N",error.msg)
stpapi.set.report("tfacp1430m000","rtfacp143041000","N",error.msg)
stpapi.set.report("tfacp1430m000","rtfacp143021000","N",error.msg)
stpapi.print.report("tfacp1430m000", error.msg)
stpapi.end.session("tfacp1430m000")

regards,
jojo

Insert fields DAL

$
0
0
Hi,

I created a script session and I wanted to know if there is a way to create a DAL from a script session.
My goal is to insert the table fields through the DAL.
This is my DAL script that I created:
Code:

|******************************************************************************
|* tdsls900  0  VRC B61U 10 stnd
|* DAL tabella tdsls900
|* baan
|* 17.05.17 [04:53]
|******************************************************************************
|* Script Type: DAL
|******************************************************************************
                                                                               
#include <bic_dal>
#include <bic_dam>

table ttdsls900


function main()
{       

select *
from tdsls900 for update
selectdo
       
        db.set.to.default(ttdsls900)
        db.retry.point()
        dal.new.object("ttdsls900")
        dal.set.field(tdsls900.bpid)
        dal.set.field(tdsls900.nama)
        dal.set.field(tdsls900.item)
        dal.set.field(tdsls900.cuni)
        ||dal.set.field(tdsls900.qoor)
       
        dal.save.object("ttdsls900")
endselect
       
}

||This were in my script yet
||function extern long before.open.object.set()
||{

||        return(0)
||}

||function extern long before.save.object(long type)
||{
||        return(0)
||}

but I don't know if It's correct and then I wanted to know if there is a way to check if I'm running the DAL.
Regards,
RavCoder

Technical consultan on LN custmizations, BOD Development, ION Workflows and Extension

Year End

$
0
0
We are closing our year end for 2018.
We have got so far as running tfgld6202m000 - Automatic balancing of P&L accounts and have finalised the batch
However, it appears we forgot to post a y/end journal before running the above

Can we simply add the journal and re-run the auto balancing routine and then the final year end

Thanks

How can we fixed delimited a multibyte string

$
0
0
Hi ,

I know that for a variable of type string we can set value as below to be able to generate a flat file with a fix delimited length of 10 for below example

STRING name(10) FIXED
name = "andrew" | the string now contains the value "andrew ", not "andrew"

I want to do same for multibyte string that contains Russian characters , but I cannot fix the length. Each character can take 1, 2, 3 or 4 bytes.

Any idea how to solve

Thanks
Gaetan

Error in a DAL

$
0
0
Hi,
I created this DAL:
Code:

#include <bic_dal>


table ttdsls900


function main()
{       
        db.retry.point()
select tdsls900.*
from tdsls900 for update
selectdo

        dal.change.object("tdsls900")
    dal.set.field("tdsls900.dates")
    dal.set.field("tdsls900.datef") 
        dal.set.field("tdsls900.bpid")
        dal.set.field("tdsls900.nama")
        dal.set.field("tdsls900.item")
        dal.set.field("tdsls900.cuni")
    dal.set.field("tdsls900.qoor")
        dal.save.object("ttdsls900")
        commit.transaction()
endselect
       
}

function extern long before.open.object.set()
{

        return(0)
}

function extern long before.save.object(long type)
{
        return(0)
}

( I don't know if my code it's correct, but anyway when I compiled , it sent me this error: Fatal error: dal_push: Invalid table name 'ttdsls900'
Fatal error: Can not continue in tdsls5900m000 in DLL: ottstpandll(dal.save.object)[___dal_push]
Can you help me?
Regards,
RavCoder

Baan 4c4 Techno-Functional Person needed with strong expertise on Automotive SCH exte

$
0
0
A new job entry has been added:

Baan 4c4 Techno-Functional Person needed with strong expertise on Automotive SCH extension module of Baan and EDI

Quote:

Please send your resume to above-mentioned email ID. The Resource should be proficient in Automotive SCH extension module of Baan 4c4, with good technical skills. The resource would be needed to support the business application in an automotive manufacturing company. Experience on EDI will be preferred. Please note no remote request will be entertained. It is a full time job.

*** Only US Citizens, Green Card Holder, or Valid H1B Visa Holders need to apply***  

Multiple BSEs on one server

$
0
0
Hello All,

Is it possible to have multiple LN installations on single server?
Has anyone done it? How to achieve this?

Thank you.
B

Problem to run session

$
0
0
Hi,
I have a session to which I have linked a DAL created by me, but when I try to run it nothing happens. I don't understand why.
I inserted the DAL in program script to execute script.
Regards,
RavCoder

page cant save Implemented Software Components

$
0
0
i Define General Company Data (tccom0502m000) session
and open Select the packages and modules that the company uses in the Implemented Software Components (tccom0500m000) session. why page cant save

Finance ERP Consultant

$
0
0
A new job entry has been added:

Finance ERP Consultant

Quote:

Experience : 5 years and above
Education: CA or MBA Finance
Age limit - 30-32 years 
Job Description: One of the largest Retail houses in Sharjah, UAE with multiple operations across GCC is looking for a young dynamic qualified CA or MBA Finance. Well versed with core retail accounting and MIS, Budgetary control, cash flows and fund flows, KPI and dashboard concepts, consolidation etc
The profile should have ideally worked on 2-3 full scale ERP implementations ideally as a key super user of Finance acting as the key resource between Finance, Business and IT to drive the implementation. Also handson exposure in BI tools setting up the financial analytics thats a big plus. Those with experience in Infor LN implementations, Oracle nd SAP financilas would get a preference. 
 

How to get the value from session field

$
0
0
Hi,

i wanted to reference a satellite Session to the mmt-Session via add.sync.field (because the reference ist an cdf_field).

In the program section of my mmt-Session I added the following code. It doesn't work because the formfield"txsct001.sern" seems to be empty . But it is displayed in the session!! What is my fault??


extern domain tsacm.cact str.cact

after.form.read:

add.sync.fields("tsacm1101m000","str.cact", "tsacm101.cact")

select tsacm101.cact :str.cact
from tsacm101
where tsacm101.cdf_sern = :txsct001.sern
selectdo

endselect

Any advice will make me happy!

Control Lot by UE

$
0
0
Dear,

I want to apply a functionality for FIFO lot in Outbound Advice where a user is restricted from Selecting Lots . The Lots should appear automatically but expired and near expired lots say 30 days should not get selected.

Any idea...

Infor LN Programming - Online Training

$
0
0
Hi All,
Was wondering if anyone out there knows about any online training available for Infor LN Programming... Need to have training for following :
1. LN Programming
2. Session Development / Modifications
3. Report Development / Modifications
4. Use of Extensibility?
5. Use of API's

that is what comes to mind at this moment

baazigar

Just for fun

$
0
0
Hi,

this weekend I came back to the good old IOCCC (International Obfuscating C Code Contest) which is still active. Then I decided to try if I can get one of those C programs working in Baan 3GL. Here's my solution (which is not as good as the original C Version and it lacks a bit of obfuscation, but I think it's funny anyway). Can you figure out, how it works?

Regards
Günther

Code:

long F,OO
function main(){ FOO() message(sprintf$("%1.3f", 4.0*-F/OO/OO)) }
#define ; F=F-1 if -F>OO then OO=OO-1 endif
#define _  F=F-1 if F>OO then OO=OO-1 endif
#define +
function FOO()
{
            _+_+_+;
      _+_+_+_+_+_+_+_+;
    _+_+_+_+_+_+_+_+_+_+_+;
  _+_+_+_+_+_+_+_+_+_+_+_+_+;
 _+_+_+_+_+_+_+_+_+_+_+_+_+_+;
 _+_+_+_+_+_+_+_+_+_+_+_+_+_+;
_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+;
_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+;
_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+;
_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+;
 _+_+_+_+_+_+_+_+_+_+_+_+_+_+;
 _+_+_+_+_+_+_+_+_+_+_+_+_+_+;
  _+_+_+_+_+_+_+_+_+_+_+_+_+;
    _+_+_+_+_+_+_+_+_+_+_+;
      _+_+_+_+_+_+_+_+;
            _+_+_+;
}


Error in my DAL

$
0
0
Hi,
I'm on debug mode in a DAL that I wrote. But I see that it say that I have a warning and it say "Source file ptdsls900 more recent than object file" and I don't know exactly what it means.

My purpose was to see if deleting values ​​from the table, reusing the DAL inserted me again the values ​​I had deleted.

This is my DAL :
Code:

#include <bic_dal>
#include <bic_dam>


table ttdsls900 
table ttdsls400 
table ttdsls401
table ttccom100

extern domain  tcdate  data.start 
extern domain  tcdate  data.end 
||extern domain  tdsmo  sum
||extern  domain  tcyesno  txta.txt
||extern  domain  tcyesno  txtb.txt






function extern long dal.get.object()
{       
long res

dal.set.message(MSG.ERROR, "@Test")
show.dal.messages()


 select tccom100.nama
 from tccom100
 where tccom100.bpid = :tdsls401.ofbp
        selectdo
 endselect
      db.retry.point()
        select tdsls900.*
        from tdsls900 for update
        where tdsls900._index1 = {  :tdsls401.ofbp , :tdsls401.item}
 selectdo
        dal.change.object("tdsls900")
        dal.set.field("tdsls900.dates",data.start)
        dal.set.field("tdsls900.datef", data.end)
        dal.set.field("tdsls900.bpid" , tdsls400.ofbp)
        dal.set.field("tdsls900.nama" , tccom100.nama)
        dal.set.field("tdsls900.item" , tdsls401.item)
        dal.set.field("tdsls900.cuni", tdsls401.cups)
        dal.set.field("tdsls900.qoor", tdsls401.qoor)
        res = dal.save.object("tdsls900",db.retry)
        res = commit.transaction()

 selectempty

       
        dal.set.field("tdsls900.dates",data.start)
        dal.set.field("tdsls900.datef", data.end)
        dal.set.field("tdsls900.bpid",tdsls400.ofbp)
        dal.set.field("tdsls900.nama", tccom100.nama)
        dal.set.field("tdsls900.item", tdsls401.item)
        dal.set.field("tdsls900.cuni",tdsls401.cups)
        dal.set.field("tdsls900.qoor",tdsls401.qoor)
        res = dal.new.object("tdsls900")
        res = commit.transaction()
endselect
        return (0)
}

function extern long before.open.object.set()
{

        return(0)
}

function extern long before.save.object(long type)
{
        return(0)
}

When I compiled i have this warnings:

ptdsls9000( 48): Warning: Return value of function 'dal.change.object' ignored.
ptdsls9000( 85): Warning: Function 'dal.get.object' in DLL 'ottstpamdll' ignored. Taken from ptdsls9000(30)
Maybe it has something to do with the fact that it doesn't recharge my data again?

Regards,
RavCoder

AFS in 10.7 Cloud(MT)

$
0
0
Hi,

Is there an alterative for using AFS through extensions in 10.7 Loud MT environment apart from the standard process of raising a request to Infor for Public Interface (API)?

Please let me know incase there is an alternative to handle AFS through extensions in 10.7 cloud.

Thanks

How to display item image in a session without main table and access to script?

$
0
0
I have a requirement to display an image in a session that has no main table.
The image is item image from tcibd001 where it can be attached to individual image by session tcibd0501m000 without using ODM.
I can duplicate the session to edit the Dynamic Form but I do not have access to standard program script so bind.image function will not work because it has to be used in after.form.read: (I tried). However, I can write some codes using Extensibility.
What I have tried is to create an image field in to Dynamic Form of the session and assign a field to it. The field is declared in Session Extension.
I tried giving it the value of
- tcibd001.imag
- uuid.format$(tcibd001.imag)
in When Field Changes of Item field but none of them work. The field just does not display any image.
I am using LNUI. The images are PNG. (Yes, I saw the GIF utility but haven't tried since it specifically points out that the image has to be GIF)
Any help is appreciated.

Mapping Scheme Error while Confirming Wh Receipt

$
0
0
Hi All,
we are getting error- while 'Confirming Warehouse Receipt (Infor Ln 10.5), following error message:
PO/Receipt (10001074) IDT not found in Mapping scheme, Activate New mapping scheme.
We have Mapping Scheme which has this IDT mapped for both Debit & Credit and also the Mapping scheme is active.

Kindly advice the possible cause.
Thanks in advance.

Implementation Accelerator in Infor LN 10.7

$
0
0
Hi Team,

Anyone has idea about how to configure or install Infor Implementation accelerator in Infor LN 10.7? Please let me know. Also if anyone has installation guide.

Thanks in advance....
Viewing all 4216 articles
Browse latest View live


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