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
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156