Page "Ship-to Address"
ID 300
Namespace: Microsoft.Sales.Customer
Source table: Table Microsoft.Sales.Customer."Ship-to Address"
Displays and edits a customer ship-to address with shipping and contact information.
Properties
| Name | Value |
|---|---|
| Caption | Ship-to Address |
| DataCaptionExpression | Rec.Caption() |
| PageType | Card |
| SourceTable | Table Microsoft.Sales.Customer."Ship-to Address" |
Events
OnAfterOnNewRecord
Raises an event after initializing a new ship-to address record with default values from the customer.
[IntegrationEvent(False,False)]
local procedure OnAfterOnNewRecord(var Customer: Record Customer; var ShipToAddress: Record "Ship-to Address")
Parameters
| Name | Type | Description |
|---|---|---|
| Customer | Table Microsoft.Sales.Customer.Customer |
The customer record used to initialize the new ship-to address. |
| ShipToAddress | Table Microsoft.Sales.Customer."Ship-to Address" |
The new ship-to address record being created. |
OnBeforeOnNewRecord
Raises an event before initializing a new ship-to address record.
[IntegrationEvent(False,False)]
local procedure OnBeforeOnNewRecord(var Customer: Record Customer; var IsHandled: Boolean; var ShipToAddress: Record "Ship-to Address")
Parameters
| Name | Type | Description |
|---|---|---|
| Customer | Table Microsoft.Sales.Customer.Customer |
The customer record to be used for initialization. |
| IsHandled | Boolean |
Set to true to skip the default initialization behavior. |
| ShipToAddress | Table Microsoft.Sales.Customer."Ship-to Address" |
The new ship-to address record being created. |