isCargoNumberValidThenSave

Checks if the entered cargo number is valid and saves the cargo information if valid.

Validates the cargo number using Validators.validateNotEmptyText. Updates the TransportUiState with any validation errors and performs cargo operations (insert or update) based on the dialog state.

Return

true if the cargo number is valid and saved successfully; otherwise, returns false.