Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

how import promotions when i have standard in Sales Prices.in Dynamics SL 2011

(0) ShareShare
ReportReport
Posted on by 35

When i import inventory ítem - customer "Price Type = Standard" and after i want to import   inventory ítem - customer "Price Type = Promotions", the system doesnot work.

*This post is locked for comments

  • RE: how import promotions when i have standard in Sales Prices.in Dynamics SL 2011

    Hi VICAVI99,

    I assume you are importing into the Sales Price screen. You need to be sure to press the Refresh button in the Control Macro in order to import into this screen.  Here is how the Control Macro should look:

    Add the following code to the transaction import control macro, between the end of level 0 and the beginning of level 1.

    serr = SetObjectValue( "cmdRefresh", "PRESS" )

    For example:

    ' cReplaceExistingPricePlans is an Check Box

    ' Values are 1 for ON and 0 for OFF

    ' Values are CHECKED for ON and UNCHECKED for OFF

     serr = SetObjectValue( "cReplaceExistingPricePlans", ImportField(11) )

    serr = SetObjectValue( "cmdRefresh", "PRESS" )

    case 1 ' 1 of 2

     'Level 1 if of Type D

     ' Field mask is UUUUUUUUUUUUUUU

      serr = SetObjectValue( "cCatalogNbr_0", ImportField(1) )

    If you have already added this change to your Control Macro, please explain in more detail what you are trying to do and what isn't working.

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

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans