import { PXView, PXFieldState, gridConfig, treeConfig, fieldConfig, controlConfig, actionConfig, headerDescription, ICurrencyInfo, disabled, PXFieldOptions, linkCommand, columnConfig, GridColumnShowHideMode, GridColumnType, PXActionState, TextAlign, GridPreset, GridFilterBarVisibility, GridFastFilterVisibility } from "client-controls";


// Views

export class SSMappingSetupFilter extends PXView  {

	MappingAcumaticaExportEntity : PXFieldState<PXFieldOptions.CommitChanges>;
}

@gridConfig({
	syncPosition: true,
	allowInsert: false,
	showFastFilter: GridFastFilterVisibility.False,
	mergeToolbarWith: "ScreenToolbar",
	preset: GridPreset.Inquiry
})
export class SSMapping extends PXView  {

	@columnConfig({textAlign: TextAlign.Right})	LineNbr : PXFieldState;
	@columnConfig({width: 140})	EntityType : PXFieldState;
	@columnConfig({width: 220})	SFieldCD : PXFieldState;
	@columnConfig({width: 140})	MappingRule : PXFieldState<PXFieldOptions.CommitChanges>;
	@columnConfig({width: 180})	AViewName : PXFieldState<PXFieldOptions.CommitChanges>;
	@columnConfig({width: 220})	AFieldCD : PXFieldState<PXFieldOptions.CommitChanges>;
	@columnConfig({width: 100, textAlign: TextAlign.Center }) SSShipStationMappingField__Required: PXFieldState;

  	@columnConfig({ width: 160, textAlign: TextAlign.Right }) SSShipStationMappingField__MaxAllowed: PXFieldState;

  	@columnConfig({ width: 120, textAlign: TextAlign.Center }) SSShipStationMappingField__IsContainer: PXFieldState;
}