Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Parameter of a dexterity procedure

Posted on by 5

Hi

I have a Dexterity customization that is working in version 16 but will not register one of my triggers in V18.

It is the SetPrimaryShiptoAddressCode function on form SOP_Entry.

The parameters I have is as follows:

function returns integer SetPrimaryShiptoAddressCode;


in integer nCallerID;
inout SOP_SOState SOState;
in 'SOP Number' sSOPNumber;
in integer nSOPType;
in 'Enable Multi Bin' fEnableMultiBin;
in long nDefaultAddrLineSeq;
inout integer nLocalCustomerReturn;
inout 'SOP Status' nSOPStatus;
inout 'Primary Shipto Address Code' sPrimaryShiptoAddressCode;
in 'Primary Shipto Address Code' sOldPrimaryShiptoAddressCode;
inout AddressData sopAddressData;
inout AddressData sLocalOldAddressData;
inout 'Address 1' sAddress1;
inout 'Location Code' sLocationCode;
inout 'Customer Number' sCustomerNumber;
inout 'Commission Applied To' nCommissionAppliedTo;
inout 'MC Def Structure' MCDefStruc;
inout 'Commission Amount' cyCommissionAmount;
inout 'Commission Sale Amount' cyCommissionSaleAmount;
inout 'Non-Commissioned Amount' cyNonCommissionedAmount;
inout 'Originating Commission Amount' cyOrigCommissionAmount;
inout 'Originating Commission Sales Amount' cyOrigCommissionSalesAmount;
inout 'Originating Non-Commissioned Amount' cyOrigNonCommissionedAmount;
inout 'Salesperson ID' sSalespersonID;
inout 'Sales Territory' sSalesTerritory;
inout table SY_Shipping_Methods_MSTR;
inout table RM_Customer_MSTR_ADDR;
inout table IV_Location_SETP;
inout table SOP_Prospect_MSTR;
inout table SOP_SETP;
inout table TX_Schedule_MSTR_HDR;
inout table SOP_Commission_WORK_HIST;
inout table RM_Customer_MSTR;

When logging scripts, I can see that there is a new parameter added at the end but cannot tell what it is.

Can someone please provide me with the parameter list for this function?

Thanks in advance.

Theo

Categories:
  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,915 Most Valuable Professional on at
    RE: Parameter of a dexterity procedure

    Hi Theo

    This is the last parameter added

    optional in 'Location Code' sLineLocationCode;

    Usually you can see parameters for procedures and functions in any dictionary using GP Power Tools Resource Information in Procedure and Function mode.

    However, this only works for procedures and functions that are exposed to Visual Studio Tools and so fails when there are optional or composite parameters. 

    I checked for SetPrimaryShiptoAddressCode() of form SOP_Entry and it is not exposed to VSTools.  But this method does work for most of the scripts.

    Hope this helps

    David

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans