infor.com
concierge
infor u
developer portal
Home
Groups
Pegasus - Partner Community
Expression in an Invoice Layout
unknown
I'm trying to create an invoice layout that shows the discount field if a certain code is present (Sales, Options and the two letters for the alternative layout in the Document Design box)
I've added sprfls.sc_doc to test it shows on the design but when the design is saved then printed the details of that field don't show.
I've checked that the data is there to be printed and 'verify' on the expression is fine.
Any ideas - thanks
Find more posts tagged with
Pegasus - Partner General Discussions
Comments
alan-bourke
Opening SPRFLS isn't enough, you need to locate the right record for the sales account. Which would probably be something like:
Iif(Seek(SNAME.sn_cprfl + Iif(Empty(SNAME.sn_cprfl), SNAME.sn_account, Space(8)), "SPRFLS", "CODE"),iif(!empty(sprfls.sc_doc),.t.,.f.),.f.)
alan-bourke
And use that expression in the 'Print When'
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Popular Tags
Infor Lawson Human Resources Group - Discussion
Infor Lawson Technology Group - Discussion
General Discussions
VISUAL - Enterprise General Discussions
Infor Lawson Supply Chain Management - Discussion
Process Automation (IPA) - General Discussions
Pegasus - Partner General Discussions
Infor Lawson Supply Chain Group - Discussion
Infor Lawson Financials Group - Discussion
Infor EPM Discussions