Sets the Account Type and optional Promotion and then loads default values.

Syntax

finAccountCalc.LoadAccountTypePk(accountTypePk, [accountTypePromotionPk], [obsolete_dealerExternalPartyPk], [forceRefresh], [preserveValues])

Parameters

NameTypeOptionalByRefDescription
accountTypePk Integer The Account Type's Primary Key.
accountTypePromotionPk Integer Optional The Account Type Promotion's Primary Key. If omitted, a value of 0 is assumed.
obsolete_dealerExternalPartyPk Integer Optional OBSOLETE: Do not use. If omitted, a value of 0 is assumed.
forceRefresh Boolean Optional Indicates whether to Force a Refresh ie. Refresh details even if the Account Type and Promotion have not changed. If omitted, a value of False is assumed.
preserveValues Boolean Optional Indicates whether Transaction values should be preserved (False=reset to Account Type defaults) If omitted, a value of True is assumed.

Return Value

Boolean
Member of:
finAccountCalc
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0