Skip to content

KVSMEDAddressLib#

Procedures#

SaveNewMasterDataAddress(Record KVSMEDMasterDataAddress, Integer, Code[20], Code[10], Date, Date, Text[100], Text[50], Text[100], Text[50], Text[50], Text[30], Code[20], Code[10]) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Use SaveNewMasterDataAddresses instead. Possible Overflow of ActualCity', '23.4')]
procedure SaveNewMasterDataAddress(var KVSMEDMasterDataAddress: Record "KVSMEDMasterDataAddress"; ForType: Integer; ForCode: Code[20]; ForAddressCode: Code[10]; ForFromDate: Date; ForToDate: Date; ActualName: Text[100]; ActualName2: Text[50]; ActualAddress: Text[100]; ActualAddress2: Text[50]; ActualCity: Text[50]; ActualCounty: Text[30]; ActualPostCode: Code[20]; ActualCountryRegionCode: Code[10]): Boolean

SaveNewMasterDataAddresses(Record KVSMEDMasterDataAddress, Integer, Code[20], Code[10], Date, Date, Text[100], Text[50], Text[100], Text[50], Text[30], Text[30], Code[20], Code[10]) : Boolean#

procedure SaveNewMasterDataAddresses(var KVSMEDMasterDataAddress: Record "KVSMEDMasterDataAddress"; ForType: Integer; ForCode: Code[20]; ForAddressCode: Code[10]; ForFromDate: Date; ForToDate: Date; ActualName: Text[100]; ActualName2: Text[50]; ActualAddress: Text[100]; ActualAddress2: Text[50]; ActualCity: Text[30]; ActualCounty: Text[30]; ActualPostCode: Code[20]; ActualCountryRegionCode: Code[10]): Boolean

GetActualMasterDataAddress(Record KVSMEDMasterDataAddress) : Boolean#

procedure GetActualMasterDataAddress(var KVSMEDMasterDataAddress: Record "KVSMEDMasterDataAddress"): Boolean

UpdateSalesHeaderAddresses(Record Sales Header) : Boolean#

Summary: Update all sales document addresses. If Modifed = true then Adressfields are updated in SalesHeader. Sales Header have to be modifed.

procedure UpdateSalesHeaderAddresses(var SalesHeader: Record "Sales Header"): Boolean

Parameters:

  • SalesHeader:

Returns: Modified

GetSalesHeaderAddresses(Record Sales Header, Record KVSMEDMasterDataAddress) :#

procedure GetSalesHeaderAddresses(var SalesHeader: Record "Sales Header"; var KVSMEDMasterDataAddress: Record "KVSMEDMasterDataAddress"):