Skip to main content

Notifications

Microsoft Dynamics SL (Archived)

Questions about Transaction Import

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
Some fields are in the pop-up screen after press the button when manual input.
How to import the value of them?

For example:
In 04010 Receipt/Invoice Entry
"Level1", "Document"
Field "cinvcnbr"

If I import with the Control Macro export from Control Macro Generator(98.510.00)
this field "cinvcnbr" were showed disable.

If I add the press buttons

serr = SetObjectValue( "cinvcinfo", "PRESS" )
serr = SetObjectValue( "cinvcnbr", ImportField(9) )
serr = SetObjectValue( "Command2", "PRESS" ) 'OK button

When Transaction Import,
the screen show the field had import some value
but after finish, the field is Null, so it doesn't work.

In the other screen 40110 Shipper Entry
"Level8", "Lot" had met the same problem.

In the same screen 04010 Receipt/Invoice Entry
I add this fields in "Level3","Detail"
serr = SetObjectValue( "cmdLotSerial", "PRESS" )
serr = SetObjectValue( "LS_cLotSerNbr", ImportField(7) )
serr = SetObjectValue( "LS_cQty", ImportField(4))
serr = SetObjectValue( "LS_ButtonFinished", "PRESS" )
It press the Lot/Serial button to input lotser number of the line item.
It works.

I don't know why some pop-up screen after import value had a Null Result.

*This post is locked for comments

  • Toni Savage Profile Picture
    Toni Savage 260 on at
    Re: Questions about Transaction Import

    Do you get any errors in either the log or the input stream?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans