Codeunit 5342 CRM Synch. Helper

Base Application, Microsoft.Integration.Dataverse

74 procedures

ProcedureVersions
ClearCache()17-29
GetDefaultNAVPriceListName(): Text[50]gone after 17
Pending, tag 15.2, obsolete since 17: Use GetDefaultPriceListName instead
GetDefaultPriceListName(): Text[100]17-29
CreateCRMPricelevelInCurrency(var CRMPricelevel: Record "CRM Pricelevel"; CurrencyCode: Code[10]; NewExchangeRate: Decimal)17-29
CreateCRMProductpriceIfAbsent(CRMInvoicedetail: Record "CRM Invoicedetail")17-29
FindCRMDefaultPriceList(var CRMPricelevel: Record "CRM Pricelevel")17-29
FindCRMPriceListByCurrencyCode(var CRMPricelevel: Record "CRM Pricelevel"; CurrencyCode: Code[10]): Boolean17-29
FindCRMProductPriceFromCRMInvoicedetail(CRMInvoicedetail: Record "CRM Invoicedetail"): Boolean17-29
FindNAVLocalCurrencyInCRM(var CRMTransactioncurrency: Record "CRM Transactioncurrency"): Guid17-29
GetBaseCurrencyPrecision(): Decimal17-29
GetCRMCurrencyDefaultPrecision(): Integer17-29
GetCRMLCYToFCYExchangeRate(ToCurrencyISOCode: Text[10]): Decimal17-29
GetFCYtoFCYExchangeRate(FromFCY: Code[10]; ToFCY: Code[10]): Decimal17-29
GetUnitGroupName(UnitOfMeasureCode: Text): Text[200]17-29
GetUnitOfMeasureName(UnitOfMeasureRecordRef: RecordRef): Text[100]17-29
SetCRMDecimalsSupportedValue(var CRMProduct: Record "CRM Product")17-29
SetCRMDefaultPriceListOnProduct(var CRMProduct: Record "CRM Product"): Boolean17-29
SetCRMProductStateToActive(var CRMProduct: Record "CRM Product")17-29
SetCRMProductStateToRetired(var CRMProduct: Record "CRM Product")17-29
SetContactParentCompany(AccountID: Guid; DestinationContactRecordRef: RecordRef): Boolean17-29
SynchRecordIfMappingExists(TableNo: Integer; IntegrationTableNo: Integer; PrimaryKey: Variant): Boolean17-29
SynchRecordIfMappingExists(TableNo: Integer; IntegrationTableNo: Integer; PrimaryKey: Variant; var OutOfMapFilter: Boolean): Boolean17-29
SynchRecordIfMappingExists(TableNo: Integer; PrimaryKey: Variant; var OutOfMapFilter: Boolean): Booleangone after 20
Pending, tag 18.0, obsolete since 17: Use another implementation of SynchRecordIfMappingExists
UpdateCRMCurrencyIdIfChanged(CurrencyCode: Text; var DestinationCurrencyIDFieldRef: FieldRef): Boolean17-29
UpdateCRMInvoiceStatus(var CRMInvoice: Record "CRM Invoice"; SalesInvoiceHeader: Record "Sales Invoice Header")17-29
UpdateCRMInvoiceStatusFromEntry(var CRMInvoice: Record "CRM Invoice"; CustLedgerEntry: Record "Cust. Ledger Entry"): Integer17-29
UpdateCRMPriceListItem(var CRMProduct: Record "CRM Product"): Boolean17-29
UpdateCRMProductPriceIfNegative(var CRMProduct: Record "CRM Product"): Boolean17-29
UpdateCRMProductQuantityOnHandIfNegative(var CRMProduct: Record "CRM Product"): Boolean17-29
UpdateCRMProductTypeCodeIfChanged(var CRMProduct: Record "CRM Product"; NewProductTypeCode: Integer): Boolean17-29
UpdateCRMProductStateCodeIfChanged(var CRMProduct: Record "CRM Product"; NewBlocked: Boolean): Boolean17-29
UpdateItemBlockedIfChanged(var Item: Record Item; NewBlocked: Boolean): Boolean17-29
UpdateResourceBlockedIfChanged(var Resource: Record Resource; NewBlocked: Boolean): Boolean17-29
UpdateCRMProductUoMFieldsIfChanged(var CRMProduct: Record "CRM Product"; UnitOfMeasureCode: Code[10]): Boolean17-29
UpdateCRMProductVendorNameIfChanged(var CRMProduct: Record "CRM Product"): Boolean17-29
UpdateOwnerIfChanged(SourceRecordRef: RecordRef; DestinationRecordRef: RecordRef; SourceSalespersonCodeFieldNo: Integer; DestinationOwnerFieldNo: Integer; DestinationOwnerTypeFieldNo: Integer; DestinationOwnerTypeValue: Option): Boolean17-29
UpdateContactOnModifyCustomer(RecRef: RecordRef)17-29
UpdateContactOnModifyVendor(RecRef: RecordRef)17-29
FindContactRelatedCustomer(SourceRecordRef: RecordRef; var ContactBusinessRelation: Record "Contact Business Relation"): Boolean17-29
FindContactRelatedVendor(SourceRecordRef: RecordRef; var ContactBusinessRelation: Record "Contact Business Relation"): Boolean17-29
UpdateSalesPersonCodeIfChanged(SourceRecordRef: RecordRef; var DestinationRecordRef: RecordRef; SourceOwnerIDFieldNo: Integer; SourceOwnerTypeFieldNo: Integer; AllowedOwnerTypeValue: Option; DestinationSalesPersonCodeFieldNo: Integer): Boolean17-29
UpdateFieldRefValueIfChanged(var DestinationFieldRef: FieldRef; NewFieldValue: Text): Boolean17-29
GetValidCRMUnitOfMeasureRecords(var CRMUom: Record "CRM Uom"; var CRMUomschedule: Record "CRM Uomschedule"; UnitOfMeasureCode: Code[10])17-29
GetNavCurrencyCode(TransactionCurrencyId: Guid): Code[10]17-29
GetCRMTransactioncurrency(CurrencyCode: Text): Guid17-29
SetSalesInvoiceHeaderCoupledToCRM(SalesInvoiceHeader: Record "Sales Invoice Header")gone after 21
Pending, tag 19.0, obsolete since 19: Modify the code to get CRMIntegrationRecord out of SalesInvoiceHeader.RecordId, then call CRMIntegrationManagement.SetCoupledFlag
ShowPage(RecordID: RecordId)17-29
FindNewValueForSpecialMapping(SourceFieldRef: FieldRef; var NewValue: Variant): Boolean17-29
FindPKByRecordID(RecID: RecordId; var PrimaryKey: Variant): Boolean17-29
FindRecordIDByPK(TableID: Integer; PrimaryKey: Variant; var RecID: RecordId): Boolean17-29
FindSourceIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping"; SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef): Boolean17-29
IsClearValueOnFailedSync(SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef): Boolean17-29
AreFieldsRelatedToMappedTables(SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef; var IntegrationTableMapping: Record "Integration Table Mapping"): Boolean17-29
ConvertTableToOption(SourceFieldRef: FieldRef; var OptionValue: Integer): Booleangone after 25
Pending, tag 20.0, obsolete since 20: Use another implementation of ConvertTableToOption
ConvertOptionToTable(SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef; var TableValue: Text): Boolean17-29
UpdateCDSOptionMapping(OldRecId: RecordId; NewRecId: RecordId)17-29
internal FindOpportunityRelatedCustomer(SourceRecordRef: RecordRef; var ContactBusinessRelation: Record "Contact Business Relation"): Booleannew in 18
internal IsContactBusinessRelationOptional(): Booleannew in 18
internal IsContactTypeCheckIgnored(): Booleannew in 18
UpdateCRMPriceListItems(var CRMProduct: Record "CRM Product"): Booleannew in 19
UpdateCRMProductUomscheduleId(var CRMProduct: Record "CRM Product"; SourceRecordRef: RecordRef): Booleannew in 19
ConvertBaseUnitOfMeasureToUomId(SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef; var NewValue: Variant)new in 19
ConvertUomIdToBaseUnitOfMeasure(SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef; var NewValue: Variant)new in 19
ConvertTableToOption(SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef; var OptionValue: Integer): Booleannew in 20
CreateCRMProductpricelevelForProductAndUom(CRMProduct: Record "CRM Product"; NewPriceLevelId: Guid; CRMUom: Record "CRM Uom")new in 21
GetCoupledCDSUserId(SourceRecordRef: RecordRef): Guidnew in 21
PrefixUnitGroupCode(SourceFieldRef: FieldRef; var NewValue: Variant)new in 21
internal FindNewValueForSpecialMapping(SourceFieldRef: FieldRef; DestinationFieldRef: FieldRef; var NewValue: Variant): Booleannew in 21
CreateCRMPriceList(SalesHeader: Record "Sales Header"; var CRMPricelevel: Record "CRM Pricelevel")new in 22
UpdateCRMPriceList(SalesHeader: Record "Sales Header"; CRMPricelevelId: Guid)new in 22
internal CancelCRMInvoice(var CRMInvoice: Record "CRM Invoice"): Integernew in 22
UpdateCRMPriceListItemForUom(var CRMProduct: Record "CRM Product"; CRMUom: Record "CRM Uom"): Booleannew in 22
TransformValue(SourceRecordRef: RecordRef; DestinationRecordRef: RecordRef; TransformationRule: Record "Transformation Rule"; SourceFieldNo: Integer; DestinationFieldNo: Integer)new in 22
internal FulfillSalesOrder(SalesOrderId: Guid)new in 26